Reply to 'jQuery, how to call a function while passing a variable' on stackoverflow: Try wrapping it in a new function object: $.get("InfoRetrieve", { },function() { addContent(data) }); Posted by Roy Tang under notes at 2 Dec 2009 7:05am #jquery #ajax #parameter-passing Also on: stackexchange / 0