155
rated 0 times
[
160]
[
5]
/ answers: 1 / hits: 23643
/ 9 Years ago, tue, august 11, 2015, 12:00:00
I want to pass arguments to the click()
handler function in the following case:
function edit_tab(val){
var prev_tab = $(#current_tab).html();
if (prev_tab == 1) {
$('.edit-basic-info').click(a); // here I want to pass some argument a.
}
}
How can I pass the argument a in the above code? The way I am trying to do is not working.
More From » jquery