http://docs.jquery.com/Ajax/jQuery.ajax#options $.ajax({ type: "GET", url: "test.js", dataType: "script" });