SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 1999
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I don't quite know how to explain this. But I want to write a javascript program that pops up a window upon the detection of a clicked radio button.

    Can anyone explain to me how to do this?
    Ian Chiu
    Editor in Chief
    http://www.usbworkshop.com/

  2. #2
    JavaScript Guru (Big Ego) Arielladog's Avatar
    Join Date
    Jul 1999
    Location
    SC, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use something like this:

    <input type="radio" onclick="window.open('somepage.html','pageName','pageAttributes')">

    and for more info on the window.open() feature in JavaScript, have a look here:

    http://www.pageresource.com/jscript/jwinopen.htm

    aDog


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
  •