Problem with change checkbox status more than 2 times under jquery 9+

Today I got a problem with the checkbox. I wrote a very simple select all/deselect all feathers with jquey. something like that:

$('.mycheck').attr("checked", checked); //select all


$('.mycheck').removeAttr('checked'); // deselect all

The Problem is, the code work only once. After the second time,the checkbox will not be checked, even if a attriube „checked“ is already attached in DOM.

So I found the post in stackoverlfow:


$("#add_cart_checkbox").prop("checked", true) ;

has solved the problem.


remove all .svn dictionaries

find . -name ".svn" -exec rm -rf {} \;




install gcc on mac snowleopad and homebrew

1 To install gcc on mac just follow the link:

2 to install homebrew:

now try gcc with

gcc -v

you will see:

Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure –disable-checking –enable-werror –prefix=/usr –mandir=/share/man –enable-languages=c,objc,c++,obj-c++ –program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ –with-slibdir=/usr/lib –build=i686-apple-darwin10 –program-prefix=i686-apple-darwin10- –host=x86_64-apple-darwin10 –target=i686-apple-darwin10 –with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

great! done.