Jump to content

Ajax/PHP Help


andymike07

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.