phpjqueryjqxcombobox

how to add name atrribute to the jqxwidget option box?


I'm currently working on a php application . In my search for drop-down menu with image support in it, I came across a exciting cross-browser library known as JQXWIDGET . It uses java script (jquery) to add html inputs to the form. but when I submit the form , none of the input field are get to be shown in my $_POST array . I looked for the reason and it has some thing to do with the catch that none of the input fields that gotten created with this library has any name attribute with it . My question is , How can I add this name attribute to all the input fields that gets created this way.


Solution

  • Take a look at the example of the JQX website:

    http://www.jqwidgets.com/submit-form-with-jqxlistbox/