|
||||||
| 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:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
| 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 |
| Xav | ........ | 1097.16 |
| MeTh0Dz|Reb0rn | ........ | 986.37 |
| morefood2001 | ........ | 850.04 |
| John | ........ | 841.93 |
| WingedPanther | ........ | 684.54 |
| marwex89 | ........ | 638.26 |
| Brandon W | ........ | 492.36 |
| chili5 | ........ | 292.12 |
| orjan | ........ | 187.41 |
| Steve.L | ........ | 183.02 |
Goal: 100,000 Posts
Complete: 79%