andymike07 Posted December 21, 2007 Share Posted December 21, 2007 Hi Guys, I'm writing a CMS for my site and I'm having a hard time figuring out how to use AJAX to add fields to the forum if a user clicks an add link. The form has a drop down menu of actors names. The drop down is dynamically created with PHP after querying the database to get the actor's names. (Included from an external file.) That works great, but I'd like to find a way to have a "Add New Model" link on the page that, when clicked, would add a 2nd instance of the drop down to the form. I'm very new to JS. So I'm not sure where to even begin to look to figure out how to set this up. Could anyone help me with this, or point me towards a tutorial on how to accomplish this? (I've attached a an image to help explain what I'm trying to accomplish.) Thanks! [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/82693-ajaxphp-help/ Share on other sites More sharing options...
phpQuestioner Posted December 22, 2007 Share Posted December 22, 2007 try these links: http://bonrouge.com/~chain_select_ajax http://www.google.com/search?hl=en&q=AJAX+Chain+Menus&btnG=Google+Search Link to comment https://forums.phpfreaks.com/topic/82693-ajaxphp-help/#findComment-420949 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.