hello, I would like to do something, but I'm afraid it's not possible, but I want a second opinion! Is it possible insert a variable in <body onload> I mean I have: <body onload="load('variable')";> Code (markup): But I would like to change 'variable', for example it could be set by GET. load is implemented with javascript in my code. Is it possible? Thanks!!!! Regards
I am not sure with your need but you can have like below. <script> var variable = <?=$_GET['getvariable'];?> </script
Thanks, but I have already solved it, I put: <body onload="load()"> Code (markup): And in javascript I look for the GET variable with substring Thanks anyway.