By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,705 Members | 1,350 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,705 IT Pros & Developers. It's quick & easy.

how to get the values of an array using javascript

P: n/a
Hi All,
In my php application , I am using an sql query and this query
is returning me a now of rows and I am storing these values in check
box. Here I am using a single check box and declared this to an
array like <input type="checkbox" name="C3[ ]" value="<?php echo
$arr['xx'];?>"and i want to get these checked values using
javascript. but when I am doing
document.formname.C3.checked , it gives me javascript error.
Please Help me.

Feb 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In my php application , I am using an sql query and this query
is returning me a now of rows and I am storing these values in check
box. Here I am using a single check box and declared this to an
array like <input type="checkbox" name="C3[ ]" value="<?php echo
$arr['xx'];?>"and i want to get these checked values using
javascript. but when I am doing
document.formname.C3.checked , it gives me javascript error.
http://in2.php.net/FAQ.html

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Feb 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.