55
rated 0 times
[
62]
[
7]
/ answers: 1 / hits: 19252
/ 11 Years ago, thu, january 30, 2014, 12:00:00
My html code is as follows:
<h4 class=milestonehead style=cursor: pointer; onclick=editFun('35');>
Some Header
<img src=/images/delete.gif style=float: right; onclick=deletefun('35');>
</h4>
There are two functions in <h4>
if user click on header i.e <h4>
then I need to open a popup with edit form. If user click on delete image/icon then I need to execute a delete function.
Both functions editFun
and deletefun
execute ajax calls. In my case if the user clicks on delete icon then first it calls editFun
function and then it is calling deleteFun
. How can I call the appropriate function for the event.
More From » jquery