Results 1 to 4 of 4
Thread: jQuery ,
Hybrid View
-
16th July 2010 20:50 #1Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
jQuery ,
, checkbox. td-, ( checkbox- ... , ). , , <a><img /></a>, / . , jQuery td- , , , .
, , . , checkbox-a ( ) . td, , input .Code:$("table.list td").click(function(){ ...... });
:
, ...Code:$("table.list td a").click( function() { window.location = $(this).attr('href'); });
( , )? "table.list td:not(a)", .
!
-
16th July 2010 21:11 #2Code:
$("table.list td").click(function(e){ if ($(e.target).hasClass('className') || $(e.target).has('selector') || $(e.target).is('selector') ....) // target td :) ...... });
-
16th July 2010 22:03 #3Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
help- tutorial-. !
-
16th July 2010 22:07 #4Registered User
Join Date: Aug:2006
Location: Sofia
Posts: 37
"return false;" callback , bubble event-.




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in