![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 79 Pomógł: 1 Dołączył: 14.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
<input type="checkbox" onMouseDown="return false;" onMouseUp="return false;" onclick="return false;" onblur="return false;" onfocus="return false;" onchange="return false;" name="towar[kup]"/>
pomimo wszelkich prob nie moge zablokowac klikniecia na checkboxa, tzn - zawsze mi sie zaznacza cos robie nie tak? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 79 Pomógł: 1 Dołączył: 14.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
hmmm, a jak podepne jescze cos takiego:
CODE $("tr.domenajest") .hover( function () {$(this).stop().animate({backgroundColor:"#ABC"}, 200);}, function () {$(this).stop().animate({backgroundColor: "#F3F6FB" }, 200);} ) .click( function () { // alert($(this).find("input[type='checkbox']").is(':checked')+'row'); if($(this).find("input[type='checkbox']").is(':checked')) { $(this).find("input[type='checkbox']").attr("checked",''); $(this).hover( function () {$(this).stop().animate({backgroundColor:"#ABC"}, 200);}, function () {$(this).stop().animate({backgroundColor: "#F3F6FB" }, 200);} ) } else { $(this).find("input[type='checkbox']").attr("checked","checked"); $(this).hover( function () {$(this).stop().animate({backgroundColor:"#81A14E"}, 200);}, function () {$(this).stop().animate({backgroundColor: "#DFFFC0" }, 200);} ) } // alert($(this).find("input[type='checkbox']").is(':checked')+'row'); } ); nie chce mi htmla wstawic ale to wyglada tak: tr class="domenajest" td input type="checkbox" /td /tr Ten post edytował tmgryf 29.09.2009, 10:40:51 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 17:15 |