Guest_imported
New member
- Jan 1, 1970
- 0
Hi
I have a button that activates a javascript when clicked. however, i find myself having to include the "onclick" in a <a href...> anchor tag.
The problem is, if I include it in an anchor tag, I'll have to make the link
<a href="#"...> with just a # so that it doesn't go anywhere looking for a page.
Is there an alternate method to have the onclick and onmouseover... commands not using the anchor tag?
I have a button that activates a javascript when clicked. however, i find myself having to include the "onclick" in a <a href...> anchor tag.
The problem is, if I include it in an anchor tag, I'll have to make the link
<a href="#"...> with just a # so that it doesn't go anywhere looking for a page.
Is there an alternate method to have the onclick and onmouseover... commands not using the anchor tag?