I have a form
with an iframe
inside, this iframe
contains another form
.
This is the html
skeleton :
<html>
<form>
<iframe src="..." id="form_iframe">
//in this form I have another form with id = test_frame_id and name
</iframe>
<input type="submit" id="submit_button" value="save"/>
</form>
</html>
So how can I submit two forms whan I clik on submit_button
?
I tried in jQuery $("#test_frame_id").submit()
but it's doesn't work