In our application we were using a modal window pop-up. The user has to enter some fields and submit the form. The strange thing was that whenever I submitted the form, a new window was getting poped up.
I knew there was nothing wrong with the javascript code...so I googled around a bit and found the soultion here.
All that is needed is to add the following line inside the "head" tag of the modal page :
<base target=_self>
No comments:
Post a Comment