I have a page that loads with initially only the form inside the iframe, something like this:
<iframe id="oIframe" ...src='somePage>' <form ... /> </iframe>
When you click the button on the form, some javascript is called that builds the URL, and then I want to do the following:
frame.src = 'somePage?listId=1';
This works in IE to “reload” the frame with the new content. However, this does not work in Safari.
I have jQuery, but I do not want to replace the existing iframe, because there are events associated with it. I also cannot change the iframe id, because it is specified throughout the application.
I have seen some similar problems, but no solutions that seem to work well for my exact problem.
Any help anyone can provide would be great!
Matt
source share