在 jquery 移动应用程序中单击按钮时调用 javascript 函数

发布于 2024-10-01 16:57:58 字数 132 浏览 0 评论 0原文

谁能告诉我如何在 jquery 移动应用程序中单击按钮时调用 javascript 函数。我在我的 mvc 应用程序中使用 jquery mobile。 我想在文本框的焦点上调用 jquery 函数。 我无法以传统方式拨打电话

请帮忙

can anyone tell me how to call a javascript function on button 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荒路情人 2024-10-08 16:57:58

你尝试过吗,

$("#inputboxid").focus(function(){

});

//这是 jquery 中的传统方式:)

Did you try,

$("#inputboxid").focus(function(){

});

// this is a tranditional way in jquery :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文