Menu
Hello,
I want to add an icon inside a form and be able to click it and run javascript code once clicked.Basically,i know how to add the icon on the form but i don’t know how to make it clickable with OnClick.
the input code for the text field is
[code=html]<input id=”cool” style=” width:45%;
padding:4px; padding-right:25px;” type=”text” name=”game” >
and the css code for the icon
[code=html]
#cool {
background: url(game.jpg) no-repeat scroll 448px -1px;;
cursor:hand;
cursor:pointer;
}
But i don’t know as i said where i should place OnClick command in order to make [B]only