[eluser]pickupman[/eluser]
I use jQuery quit a bit as well, and Jelmer mentioned there are some good libraries for assests. I personally like using Carabiner. Helps tidy up scripts and css. When using ajax call in jQuery I would use something like:
Code:
//script block
jQuery('<?php echo site_url("controller/method");?>',{vars: var},function(response){
alert(response); //Something cool here
});