开发者

Problems in posting value from Jquery UI Dialog

I have submit button in side the jquery u开发者_开发知识库i dialog and the dialog is inside a form. I am posting values to the same or different php page. But what I found that the values are not posted and actually submit button is not working at all. What is the fix? Please help with your opinions.

thanks


Make sure your form items have their name attributes set and that your submit button is an input with type of submit. Also, form elements cannot be nested, so ensure you aren't doing that.


EDIT: Actually, I think this is the answer: Input inside Jquery UI Dialog not being sent?

I know this is old, but just ran into the issue myself.

It seems that form elements that are set to display:none, are not posted to the server side.

I create a text dialog, with an input in it, I set a value for it. I then created an input just outside of my dialog div, and set another value.

When posting the form, I get a null for the first, and the proper value for the second...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜