Problem Solved. i was using for(e in form.elements)
you have to use for(var e = 0; e < form.elements.length; e++) instead.
The for in loops DOES work in safari for windows though.(and fire fox)

On May 1, 5:17 pm, "Shawn A." <[EMAIL PROTECTED]> wrote:
> Im working on a modification of ciUI that will allow me to submit a
> form via xmlhttp and have the page slide over with the new content.
> like if i had clicked on a link of class "go_foward"
>
> I am running into issues while trying to work with the form.elements
> array. Looping over this array is not giving me the desired results.
>
> im getting other properties of the form object on each iteration of
> the loop:
>
> like:
> function namedItems()
> function tags()
> function item()
>
> This all works fine in safari for windows, but displays the odd
> behavoir above in safari for iphone.
> Is there a new property that holds the elements of a form?
>
> Any help would be great. thanks!
>
> -s.a
--~--~---------~--~----~------------~-------~--~----~
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