Forum : Button problem!
Brief description  about Online courses   join in Online courses
View Noor  Mohammed 's Profile

Button problem!

Hello sir,

Whenever I add a link to the button to open in new tab. the link opens two times per click, could you please tell me what the problem is?

Following is the code:

<a href="http://www.google.co.in" target="_blank"><input type="button" value="click" /></a>

Many thanks and regards.
Asked by Noor Mohammed | Nov 30, 2010 |  Reply now
Replies (3)
View teacher siliconindia 's Profile
Hi
Can u past here your code, so that i can check.
Regards
Dec 20, 2010
View noor mohammed 's Profile
Thank you sir,

But I need it open in a new tab, in IE it doesn't work and in firefox it opens two tabs instead of one tab.

Can you please help me with this?
Dec 2, 2010
View teacher siliconindia 's Profile
Hi

Try this <a href="http://www.google.co.in"><input type="button" value="click" /></a>

target="_blank" means new tab

Regards
Dec 2, 2010