Jquery га кириш. Jquery селекторлар, ҳодисалар. Jquery ui


Download 0.76 Mb.
bet3/3
Sana20.01.2023
Hajmi0.76 Mb.
#1104341
1   2   3
Bog'liq
11.Veb dasturlashga kirish

JQuery селекторлари


Элемент
    • $(document).ready(function(){ $("button").click(function(){ $("p").hide(); }); });

#id
    • $(document).ready(function(){ $("button").click(function(){ $("#test").hide(); }); });

.class
    • $(document).ready(function(){ $("button").click(function(){ $(".test").hide(); }); });

Элемент селектори

This is a heading


This is a paragraph.


This is another paragraph.

This is a heading


This is a paragraph.


This is another paragraph.

This is a heading


This is a paragraph.


This is another paragraph.


If you click on me, I will disappear.


Click me away!


Click me too!


If you double-click on me, I will disappear.


Click me away!


Click me too!


This is a paragraph.


Download 0.76 Mb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling