I am currently putting together a page that has a dialog which should
have the following behavior:
- if the user presses cancel, they go back (just like now)
- if the user presses submit and the submission succeeds, then they
also go back
   (The result of a successful submission will show up somewhere else)
- if the user presses submit and the the submission fails, they get a
message which they can cancel

My plan is to add a new class "replace" which can be included along
with "dialog"
When they submit a form, I test for hasClass("replace") to do this,
but I before I get too deep in this I need to understand why
cancelDialog works. It just removes the selected attribute, e.g.,
form.removeAttribute("selected");.

Why does this show the parent page?
What do the various selected attributes mean: false, true, progress.

Thanks,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to