been making changes to submitForm() call as suggested in issues lists
http://code.google.com/p/iui/issues/detail?id=3
and am getting same negative response from client.
I am starting to think all this framework is a big buggy mess. Has it
all been a great success for anyone out there? Is there a single
iui.js hack that just plain works as advertised?
Latest change attempts
function submitFormold(form)
{
iui.showPageByHref(form.action, encodeForm(form), form.method ||
"POST");
//iui.showPageByHref(form.action || "POST", encodeForm(form),
form.method);
}
function submitForm(form)
{
formValues = encodeForm(form);
formMethod = (form.method || "POST").toUpperCase();
formAction = form.action;
if(formMethod != "POST") {
formAction = formAction + "?" + formValues.join("&");
formValues = Array();
}
iui.showPageByHref(formAction, formValues, formMethod);
}
On Jun 2, 2:59 pm, drewdeal <[email protected]> wrote:
I got a great site all working well with iphoney on my Mac and my G1
(I don't have an iphone yet) and wanted to show off the site to my
client, but the login button does not work for him on the early
iPhone!
iui.js has this....
else if (link.getAttribute("type") == "submit")
submitForm(findParent(link, "form"));
and my forms have this...
<a class="whiteButton" type="submit">'.$name.'</a>
I followed the model set out in iRealtor template, and for him the
search form works fine, but not the other forms that slideout in a
panel class.
Please give it a try and tell me what might be the problem.
http://simplefoodie.com/iphone
Login with:
[email protected]
111111
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
-~----------~----~----~----~------~----~------~--~---