Forum Moderators: open

Message Too Old, No Replies

Input Button

Input Button inside href

         

DaveN

2:10 pm on Dec 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



External JS ;

function info(a)
{var b = document.getElementById(a).href;location.href=(b)}

Html ;

<a id=p1 href="http://www.mysite.com/products.asp?stk=77">

<input class=btn type=button onclick="info('p1')" value=info>

</a>

Okay do you think a Search engine like google or Av can follow the above link.

We want to use a CSS input button and not a image rollover graphic.

DaveN

seindal

2:58 pm on Dec 12, 2002 (gmt 0)

10+ Year Member



My guess is that it would follow the link, but the link text would be empty.

René.