The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
javascript help with html buttom and onClick URL
i've got a button i'm trying to make take you to a url but i have no idea how to do it, i thought it was just
HTML Code:
<input name="gotopiece" type="button" onClick="goTo('display.php?p=$getpiece[pieceid]')" value="Review This Piece" style="font-size:9px" />
i've even tried this which i found HTML Code:
<input name="gotopiece" type="button" onClick="goToURL('parent','display.php?p=$getpiece[pieceid]');return document.returnValue" value="Review This Piece" style="font-size:9px" />
working version HTML Code:
<input name="gotopiece" type="button" onClick="parent.location='display.php?p=$getpiece[pieceid]'" value="Review This Piece" style="font-size:9px" />
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|