jQuery modal window removes elements from my form

前端 未结 6 1962
隐瞒了意图╮
隐瞒了意图╮ 2021-02-08 14:00

jQuery, when i use it to create a modal window which contains form elemets, it takes out those elements when i submit the form.

example of the form:

<         


        
6条回答
  •  感情败类
    2021-02-08 14:37

    The form needs to be inside the div. That's how it is in all the Dialog examples. Not sure how you're going to do that with the title and url inputs not being on the dialog. Couldn't you put them on it too?

    This wouldn't have the problem:

提交回复
热议问题