Jump to content

Runing javascript as default link as back up


ldb358

Recommended Posts

what i would like to to do is be able to(for the people with javascript off) have the link link to an alternative page, right now the page has a drop down box with form in it heres what i have:

 

<a href='index.php?action=comment&id=$id' id='$i' onclick='grow($i,".$photo['id'].")'>rate and comment</a>

the problum is it goes directly to the link instead of running the javascript

 

thanks in advance

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.