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


Download 0.7 Mb.
bet3/3
Sana11.05.2023
Hajmi0.7 Mb.
#1451372
1   2   3
Bog'liq
7YY20aVMMyhUpex6pqkSIOOqu4LQktrGIbWRJQSB

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.7 Mb.

Do'stlaringiz bilan baham:
1   2   3




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