blog.cbolson.com
Adding form fields via ajax with Mootools - Chris Bolson – I digress
http://blog.cbolson.com/adding-form-fields-via-ajax-with-mootools
Blog : my thoughts, scripts, events and comments…. Adding form fields via ajax with Mootools. I am currently working on a project where the administrator needs to be able to upload any number of items within one master project. Clearly I didn’t want to present them with a long page of repetative form fields and anyway, there was no way of knowing whether they would need 1, 2 or 20 items. Use some simple mootools ajax magic to fetch the form fields dynamically from an external file. Here is how I did it:.