Ive recently decided to add some jquery to a project im working on, so far most of what ive learned has worked well. However i am stuck with one thing.
Ive got a html form on the webpage that is opened up into a modal dialog, i cant seem to figure out how to get the jquery submit button to work. The button in the actual form works ok but i want to remove that and use the jquery one alongside a close button (which i have working).
Form submission is tricky. Your <form> statement needs one more attribute, enctype = "multipart/form-data"
When the form statement is outside the dialog, the input tags need another attribute, that in your case would be form="createrepairform" Your form statement is inside the dialog, so I'm unsure whether this form= attribute is required, but you might have to try it if the enctype= attribute is not enough to fix the problem.