Hello,
I'm building a little web with php and javascript. I have inside HEAD
the following function:
This function receives as parameters a url and a string. In the url it
changes "aaaa" chars, inserting the value received in the string.
<script type="text/javascript">
function abrir(url,caden a){
nuevaurl=url.re place("aaaa",ca dena);
window.open(nue vaurl);
}
</script>
I call it with these lines:
<INPUT onclick='abrir( "<? echo$row_lista['url'];?>",unico.valu e)'
type=button value=OK name=button_nam eprod>
My problem is that it works perfectly with ie6, but not with firefox.
I push the button and it happens nothing.
Any suggestion? Is it something related to my use of window.open?
Thanks a lot!
Comment