kamriyas
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by kamriyas
-
-
I am trying to create a button, clicking that button should show a ahref code. It can be an alert box or a new window or a new page. But it is difficult to cretae a new page because there will be like 10 buttons (each button with a unique ahref code.)
Creating new pages, for each button is difficult.
-
Thanks for your help thescientist
Well, I just want to use this below form button, but instead of text, i want to show an ahref code.
<FORM><INPUT TYPE="button" style=" background-color:#660099; color:#FFFFFF;" onfocus="this.blur()" VALUE="FANCY BUTTON"onClick='alert("- text goes here ")'> </FORM>
-
Thanks for your response Ingolme..I want to show a code something likeahref link ( It is not showing here )instead of textWhen someone click the button it should show a ahref code.Can it be done?
-
Sorry, I am a newbie. and I need a simple help.
I am trying to create an alert box.. something like this
// <FORM><INPUT TYPE="button" style=" background-color:#660099; color:#FFFFFF;" onfocus="this.blur()" VALUE="FANCY BUTTON"onClick='alert("- text goes here ")'>
</FORM> //
It works for texts but when I want to use something like this
<FORM><INPUT TYPE="button" style=" background-color:#660099; color:#FFFFFF;" onfocus="this.blur()" VALUE="FANCY BUTTON"
</FORM>
Thank you
On click Alert box
in JavaScript
Posted
This is what exactly I am looking for
<INPUT TYPE="button" style=" background-color:#660099; color:#FFFFFF;" onfocus="this.blur()" VALUE="FANCY BUTTON"onClick='alert("<a href="http://www.google.com/">Google</a>")'>
Thanks alot justsomeguy
You are awesome