You need to sign in to do that
Don't have an account?
John T.
Perform Insert in Jquery Mobile
Hi Guys,
Just want to know how to perform an Insert action in the Vf page using Jquery Mobile or how can you pass a parameter to the methods in your controller. What I did is a copy a text input value and use it as a parameter to pass into my method in which it uses the passed value to perform insert operation.
Right. Visualforce Remoting is the way to go for execution on a mobile device. JQ or JQM are not needed to perform back-end calls.
Example (untested):
--- controller ---
--- page ---
See http://www.salesforce.com/us/developer/docs/pages/Content/pages_js_remoting.htm.
All Answers
Are you using JavaScript Remoting or ActionFunction?
Right. Visualforce Remoting is the way to go for execution on a mobile device. JQ or JQM are not needed to perform back-end calls.
Example (untested):
--- controller ---
--- page ---
See http://www.salesforce.com/us/developer/docs/pages/Content/pages_js_remoting.htm.
Thanks man, really appreciate it. I'm excited to try it then.