Be very certain you don't accidentally bind a click function twice somehow. Assuming, that is, a click initiates the action.
Setting a Firebug breakpoint on entry to the repeated code, then inspecting the Stack panel to see how you got there each time, will probably reveal how this occurs. On Nov 24, 9:50 am, Eric <ikeah...@gmail.com> wrote: > Hey there, > > A $.getScript() call I am making results in two seperate requests to > the server. Any chance I can avoid that? > > Here are the headers: > > GET server.file?param1=param2 HTTP/1.1 > Host: server > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.8.1.20) > Gecko/20081217 Firefox/2.0.0.20 > Accept: text/javascript, application/javascript, */* > Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 > Accept-Encoding: gzip,deflate > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > Keep-Alive: 300 > Connection: keep-alive > X-Requested-With: XMLHttpRequest > Referer:http://server/indexfile.html > Cookie: (Cookie Contents) > > Followed by... > > GET server.file?param1=param2 HTTP/1.1 > Host: server > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.8.1.20) > Gecko/20081217 Firefox/2.0.0.20 > Accept: text/xml,application/xml,application/xhtml+xml,text/ > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 > Accept-Encoding: gzip,deflate > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > Keep-Alive: 300 > Connection: keep-alive > Cookie: (Cookie Contents) > > The web server runs IIS6. > > Thanks for your help > Eric