• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML RadioButton Reference

 
Ranch Hand
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://docs.jquery.com/UI/Position
 
Steve Dyke
Ranch Hand
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



This does not help me with the jquery reference to radiobutton syntax.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.




 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The fact that a radio button is involved is completely moot. Why do you think that it's significant?
 
Steve Dyke
Ranch Hand
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic