Hi, I'm pretty novice with javascript but it's coming along. I've got
a form with say 4 radio buttons listed -
option1
option2
option3
other (please specifiy)
then a 25 charachter text box to place your input.
What I want to do is if the option1,2,3 radio button is selected and
then you click in the textbox to type in your own custom option then
the radio button will change to the 4th radio button specifying
'other'.
Within this of the 4 options only one can be selected of the 4.
Hope this make sense.
mdd 10 1304
mdonahoe wrote: Hi, I'm pretty novice with javascript but it's coming along. I've got a form with say 4 radio buttons listed - option1 option2 option3 other (please specifiy) then a 25 charachter text box to place your input.
What I want to do is if the option1,2,3 radio button is selected and then you click in the textbox to type in your own custom option then the radio button will change to the 4th radio button specifying 'other'. Within this of the 4 options only one can be selected of the 4.
Hope this make sense.
It does.
PointedEars
Thomas 'PointedEars' Lahn wrote: Hi, I'm pretty novice with javascript but it's coming along. I've got a form with say 4 radio buttons listed - option1 option2 option3 other (please specifiy) then a 25 charachter text box to place your input.
What I want to do is if the option1,2,3 radio button is selected and then you click in the textbox to type in your own custom option then the radio button will change to the 4th radio button specifying 'other'. Within this of the 4 options only one can be selected of the 4.
Hope this make sense.
It does.
Pointy Ears, once again more adding noise to this group than VK on most
days.
To the OP:
<input type="text" name="other"
onFocus="this.f orm.radiobutton groupname[3].checked=true">
That's one short way of accomplishing what you want.
--
Matt Kruse http://www.JavascriptToolbox.com http://www.AjaxToolbox.com
Matt Kruse wrote: Thomas 'PointedEars' Lahn wrote: Hi, I'm pretty novice with javascript but it's coming along. I've got a form with say 4 radio buttons listed - option1 option2 option3 other (please specifiy) then a 25 charachter text box to place your input.
What I want to do is if the option1,2,3 radio button is selected and then you click in the textbox to type in your own custom option then the radio button will change to the 4th radio button specifying 'other'. Within this of the 4 options only one can be selected of the 4.
Hope this make sense. It does.
Pointy Ears,
It is PointedEars, thanks.
once again more adding noise to this group than VK on most days.
Why, it does make sense. If there was a question, then this
was the correct answer :)
Maybe the OP should learn how to ask (the right) questions ...
HTH & HAND
PointedEars
Thank you very much that did the trick.
Thomas 'PointedEars' Lahn said the following on 12/30/2005 2:50 PM: Matt Kruse wrote:
Thomas 'PointedEars' Lahn wrote:
Hi, I'm pretty novice with javascript but it's coming along. I've got a form with say 4 radio buttons listed - option1 option2 option3 other (please specifiy) then a 25 charachter text box to place your input.
What I want to do is if the option1,2,3 radio button is selected and then you click in the textbox to type in your own custom option then the radio button will change to the 4th radio button specifying 'other'. Within this of the 4 options only one can be selected of the 4.
Hope this make sense.
It does. Pointy Ears, It is PointedEars, thanks.
once again more adding noise to this group than VK on most days.
Why, it does make sense. If there was a question, then this was the correct answer :)
That wasn't the desire the OP wanted. If you want to be obtuse, be
obtuse but be prepared.
Maybe the OP should learn how to ask (the right) questions ...
And maybe you should learn how to read between the lines to read the
question.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Please quote what you are replying to.
If you want to post a followup via groups.google.c om, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
Thomas 'PointedEars' Lahn wrote: Pointy Ears, It is PointedEars, thanks.
I know.
I was mocking you. once again more adding noise to this group than VK on most days. Why, it does make sense. If there was a question, then this was the correct answer :) Maybe the OP should learn how to ask (the right) questions ...
For someone who repeatedly complains about netiquette, you make more
off-topic posts than anyone else in this newsgroup. For example, your
response in this thread. It added no value to anyone. If you want to be
snarky, take it to email where it's more appropriate. Or, don't do anything,
which would be the most appropriate response.
Perhaps a short lesson would be helpful to you:
1. Repeat to yourself: You are not _required_ to respond to anyone, and it
is not your job to teach everyone how to use the internet.
2. If someone doesn't phrase something to your liking, or doesn't include
proper punctuation, or doesn't express themselves in the best way, you may
wish to point out how they could have better phrased their post, then answer
and provide them help with the information they are looking for. Or, ignore
them completely.
3. Your posts which contain no real substance other than to correct the
style, language, punctuation, etc of the poster just add noise to this
newsgroup. If you're really interested in netiquette and the medium being
used most efficiently, you wouldn't make such posts.
If you used the effort and time that you put into correcting people on this
group into something more productive, you could certainly build up resources
which would benefit many others. That would be cool.
--
Matt Kruse http://www.JavascriptToolbox.com http://www.AjaxToolbox.com
Matt Kruse wrote: Thomas 'PointedEars' Lahn wrote: once again more adding noise to this group than VK on most days. Why, it does make sense. If there was a question, then this was the correct answer :) Maybe the OP should learn how to ask (the right) questions ...
[blah]
I can live with that assessment from someone who
thinks of this newsgroup as being a support forum.
<URL:http://jibbering.com/faq/#FAQ2_4>
Score adjusted
PointedEars
Thomas 'PointedEars' Lahn wrote: I can live with that assessment from someone who thinks of this newsgroup as being a support forum.
I'm fully aware of what newsgroups are, having used them for well over a
decade.
But, perhaps you should use a dictionary to look up the more general
definition of the english word "forum":
1. A public meeting place for open discussion
2. A medium of open discussion or voicing of ideas, such as a newspaper or a
radio or television program
3. A public meeting or presentation involving a discussion usually among
experts and often including audience participation
No more responses to your semantic BS.
--
Matt Kruse http://www.JavascriptToolbox.com http://www.AjaxToolbox.com
Matt Kruse wrote: Thomas 'PointedEars' Lahn wrote: I can live with that assessment from someone who thinks of this newsgroup as being a support forum. I'm fully aware of what newsgroups are, having used them for well over a decade.
But, perhaps you should use a dictionary to look up the more general definition of the english word "forum":
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ [...] No more responses to your semantic BS.
If you do not want to talk semantics, that is fine with me. Then just do
not do it.
I also could have said:
I can live with that assessment, particularly that of being too much
off-topic at times, from someone who did not post more than five articles
per day (three at the average) during the last two months, and when he
posts, he is often but keeping those off-topic discussions alive by posting
his wild assumptions that have to be corrected.
There is a proverb in my native language that applies here:
Those who do nothing can do nothing wrong.
(O: Wer nichts macht, kann auch nichts falsch machen.)
Followup-To poster
PointedEars This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Wolfgang Lipp |
last post by:
my question is: do we need container elements for
repeating elements in data-centric xml documents? or is
it for some reason very advisable to introduce
containers in xml documents even where not strictly
needed? how can a recommendation on this in the light of
existing tools like w3c xml schema and relaxng as well
es established practice be answered? i would greatly
appreciate any words, pointers, and links.
the exposition of the...
|
by: Wolfgang Lipp |
last post by:
From: Lipp, Wolfgang
Sent: Tuesday, 27?January?2004 13:26
<annotation>
the first eleven contributions in this thread started
as an off-list email discussion; i have posted them
here with the consent of their authors.
</annotation>
|
by: Wole Ogunremi |
last post by:
I guess this is a well asked question but it is tripping me up!
I'm putting a forum together allowing xhtml markup content. I am validating
against a schema but getting "Could not find schema information for element
<elementName>...
I would appreciate if anyone could advice where I am going wrong. TIA
Here's my xsd:
|
by: MENTAT |
last post by:
Hi Guys,
Newbie question here. Part of my xml looks like this.
<node>
<description/>
<config/>
<log/>
<transition/>
<node>
|
by: Patient Guy |
last post by:
In my reading of the Strict and Transitional DTD for HTML 4.0, the table
row (TR) elements are contained within table section elements: THEAD,
TFOOT, and TBODY.
The table section elements are the defined contents of the TABLE element.
The TR element is not defined as an "immediate" or "direct" contained
element of TABLE.
Given that
| |
by: Michael Bierman |
last post by:
Please forgive the simplicy of this question. I have the following code
which attempts to determine the color of some text and set other text
to match that color. It works fine in Firefox, but does nothing in IE.
I'd be greatful for any assistance. Also, if I will have problems the
code on Opera or Safari, I'd appreciate any pointers--I don't have a
Mac to test Safari.
THanks very much,
Michael
|
by: magister |
last post by:
Hello,
I want to have a unique Quesiton Id key for each question under
section. Not for every question in the Typed DataSet. Is there
anyway I can do this...?
Thanks, here is my typed Dataset XSD
<?xml version="1.0" encoding="utf-8" ?>
|
by: Jiho Han |
last post by:
Here's the issue.
You have a class,
Class Person
{
public int id;
public string firstname;
public string lastname;
}
|
by: nayijitu |
last post by:
Hi,
I need some thing like this.
I have an XML file and it contain some elements(tag) with a proper hierarchy...
In that XML a particular element <page> contain some child node element like below
.....
<page>
<Question></Question>
<Question></Question>
|
by: mab464 |
last post by:
I have this code on my WAMP server running on my XP machine
if ( isset( $_POST ) )
{
for($i=0; $i<count($_POST);$i++)
{
if ($ans != NULL )
$ans .= ", " . $_POST ; // Not the first
element so append a comma
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |