Blog Details

how to call javascript function on a href click


                                
                                    Html:

&lt;a href="javascript<strong></strong>:redirect(this)" id="wama_software" &gt; WAMA SOFTWARE &lt;/a&gt;

Javascript :

&lt;script language="javascript"&gt;

function redirect(this)
alert(this.id) ;
&lt;/script&gt;
                                    


Categories

Javascript

Latest posts

13.05.14
Implementing CRUD Operations ΒΆ

<ul> <li>Now comes the fun part. We would like t

13.05.14
View

<ol> <li><a href="http://www.yiiframework.com/do

13.05.14
Creating Model

<ol> <li><a href="http://www.yiiframework.com/do

Get Free Quote