goll wrote:
I'm rather new to iui, but I already have made my fist successful
steps. However, I'm stuck now with a problem with forms. I'm using non-
ajax forms that load a new page.
So it is impossible to find out in index.php which button has been
cklicked.
What am I doing wrong?
What version of iUI are you using?
For "advanced" form usage I recommend iUI 0.40 (dev2) even though it is
still in the development stage. For multiple submit buttons that are
non-ajax submits you will definitely not want to use standard form
<input type="submit"> elements, not the iUI-style anchor-tag submit buttons.
Use target="_self" in your form to override any iUI Ajax processing of
the form.
There is a test/example page of iUI form submission here:
http://iui-js.appspot.com/test/form-test.html
Unfortunately all the examples use the iUI-style anchor-tag submits. I
was planning on creating some test/examples of standard <input
type="submit"> forms this week, so please keep me updated as to your
progress and if you are having continued trouble, I'll create a sample
for you.
-- Sean
--
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.