List Info

Thread: Clicking into Text Boxes




Clicking into Text Boxes
user name
2006-06-02 20:04:03
Here is an example of the script for one of the boxes:

<asp:TextBox ID="txtExpAmt"
runat="server" 
BorderColor="Black"
BorderWidth="1px"
       Font-Names="Arial"
Font-Size="10pt" 
Style="z-index: 119; left: 601px; position: absolute;
       top: 257px" TabIndex="10"
Width="77px">200</asp:TextBox>

I am new to HTML and dotnet, and am not familiar 
at all with Javascript.  I am not aware of any 
Javascript running.  Is this something that might 
be automatically included or is it something like VB that
needs to be added.

David

At 3/06/2006, you wrote:
>That's no ordinary text box then!
>
>What the HTML markup for the textbox that gets rendered
to the browser?
>
>Normally it would be something like :
><input id=tb name=myTextBox>
>
>And do you have any JavaScript running that may affect
focus, etc?
>
> > -----Original Message-----
> > From: Discussion of building .NET applications
targeted for
> > the Web [mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of
> > David Emerson
> > Sent: 02 June 2006 06:31
> > To: DOTNET-WEBDISCUSS.DEVELOP.COM
> > Subject: [DOTNET-WEB] Clicking into Text Boxes
> >
> > I sent this on 26th May.  It may have been
overlooked, or
> > no-one may have an answer.  Either way I'll try
again just in
> > case someone can solve it for me.
> >
> > I have a text box on my web page.  When using a
mouse, users
> > can only go into the box when they click on text
already
> > entered.  If they click in part of the box that
doesn't have
> > any text then the cursor doesn't move to the box.
> >
> > Also, if they delete everything in the box then
the only way
> > they can get back to the box is to click on the
associated
> > label (which also works if some text is in the
field)
> >
> > This is confusing for the users.  Is it possible
to make a
> > change so that clicking anywhere in a text box
will move the
> > cursor into the box?
> >
> >
> > Regards
> >
> > David Emerson
> > Dalyn Software Ltd
> > New Zealand
> >
> > ===================================
> > This list is hosted by DevelopMentor(r)  http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> > http://discuss.develop.com

> >
> >
> >
>
>===================================
>This list is hosted by DevelopMentorŪ  http://www.develop.com
>
>View archives and manage your subscription(s) at http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )