1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <script type="text/javascript">
function <portlet:namespace />selectCountryPost() {
document.<portlet:namespace />fm.<portlet:namespace /><%= OrganizationDisplayTerms.REGION_ID %>.options[0] = new Option("", "");
document.<portlet:namespace />fm.<portlet:namespace /><%= OrganizationDisplayTerms.REGION_ID %>.selectedIndex = 0;
}
DynamicSelect.create(
"<%= themeDisplay.getPathMain() %>/portal/json_regions",
document.<portlet:namespace />fm.<portlet:namespace /><%= OrganizationDisplayTerms.COUNTRY_ID %>,
document.<portlet:namespace />fm.<portlet:namespace /><%= OrganizationDisplayTerms.REGION_ID %>,
<portlet:namespace />selectCountryPost,
"nullable=1"
)
</script> |
Partager