Tuesday, May 8, 2012

can we call two functions onClick event

I am trying something like this



<div onclick="check_update('personal_details') ; showUser(2)">Click me </div>


but only check_update('personal_details') is getting called . I want to execute two separate functions at the same time when DIV is clicked. Any help will be great for me as I am still in a learning phase. Thanks in advance.





No comments:

Post a Comment