javascript Programming Glossary: splitvalues
Clean old options from child dropdown when receiving data by JSON http://stackoverflow.com/questions/9238267/clean-old-options-from-child-dropdown-when-receiving-data-by-json firstcombobox this.value function responseData var splitValues responseData.name.split #combo1 .empty .append option value.. option value 0 Please select... option for var idx in splitValues #combo1 .append option option .html splitValues idx .val splitValues.. idx in splitValues #combo1 .append option option .html splitValues idx .val splitValues idx Hope this helps share improve this..
retrieve more than one value by JSON array objects http://stackoverflow.com/questions/9248383/retrieve-more-than-one-value-by-json-array-objects 'combo1.jsp' count this.value function responseData var splitValues responseData.name.split #combo1 .empty .append option please.. .empty .append option please select option for var idx in splitValues #combo1 .append option option .html splitValues idx .val splitValues.. idx in splitValues #combo1 .append option option .html splitValues idx .val splitValues idx script body first combo box select..
|