Senin, 21 Oktober 2013

PHP Indonesia - Facebook: I have 500 checkboxes and i need that have one che...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Start taking a college level music theory class today.

This beginner class is now accessible to aspiring musicians of all ages. Learn all of the basic concepts in an easy to follow manner.
From our sponsors
I have 500 checkboxes and i need that have one che...
Oct 21st 2013, 20:08, by Olavi Allik

Olavi Allik 8:08pm Oct 21
I have 500 checkboxes and i need that have one checkbox what check 300 check checkboxes, not all checkboxes.

$('table th input:checkbox').on('click' , function(){
var that = this;
$(this).closest('table').find('tr > td:first-child input:checkbox')
.each(function(){
this.checked = that.checked;
$(this).closest('tr').toggleClass('selected');
});
});

It check all checkboxes, but how i can add there that can only 300 checkboxes?

Made RaUciha 8:19pm Oct 21
you should'nt use find if u want the selection more spesific, just use 'class' to describe every checkbox that u want to select

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar