If I\'m using jQuery or JavaScript to do a post, how can I make it target an iframe rather than the current page?
jQuery.post(
url,
[data],
[c
Here's what I did to get around the issue of having a form within a form on a asp.net page when I needed to submit data to a remote page via a form ideally using AJAX / jQuery.
I created variables to capture the asp.net form name, target, action, method, etc.
I held that information from the form in those variables and then changed the form itself using jQuery to do what I needed it to do.
Then I posted the form via AJAX (because I needed a form to post to a seperate page dynamically so the other page could GET the info).
Finally, I changed the asp.net form back to the way it was so the rest of the page could work correctly.
This seems to have resolved my need for a similar solution.