开发者

No event on left click for button in jQueryMobile app

开发者 https://www.devze.com 2023-04-05 01:02 出处:网络
i am building an mobile application for sfdc. i am using apex and visual force and jquery mobile js to create my app.

i am building an mobile application for sfdc.

i am using apex and visual force and jquery mobile js to create my app.

i have used apex:command button and apex:commandlink.

but when i click those buttons the event is not generated , whereas when i r开发者_如何学编程ight click on the button the button functions as required

    <apex:commandLink value="Save"  action="{!HRSave}"/>
    <!--<apex:commandbutton value="Save" style="font-style:italic" action="{!HRSave}"/>-->


Is commandLink working but commandButton not working?

You might try either passing it via JavaScript to an actionFunction component or look into JavaScript Remoting. Remoting is excellent with jQuery.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号