Jump to content

Mixed up PHP and JS


Utherr12

Recommended Posts

So I have a small function which creates a few text inputs in javascript with the jQuery's append function. The functions appends those elements inside a form element. The function creates the elements, i type something in them, I submit them to a php script file that gives me errors. Undefined index 'q1' 'q2' 'q3' 'q4' where qx (x: 1-4) are the names of 4 inputs/txt. I pass them using POST.I had this problem in the past with JS created elements and sending POST data.Am I doing something wrong ?I can supply parts of the code @ request.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...