Puoi provare in questo modo
mentre la tua pagina fara' qualcosa del generecodice:test
in test ti controlli se esiste #show e ti comporti di conseguenzacodice:<html> <head> <script> function test(){ alert(window.location.href); } </script> </head> <body onload='test();'> <div style='height:100px;'>ciao</div> </body> </html>

Rispondi quotando