Dynamically added form elements are not POSTED in IE 9

后端 未结 5 1947
南旧
南旧 2021-01-14 19:29

I have a form which is used to make a Test. User enter a question and provides question type and the Answer options and saves the Question. What has gone wrong is that when

5条回答
  •  感动是毒
    2021-01-14 20:06

    When I test your code in IE9, it does include the fields in the POST data.

    Fiddle: http://jsfiddle.net/Guffa/AeBdd/

    I recreated the form and the fields from what the scripts needs. You should check if there is any relevant differences to the form and fields that you have.

    Note that I had to add a property crt_question to the document object, as the form is not automatically added, either with that id or name. Do you render your page in Quirks mode? That might cause some problems.

提交回复
热议问题