473,396 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

tag to wrap the text with controlls

254 100+
Hi

I wanted to click any where in the text and the corresponding radio button should get selected. like

Expand|Select|Wrap|Line Numbers
  1. <input type =radiobutton>mukesh 
  2. <input type =radiobutton>kumar 
  3. <input type =radiobutton>mishra
  4. <input type =radiobutton>software professional 
  5.  
  6.  
so when user will click any where on the text say mukesh it will select that radio button.


To worst of my memory I just forgot the tag name!
Apr 7 '08 #1
3 1517
harshmaul
490 Expert 256MB
Hi

I wanted to click any where in the text and the corresponding radio button should get selected. like

Expand|Select|Wrap|Line Numbers
  1. <input type =radiobutton>mukesh 
  2. <input type =radiobutton>kumar 
  3. <input type =radiobutton>mishra
  4. <input type =radiobutton>software professional 
  5.  
  6.  
so when user will click any where on the text say mukesh it will select that radio button.


To worst of my memory I just forgot the tag name!
This should do the job for you


[HTML]<label for="a"><input type="radio" value="mukesh" name="group" id="a">mukesh</label>
<label for="b"><input type="radio" value="kumar" name="group" id="b">kumar</label>
<label for="c"><input type="radio" value="mishra" name="group" id="c">mishra</label>
<label for="d"><input type="radio" value="software professioinal" name="group" id="d">software professional</label>[/HTML]
Apr 7 '08 #2
mukeshrasm
254 100+
This should do the job for you


[HTML]<label for="a"><input type="radio" value="mukesh" name="group" id="a">mukesh</label>
<label for="b"><input type="radio" value="kumar" name="group" id="b">kumar</label>
<label for="c"><input type="radio" value="mishra" name="group" id="c">mishra</label>
<label for="d"><input type="radio" value="software professioinal" name="group" id="d">software professional</label>[/HTML]

Thanks and where could I get more on this label tag
Apr 7 '08 #3
harshmaul
490 Expert 256MB
w3 schools is pretty good for that

http://www.w3schools.com/tags/tag_label.asp
Apr 7 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Guru | last post by:
Hi, I am using FOP for creating pdf. I am having a table which has 14 columns. And each column contents may contain any number of chars. My problem is : When the text is having no spaces in...
3
by: JHR | last post by:
Hey all, I'm trying to make a sidebar box float to the right of various items, and for those items to wrap if a user shrinks his browser window. Instead, in every browser I've tried except for...
2
by: paja | last post by:
Hi I need to use the "Slider" control. When I drag and drop this contol I get a message that the ActiveX is not licensed and cannot be used In older version where this Slider was used...
1
by: paja | last post by:
Hello All I have been trying looking for Slider control required for one of the application. I have looked in default Form controls, then tried to add controls from COM components, but could not...
1
by: Jakob Nielsen | last post by:
I have implemented a container class with IList and bound it to a listbox. Works just fine, but if i then add a new item to my list, the listbox is not updated. Looking at the definition for...
3
by: ColinC | last post by:
Hi, as a newbie to Visual Studio C# Forms development, I'd like some advice on the following. I have a form with a tab control. I have some tab titles that are three words e.g "house &...
3
by: Jason | last post by:
Anyone know how to make the text wrap in a text box of a DetailsView?
1
by: duzhidian | last post by:
Hello: I just want to use a two columns web. If I put sidebar on the right, it there is a list, it's fine. If it is a paragraph, the width will not work? Why? In the following example,...
15
by: removeps-groups | last post by:
How to wrap text in <ptag if the text has no spaces and is very long? Here is an example: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
jinu1996
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.