aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes HTML RadioButton Reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML RadioButton Reference" Watch "HTML RadioButton Reference" New topic
Author

HTML RadioButton Reference

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1446
    
    1
I would like some help on radiobutton reference.

I want to display a DIV tag block at the left and top position of a radio button when clicked.

When the radiobutton is clicked I call a js function to load and display the div tag using jQuery. What do I send or need to retreive from the DOM to set the position attributes of the DIV tag in relation the radiobutton location.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://docs.jquery.com/UI/Position
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1446
    
    1
Eric Pascarello wrote:http://docs.jquery.com/UI/Position


This does not help me with the jquery reference to radiobutton syntax.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Steve Dyke wrote:
Eric Pascarello wrote:http://docs.jquery.com/UI/Position


This does not help me with the jquery reference to radiobutton syntax.


Utility script for absolutely positioning any widget relative to the window, document, a particular element, or the cursor/mouse.



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

The fact that a radio button is involved is completely moot. Why do you think that it's significant?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1446
    
    1
Bear Bibeault wrote:The fact that a radio button is involved is completely moot. Why do you think that it's significant?


I was trying to get the control name of the radiobutton to use in the .position function. I was trying to use the radiobutton name along with the array index value. I have went back and given the radiobuttons unique id values and it seems to be working as I expect.

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I was trying to get the control name of the radiobutton...


What do you mean by this? What is a "control name" ? It often helps when asking questions to speak as technically accurate as possible. Glad you got it working though.
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1446
    
    1
Gregg Bolinger wrote:
I was trying to get the control name of the radiobutton...


What do you mean by this? What is a "control name" ? It often helps when asking questions to speak as technically accurate as possible. Glad you got it working though.


I am used to working with app development in windows environmentMS Foxpro) where each object on a form is a refered to as a control. Sorry.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML RadioButton Reference