macuser777
asked on
Change a submit button to a text link
Hi,
I'd like to change the submit button 'order' to a simple text link please.
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"><b>[[domain]]. [[ext]]</b ></td>
<td width="25%">[[price]]</td>
<td width="25%">
<div align="right">
<form ACTION="http://www.anrdoezrs.net/interactive"method=get>
<input name="DomainName" type="hidden" class="search" value='[[user-domain]]'/>
<input type="hidden" name="siteid" value="4798">
<input name="submit" type="submit" tabindex="2" value="order">
<input type="hidden" name="pid" value="1607964">
<input type="hidden" name="url" value="https://secure.registerapi.com/DDS/controller.php">
<input type="hidden" name="aid" value="5463237">
</FORM>
<img src="http://www.ftjcfx.com/image-1607964-5463237" width="1" height="1" border="0"></div></td>
</tr>
</table>
I'd like to change the submit button 'order' to a simple text link please.
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"><b>[[domain]].
<td width="25%">[[price]]</td>
<td width="25%">
<div align="right">
<form ACTION="http://www.anrdoezrs.net/interactive"method=get>
<input name="DomainName" type="hidden" class="search" value='[[user-domain]]'/>
<input type="hidden" name="siteid" value="4798">
<input name="submit" type="submit" tabindex="2" value="order">
<input type="hidden" name="pid" value="1607964">
<input type="hidden" name="url" value="https://secure.registerapi.com/DDS/controller.php">
<input type="hidden" name="aid" value="5463237">
</FORM>
<img src="http://www.ftjcfx.com/image-1607964-5463237" width="1" height="1" border="0"></div></td>
</tr>
</table>
<a href="#" onClick="document.form[0]. submit;">o rder</a>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK - I know i'll be doing something sill here - but this doesn't work
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"><b>[[domain]]. [[ext]]</b ></td>
<td width="25%">[[price]]</td>
<td width="25%" valign="middle">
<div align="right">
<form ACTION="http://www.anrdoezrs.net/interactive"method=get name="form1">
<input name="DomainName" type="hidden" class="search" value='[[user-domain]]'/>
<input type="hidden" name="siteid" value="4798">
<input type="hidden" name="pid" value="1607964">
<input type="hidden" name="url" value="https://secure.registerapi.com/DDS/controller.php">
<input type="hidden" name="aid" value="5463237">
<a href="#" onClick="document.form1.su bmit;">ord er</a>
</FORM>
<img src="http://www.ftjcfx.com/image-1607964-5463237" width="1" height="1" border="0"></div></td>
</tr>
</table>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"><b>[[domain]].
<td width="25%">[[price]]</td>
<td width="25%" valign="middle">
<div align="right">
<form ACTION="http://www.anrdoezrs.net/interactive"method=get name="form1">
<input name="DomainName" type="hidden" class="search" value='[[user-domain]]'/>
<input type="hidden" name="siteid" value="4798">
<input type="hidden" name="pid" value="1607964">
<input type="hidden" name="url" value="https://secure.registerapi.com/DDS/controller.php">
<input type="hidden" name="aid" value="5463237">
<a href="#" onClick="document.form1.su
</FORM>
<img src="http://www.ftjcfx.com/image-1607964-5463237" width="1" height="1" border="0"></div></td>
</tr>
</table>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
...no luck with that
It looks like you're just missing the parenthesis after submit..
<a href="#" onClick="document.form1.su bmit();">o rder</a>
<a href="#" onClick="document.form1.su
it works for me, make sure your view page is not loaded from cache? Try clear the browser cache and try again...
ASKER
hmmm...yes. Sorry I'm having a form clash.
It works here
http://playmac.com/submit.htm
but here it doesn't and seems to have disbaled the other forms.
http://playmac.com/feedback.htm
[please don't post any urls from the destination site here]
.........mmmmmm
It works here
http://playmac.com/submit.htm
but here it doesn't and seems to have disbaled the other forms.
http://playmac.com/feedback.htm
[please don't post any urls from the destination site here]
.........mmmmmm
ASKER
well...I guess the q got answered. I'll have to figure out what's up with the page tomorrow.
thanks.
thanks.
ASKER
All ok now - the problem was that there a repeat tag and I just had to move the form code out of it.
Thanks, again.
Thanks, again.