Click here to Skip to main content
16,012,468 members
Home / Discussions / Web Development
   

Web Development

 
Questionwrite to xml file using vbscript in classic asp Pin
Anil Veeraghattapu 418-Jan-10 21:46
Anil Veeraghattapu 418-Jan-10 21:46 
QuestionWebstats for developers Pin
JHizzle18-Jan-10 4:44
JHizzle18-Jan-10 4:44 
AnswerRe: Webstats for developers Pin
DJ Matthews18-Jan-10 9:24
DJ Matthews18-Jan-10 9:24 
GeneralRe: Webstats for developers Pin
JHizzle18-Jan-10 10:41
JHizzle18-Jan-10 10:41 
Questionweb sphere directory structure Pin
RajeshGonugunta16-Jan-10 3:09
RajeshGonugunta16-Jan-10 3:09 
QuestionCode Project exand collapse code example Pin
MAHorn15-Jan-10 10:47
MAHorn15-Jan-10 10:47 
AnswerRe: Code Project exand collapse code example Pin
dan!sh 16-Jan-10 21:36
professional dan!sh 16-Jan-10 21:36 
QuestionAJAX problem with ie calling aspx pages (works in other browsers) Pin
spaced413013-Jan-10 9:58
spaced413013-Jan-10 9:58 
I have been struggling with this for a while now. I have an ajax function that calls an .aspx page into another .aspx page.

It works in firefox chrome etc but not in IE, but if I use the function to call a .html page it works in IE fine and I have no idea why its not working when i try and use it to call an .aspx. any help would be greatly appreciated.

Heres the code:-

ajax.js



//FUNCTION TO GET REACTIONS SEARCH TXT AND PASS TO getReactions.aspx<br />
function getReactionTXT(REACT_TXT) {<br />
  if (!isWorking && http) {<br />
    http.open("GET", "getreactions.aspx?reaction_text=" + REACT_TXT);<br />
    http.onreadystatechange = SearchReactions;  <br />
          // this sets the call-back function to be invoked when a response from the HTTP request is returned<br />
    isWorking = true;<br />
    http.send(null);<br />
  }<br />
}<br />
<br />
<br />
function SearchReactions() {<br />
  if (http.readyState == 4) {<br />
      var div = document.getElementById('reactionSearch');<br />
      div.innerHTML =  http.responseText;<br />
      isWorking = false;<br />
  }<br />
}<br />
<br />
<br />
<br />
//GET THE HTTP OBJECT<br />
function getHTTPObject() {<br />
  var xmlhttp;<br />
  /*@cc_on<br />
  @if (@_jscript_version >= 5)<br />
    try {<br />
      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");<br />
    } catch (e) {<br />
      try {<br />
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");<br />
      } catch (E) {<br />
        xmlhttp = false;<br />
      }<br />
    }<br />
  @else<br />
  xmlhttp = false;<br />
  @end @*/<br />
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {<br />
    try {<br />
      xmlhttp = new XMLHttpRequest();<br />
      xmlhttp.overrideMimeType("text/xml"); <br />
    } catch (e) {<br />
      xmlhttp = false;<br />
    }<br />
  }<br />
  return xmlhttp;<br />
}<br />
<br />
var http = getHTTPObject(); //  create the HTTP Object<br />
var isWorking = false;

AnswerRe: AJAX problem with ie calling aspx pages (works in other browsers) Pin
daveyerwin13-Jan-10 11:16
daveyerwin13-Jan-10 11:16 
GeneralRe: AJAX problem with ie calling aspx pages (works in other browsers) Pin
spaced413013-Jan-10 11:31
spaced413013-Jan-10 11:31 
GeneralRe: AJAX problem with ie calling aspx pages (works in other browsers) Pin
daveyerwin14-Jan-10 1:03
daveyerwin14-Jan-10 1:03 
GeneralRe: AJAX problem with ie calling aspx pages (works in other browsers) Pin
spaced413014-Jan-10 2:42
spaced413014-Jan-10 2:42 
GeneralRe: AJAX problem with ie calling aspx pages (works in other browsers) Pin
daveyerwin14-Jan-10 3:18
daveyerwin14-Jan-10 3:18 
QuestionContent Management System - CMoSi [modified] Pin
Jon O - CMoSi13-Jan-10 6:54
Jon O - CMoSi13-Jan-10 6:54 
AnswerRe: Content Management System - CMoSi Pin
Eddy Vluggen13-Jan-10 7:48
professionalEddy Vluggen13-Jan-10 7:48 
GeneralRe: Content Management System - CMoSi Pin
Jon O - CMoSi13-Jan-10 8:00
Jon O - CMoSi13-Jan-10 8:00 
AnswerRe: Content Management System - CMoSi Pin
Richard MacCutchan13-Jan-10 9:03
mveRichard MacCutchan13-Jan-10 9:03 
GeneralRe: Content Management System - CMoSi Pin
Jon O - CMoSi13-Jan-10 9:53
Jon O - CMoSi13-Jan-10 9:53 
GeneralRe: Content Management System - CMoSi Pin
Richard MacCutchan14-Jan-10 4:54
mveRichard MacCutchan14-Jan-10 4:54 
QuestionJavascript Textbox Pin
kaban00713-Jan-10 4:30
kaban00713-Jan-10 4:30 
AnswerRe: Javascript Textbox Pin
Ashfield13-Jan-10 5:17
Ashfield13-Jan-10 5:17 
GeneralRe: Javascript Textbox Pin
kaban00713-Jan-10 5:20
kaban00713-Jan-10 5:20 
GeneralRe: Javascript Textbox Pin
Ashfield13-Jan-10 8:35
Ashfield13-Jan-10 8:35 
GeneralRe: Javascript Textbox Pin
kaban00713-Jan-10 6:09
kaban00713-Jan-10 6:09 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:23
totolcm13-Jan-10 2:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.