Hi, how do I go about specifying the user agent when I'm using ajax in jQuery?
I've tried $.get("test.html", { data: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: 1.8.1.3) Gecko/20070309 Firefox/2.0.0.3' }, function(data){ $('#testDiv').append(data); } ); and $.get("test.html", { User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: 1.8.1.3) Gecko/20070309 Firefox/2.0.0.3' }, function(data){ $('#testDiv').append(data); } ); but I don't think either of those are working.