haicnpmk44
haicnpmk44

Reputation:

UI iphone submit a form to javascript

I want to make a button in UI iphone (not web iphone) to submit a form (with elements) to Javascipt like the mention below:

How can i do with button to submit UI form to javascript? Please help me.

Thank you so much.

Upvotes: 0

Views: 1365

Answers (1)

Why are you not just using NSURLConnection to submit the form data? You'd have to populate the data in the Javascript form anyway, so it's not like using the javascript to do the submit is saving you anything.

A UIWebView allows you to call javascript methods if you wish, but it's very unlikely you really want to do that.

Upvotes: 1

Related Questions