About Me

Agus Haryanto,
Android Trainner,
GoogleMaps (JavaScript) Trainer
JQuery and JQuery Mobile Trainer
Java, Java Script and PHP Trainer
Freelance Developer Android
Freelance Developer Blackberry
Freelance Developer Web (GIS Googlemaps)
Freelance Developer SMS Gateway

jika ingin contact saya bisa emali ke agus.superwriter@gmail.com

ym: agus_h23

Pin BB : 2AD38B33

Facebook : Agus Haryanto


Mengenal Selector JQuery Basic Filter (:not)

Filters out all elements matching the given selector.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  <script src="../jquery-latest.js"></script>


    $("input:not(:checked) + span").css("background-color", "yellow");
    $("input").attr("disabled", "disabled");


    <input type="checkbox" name="a" />
    <input type="checkbox" name="b" />
    <input type="checkbox" name="c" checked="checked" />


$(“input:not(:checked) + span”).css(“background-color”, “yellow”);

digunakan untuk menset css backgroundColor: ‘yellow’ pada input checkbox yang tidak tercheck yang ada di document HTML.


Leave a Reply




You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free