It has been some time I was playing with jQuery/AJAX and I came up with a AJAX based Blogger Recent or Filtered Post plugin which will use the Blogger JSON API to fetch the post title and link and will make a html ul list to put them together! During making this script I noticed one thing that by default AJAX success functions can not be, by default called by more than 2 arguments. It is passed by two arguments default! But to remove the AJAX loader image i need to pass the function with more than 2 [actually 4] arguments! So here is what I did! else { for(var s=0; s<op.tag.length; s++) { $.ajax({ url:op.BlogURL+FeedURL, data:{'category':op.tag[s],'max-results':op.maxPost,'alt':'json-in-script'}, dataType:'jsonp', success:function(data,status){speedLoader(data,status,'filtered',count);count++}, cache:true }); } } Code (markup): Here I have used a anonymous function to pass the two arguments as variable to the next function! Note that other arguments should be defined either inside that anonymous function or Globally or inside the parent function In this way we can pass as many arguments we want! So the basic thing is, passing like this: success:function(data,status){myFuntion(data,status,'arg3','arg4','arg5');} Code (markup): where other arguments can be anything and the myFunction should written in that way! Also note that we can not use success:myFunction(data,status); this will throw an error of undefined data and status! We need to use success:myFunction and need to design the function is the following way, myFunction(data,status) { //Do something here! data is the main content of the AJAX url } Code (markup): For getting more help please download the source code of my first AJAX widget from here http://code.google.com/p/recent-filtered-posts-using-jquery-blogspot/ You can also check the tutorial on my blog here http://www.intechgrity.com/2009/08/jquery-recent-post-widget-for.html Correct me if I am wrong! Or if you need any help, please ask here! I shall try my level best to help you