Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

cgi form and javascript

by Anonymous Monk
on Jun 09, 2005 at 13:41 UTC ( [id://465126]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "Content-type: text/html\n\n";
    
    ...
    </SELECT>
    <INPUT TYPE=button VALUE="Select All" ONCLICK="selectAll(this.form.dem
    +o,true)">
    <INPUT TYPE=button VALUE="Clear All" ONCLICK="selectAll(this.form.demo
    +,false)">
    
  2. or download this
    function selectAll(cbList,bSelect) {
      for (var i=0; i<cbList.length; i++) 
        cbList[i].selected = cbList[i].checked = bSelect
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://465126]
Approved by Ninthwave
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found