Put the code inside the
$("[EMAIL PROTECTED]").each(function() {
...
})
into
jQuery.fn.countSize(function() { // create a jquery method called
countSize
return this.each(function() {// for each item in the jquery array,
run this function
...
});
});
A developer
Hi,
My name is Bjorn Wijers and I recently started with jQuery. I have tried
other libs as well, but this seems to be the one best suited for me.
Thanks to John and all the other contributors for making jQuery available!
I started out with a small project which is based on this example [1] by