charles h wrote:
> On Sep 30, 1:16 pm, Sean Gilligan <[email protected]> wrote:
>   
>> charles h wrote:
>>     
>>> Thanks for the links.
>>> The only different thing is that I validate the form by the "Search"
>>> button of the iPhone keyboard, not by clicking a submit link (I think
>>> that's the issue), so the javascript listener for the "click" doesn't
>>> work.
>>>       
>>> I tried to add this in the form:
>>> onsubmit="javscript:submitForm(this);"
>>>       
>>> But that didn't worked.
>>>       
>> It sounds like you are narrowing it down.  Can you provide a 'reduced'
>> test case that shows what works and what doesn't?  That would be very
>> helpful if you could post that on the list and/or submit as an issue on
>> Google Code.  This page has some tips for submitting issues and created
>> 'reduced test cases' (aka reductions):
>>
>> http://code.google.com/p/iui/wiki/Contributing
>>
>> You may also want to try it with the 0.40 pre-release which should be
>> available in the next few days.
>>
>>     
>
> I've already posted this as an issue in the Google Code page (Issue
> #182: http://code.google.com/p/iui/issues/detail?id=182), I'm not sure
> how I can provide a test case.
>   
You could modify the music.html file that came with iUI to reproduce the 
problem.  That would be ideal.

I'm almost certain that you are having problems because you are not 
using the built-in click handlers of iUI to submit the form.  You should 
be able to call submitForm yourself,  but maybe you also need to prevent 
the default submission of the form. Try:
onsubmit="submitForm(this); return false"

-- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to