.Net Tutorial
C#.net, Asp.net, MVC, WCF, SqlServer
Pages
Home
C#.NET
ASP.NET
Silverlight
SQL
MVC
JavaScript
JQuery
WCF
Interview Questions
General
How to have an element invoke a javascript on selection, instead of going to a new URL: ?
Labels:
JavaScript
<script type="text/javascript">
function pseudoHitMe() {
alert("Ouch!");
}
</script>
<a href="javascript:pseudoHitMe()">hit me[/url]
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment