Hello,

I am attempting to insert a piece of javascript into a page using an
ajax call. Here are the files

testjs.html:
<SCRIPT language="javascript" src="http://www.myurl.com/pixel.track?
CID=123456"></SCRIPT><NOSCRIPT><IMG src="http://www.myurl.com/
pixel.track?CID=LALALA" width="1" height="1" border="0"></NOSCRIPT>

test112.html:
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery.form.js"></script>


<script>
  //loading the first step into the form area
  $(document).ready(function(){
    $("#formwrapper").load("testjs.html");
  });
</script>

<div id="formwrapper">

</div>

I am monitoring http requests via Firebug in Firefox and httpwatch in
IE 8.  In Firefox everything looks great.  In IE 8, however, I get two
requests to my javascript: one to the correct URL (http://
www.myurl.com/pixel.track?CID=123456), and one to
http://www.myurl.com/pixel.track?CID=123456&_=1258667775204.  This is
not expected behavior: I only want to make one request to this URL,
and I do not know where or why this _= variable is being appended.
Sometimes, the first request--the one to the correct URL--is logged as
"Aborted" by httpwatch; other times, it returns 200 for success.

When I execute this request by simply including that javascript in the
page (i.e., without using jQuery to make an AJAX call to it), I have
no problem.

Is there any way around this issue?

Reply via email to