Call a javascript function on button click in jquery mobile application
can anyone tell me how to call a javascript function on butt开发者_如何学编程on click in jquery mobile application . I am using jquery mobile in my mvc application. I want to call a jquery function on focus of a textbox. I can not make the call in the traditional way
Please help
Did you try,
$("#inputboxid").focus(function(){
});
// this is a tranditional way in jquery :)
精彩评论