Initially, my page loads with just a form inside an iframe. Here's an example:
<iframe id="oIframe" ...src='somePage>'
<form ... />
</iframe>
Upon clicking a button in the form, certain javascript code is executed to create a URL and I want to achieve the following:
frame.src = 'somePage?listId=1';
This approach successfully "reloads" the frame with the updated content in IE, but it fails to work in Safari.
Although jQuery is at my disposal, I prefer not to replace the existing iframe due to the attached events. Additionally, changing the iframe ID is not an option as it's used extensively in the application.
I've come across similar issues online, but none of the proposed solutions seem to fit my specific problem well.
I would greatly appreciate any help or guidance on this matter!