SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot revivalx's Avatar
    Join Date
    Dec 2009
    Location
    Kuala Lumpur,Malaysia
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Select div based on radiobutton

    Hye

    I had a problem about the javascript thing

    How I can select div based on radiobutton selection. I had 3 div with id tag. I renamed it all with sub1, sub2, sub3. I want to make it sub1 as a default .


    Web advertising solution

    Business is not about money, it is about trust..

  2. #2
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you expand on what you're doing; I can't quite figure it out from your description. You want to select from three different div's based on the state of a radio button? What do you mean by select the div; what are you trying to accomplish?

    Are you using jQuery or prototype, or just javascript?

  3. #3
    SitePoint Zealot revivalx's Avatar
    Join Date
    Dec 2009
    Location
    Kuala Lumpur,Malaysia
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just javascript

    not too complicated


    Web advertising solution

    Business is not about money, it is about trust..

  4. #4
    SitePoint Enthusiast TriLLi's Avatar
    Join Date
    Feb 2010
    Location
    BiH, Bugojno
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you explain your request, I don't get it.
    http://www.wiseblog.info
    Programmers don't die, they just GO SUB without return.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •