|
-
Jun 19th, 2002, 04:00 PM
#1
Thread Starter
Addicted Member
Label Tags
Hi all,
I am using label tags to put the focus in a textbox while pressing on the text between the label tag
Like this:
<code>
<LABEL for="name">Name:</LABEL>
<INPUT TYPE="text" id="name">
</code>
So in IE when i press on Name:, it put the focus in the textBox.
It just doesn't take effect in Netscape
Does anybody knows if we have to do something different in order to do that with Netscape
Thanks
-
Jun 20th, 2002, 03:03 AM
#2
Frenzied Member
What version of Netscape are you using?
I've never used labels but they should work with Netscape 6+
-
Jun 20th, 2002, 03:59 AM
#3
Fanatic Member
Try what I suggested for you in the ASP forum
-
Jun 20th, 2002, 08:12 AM
#4
Thread Starter
Addicted Member
No it is not kicking in
4.6
So it must not support the label tags
If you come up with an idea, please let me know
Thanks
-
Jun 20th, 2002, 09:54 AM
#5
Frenzied Member
Why do you need labels anyway?
They look a bit pointless to me
-
Jun 20th, 2002, 01:31 PM
#6
Thread Starter
Addicted Member
We need to use the label.
If we click on the text between the label tag it will put the focus in the textBox associated with that particular text
I need to do that. IE supports it well
Do you know another way i can do that
Thanks
-
Jun 20th, 2002, 02:13 PM
#7
Black Cat
Originally posted by Mark Sreeves
Why do you need labels anyway?
They look a bit pointless to me
They make sense for the logical meaning of their content - a label for a form element, rather than a paragraph or a heading, etc. Should be better for CSS and seperating content from presentation, and making the content mean something besides being an arbitrary bunch of spans and divs.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 21st, 2002, 02:22 AM
#8
Frenzied Member
Originally posted by buster
4.6
Why are you developing for such an old browser?
-
Jun 21st, 2002, 03:02 AM
#9
Fanatic Member
The label tag is only supported in NN 6+ (6.2, I beleive) according to some documentation I read a while back.
I think this is your problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|