Menu
Hi All,
I have only single checkbox(array) inside a form.This checkbox is moving under a loop.so it should be del[0]–>32,del[1]–>56…..and so on.
I want to check the values wether they are coming or not.
Here is my code:
<form>
<input type=”checkbox” name=”del[]” value=”<?=$pid;?>”>
</form>
if the value is empty then i want to throw a alert to select the check boxes first.But here the values are coming in an array.Thats the problem.
I just need to check the array values using a javascript funtion.
Please guide me.Thanks in advance for your co-operation..
Luv……..Raj