Menu icon Foundation
custom form css after ajax

hi,
i have a custom form and i'v got province and city drop down which depend on each other i mean when user chenages the province the city drop down is reloaded but as it is ajax the drop down is not rebuild so the new data is not shown.
i am using foundation 3 and i test these functions but none of them where successfull
$(document).foundation('forms', 'assemble');
$(document).foundationCustomForms();
$('form.custom').appendCustomMarkup();

formcssAJAX

hi,
i have a custom form and i'v got province and city drop down which depend on each other i mean when user chenages the province the city drop down is reloaded but as it is ajax the drop down is not rebuild so the new data is not shown.
i am using foundation 3 and i test these functions but none of them where successfull
$(document).foundation('forms', 'assemble');
$(document).foundationCustomForms();
$('form.custom').appendCustomMarkup();

Rafi Benkual almost 5 years ago

You will likely need to run foundation again:
$(document).foundation();

After your scripts