Thanks for the reply Scott.

Code is actually ok. (Input fields are nested in labels which are
nested in forms. It is strange to me too. You would think the should
be on the same level.)

Got it working.

My stylesheet included the line

*{
-webkit-user-select: none;
}

You do this to stop the iphone doing it's copy paste routine when you
hold down on the screen.

Because I applied it to the whole app my forms became unresponsive to
input.

So I just need to find the right css to apply to the rest of the app
except for this form.

As ever solving one problem leads to others.

Nigel





On Sep 11, 8:46 pm, Scott Pickles <[email protected]> wrote:
> Nigel -
>
> Your second command to insert new begins with $('messageLbl').  Shouldn't
> that begin with $(scoreForm') since you're trying to add a new input element
> of type 'text'?
>
> Regards,
> Scott
>
> On Sep 11, 2010 7:12 AM, "[email protected]" <
>
> [email protected]> wrote:
>
> Blaine - Thanks for responding.
>
> Exactly. When I type the text into the field it does not appear. I can
> focus it but I cannot type into it.
>
> The browser I'm using is Safari 5.0.1.
>
> Copy and pasting the source doesn't help. I use the index page only to
> load up the js libraries and some css. I have simplified the code down
> so that I can give a simple presentation of the issue. I am just
> extract code into a seperate application and see if this gives a good
> result.
>
> Basically this is part of a stand alone game developed with phonegap
> to run on webOS, iOS and android.
>
> I am currently introducing some networking capability for a score
> leaderboard.
>
> I can post to my rails server controller/model if I hard code the
> input element values. I can also get data. I do not use the rails
> views.
>
> I guess you do not see something obvious in the code below. That's all
> I wanted to check. Was I doing something stupid because I am new to
> forms.
>
> Looking at Web Inspector I notice that the contentEditable property is
> set to false for the input elements. Should this be true?
>
> I'll take on board your advice.
>
> Nigel
>
> On Sep 10, 7:38 pm, Blaine <[email protected]> wrote:
>
>
>
> > When you say "input does not work", ...

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to