It is supposed to execute the persistData() function, which saves the data typed into the fields. Can you tell me if this is written correctly? The code is not saving the data presently. The page correctly links to the external js page that executes this function.

Purpose for this script: I want to avoid as many buttons as possible in this iPhone app page, and I thought this would get rid of yet another button with an onClick function.

Paul_Wilkins
—
2012-03-08T23:49:51Z —
#2

StevenHu said:

Can you tell me if this is written correctly? The code is not saving the data presently. The page correctly links to the external js page that executes this function.

Purpose for this script: I want to avoid as many buttons as possible in this iPhone app page, and I thought this would get rid of yet another button with an onClick function.

The code seems to work on a web browser, but as for developing for the iPhone I have no way to confirm or not.