Jump to content

probably covered ajax generated forms and javascript response


vagabond

Recommended Posts

hi
ok apologies if this has been covered before but i could not find what i was looking for under my seraches!

i have working ajax and php i can use java script to create a form that is dependent upon the selected option
the problem is that the form created seems not to be referenceable by javascript.

i'm still fairly new to this and all was going well but if i create a form i cant reference the form elements created.
the javascript calls a php page which creates parts of a form and these are then placed on the page using http responce.
this all works and i get a form that changes accordingly i just cant reference the form elements generated this way !
the start and close tags of the form are already in the document code so any parts on the origional page can be refenced, its the new form inputs that i cant reference.

any help appreciated.



Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.