Gorkfu schrieb:
> I tried to set up an append text and remove text to a checkbox that is
> clicked. I tried the following it works for append perfectly but the remove
> manipulation freezes firefox and explorer.
Or so:
$(document).ready(function(){
$("[EMAIL PROTECTED]'checkbox']").click(function(){
if ($(this).is(":checked")){
$(this).siblings("ul").hide("normal");
$(this).parent("li").append("Complete!");
} else {
$(this).siblings("ul").show("normal");
$(this).parent("li").empty();
}
});
});
--
Viele Grüße, Olaf
-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/