Posted on 2004-08-23
I need to open a link in an iframe to do some server validation and redirectthe user to a different location in a new window.
document.DataFrame1.location = "action_server_validate.asp?ml_num=" + d.ml_num.value ;
The action_server_validate generates code to submit a form to an external website with arguments target="_blank"
which is blocked by pop-up blockers.
What are the workarounds...
One way I presume is to substitute the above statement to
window.open("action_server_validate.asp?ml_num=" + d.ml_num.value) ;