|
||||||
| JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
You could just cycle through the boxes and make sure they are checked:
HTML Code:
var isChecked = false;
for (i = 0; i < lists.length; i++)
{
if (lists[i].checked == true)
{
isChecked = true;
}
}
if (isChecked == false)
{
alert("You must check at least one option!");
}
__________________
Lop |
|
|||||
|
I see, thank you for the help
__________________
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make a script vulnerable to SQL injection? | shibbythestoner | PHP Forum | 7 | 12-15-2007 08:56 PM |
| Hacking Perl Script | falco85 | Perl | 5 | 11-12-2007 04:51 PM |
| JavaScript:Tutorial, Using an External Script | TcM | Javascript | 7 | 09-11-2007 07:39 AM |
| (Script) Copy content to clipboard, how? | annannienann | Visual Basic Programming | 0 | 06-19-2007 05:20 PM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| LogicKills | ........ | 20.00000 |
| sam | ........ | 20.00000 |
| gaylo565 | ........ | 18.00000 |
| |pH| | ........ | 15.00000 |
| WingedPanther | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 67%