A
Anonymous
Guest
Hello everybody!
I've got a problem trying to create a javascript function "on the fly" with php.
The link that calls the function:###########
The function:###############################
I'll appreciate your help!
ThanX!
I've got a problem trying to create a javascript function "on the fly" with php.
The link that calls the function:###########
Code:
echo "<a href='javascript:funct_one('".$row["preview"]."','".$row["id"]."','".$table1."')'> click here</a>";
Code:
function funct_one (archivo,id,tabla){
window.open("escucha.php?table="+tabla+"&opcion=escucha&archivo="+archivo+"&id_gral="+id,"vent_escucha","width=500, height=300");
}
I'll appreciate your help!
ThanX!