title: Javascript working in Safari but not Chrome or Firefox
body: <p>I am not a programmer at all, so I am sorry in advance, but after searching the web I cannot find an answer.</p>
  <p>I am trying to take the inventory search from <a href="http://www.erikschevrolet.com/VehicleSearchResults?search=new&amp;make=Chevrolet&amp;modelId=33963&amp;minYear=2012&amp;maxYear=2012&amp;cs:a:i=GM_Chevrolet-Showroom_HomePage-Chevrolet-Emblem_Hero-Image-Rotator" rel="nofollow noreferrer">this website</a> and put it in a Facebook tab.  I grabbed the code from the website and edited out the headers and footers, which I did not want, in TextEdit. I am only trying to take the inventory search portion.</p>
  <p>When I tested it out in Safari it seemed to work.  The inventory search came up and all of the buttons and filters worked perfectly and when I would go to a different page the headers and footers were still gone and just the inventory search was there - perfect.</p>
  <p>However when tested in Chrome and Firefox the buttons and filters did not work at all, and you cannot go past the first page or apply filters.</p>
  <p>So I decided to go to the site (the first page of the inventory search like the link above) and save the source code to my desktop to see if when I opened this in Chrome or Firefox if it would work, and it didn't, no buttons or filters worked, stuck on first page.  But it did work in Safari.</p>
  <p>What does this mean?  Should I give up now?  I would include the code but it is the longest I have ever seen.  All of the testing of the code I did through TextEdit.</p>
  <p><strong>edit</strong>:<br />
  Here are the errors in Chrome:</p>
  <blockquote>
  <p>Uncaught SyntaxError: Unexpected token &lt; Chevy.html:4608
  XMLHttpRequest cannot load http:‍//www.erikschevrolet.com/searchVehicles.ajax. Origin null is not allowed by Access-Control-Allow-Origin.<br />
  Uncaught Error: XmlRenderEngine = &gt;Unknown error bundle.js:1
  XMLHttpRequest cannot load http:‍//www.erikschevrolet.com/searchVehicles.ajax. Origin null is not allowed by Access-Control-Allow-Origin.<br />
  Uncaught Error: XmlRenderEngine = &gt;Unknown error bundle.js:1
  XMLHttpRequest cannot load http:‍//www.erikschevrolet.com/searchVehicles.ajax. Origin null is not allowed by Access-Control-Allow-Origin.<br />
  Uncaught Error: XmlRenderEngine = &gt;Unknown error bundle.js:1</p>
  </blockquote>