Input inside Jquery UI Dialog not being sent?

后端 未结 5 1362
情深已故
情深已故 2020-12-08 21:44

The input fields in my dialog box aren\'t being posted, and i\'m not sure why...

i\'ve tested it on mac firefox and safari, and windows IE & firefox with the sam

5条回答
  •  忘掉有多难
    2020-12-08 22:00

    I know this is an old question, but for anyone who have the same issue there is a newer and simpler solution: an "appendTo" option has been introduced in jQuery UI 1.10.0

    http://api.jqueryui.com/dialog/#option-appendTo

    $("#dialog").dialog({
        appendTo: "form"
        ....
    });
    

提交回复
热议问题