![]() |
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" /> |
All times are GMT. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|