Click here to Skip to main content
15,896,063 members
Home / Discussions / Web Development
   

Web Development

 
QuestionTEXTBOX - HTML TAG - ASP.NET ERROR CODE: 500 Pin
hifiger200428-Apr-07 4:51
hifiger200428-Apr-07 4:51 
QuestionRe: TEXTBOX - HTML TAG - ASP.NET ERROR CODE: 500 Pin
Shog928-Apr-07 7:31
sitebuilderShog928-Apr-07 7:31 
AnswerRe: TEXTBOX - HTML TAG - ASP.NET ERROR CODE: 500 Pin
l a u r e n29-Apr-07 14:36
l a u r e n29-Apr-07 14:36 
GeneralRe: TEXTBOX - HTML TAG - ASP.NET ERROR CODE: 500 Pin
hifiger20042-May-07 4:26
hifiger20042-May-07 4:26 
QuestionHow to set the default page on asp.net Pin
Britney S. Morales27-Apr-07 13:18
Britney S. Morales27-Apr-07 13:18 
AnswerRe: How to set the default page on asp.net Pin
kubben27-Apr-07 14:09
kubben27-Apr-07 14:09 
AnswerRe: How to set the default page on asp.net Pin
JimmyRopes28-Apr-07 3:28
professionalJimmyRopes28-Apr-07 3:28 
QuestionIE ajax problem [modified] Pin
snoopybb27-Apr-07 12:12
snoopybb27-Apr-07 12:12 
Anyone have any ideas why I get a "The data necessary to complete this operation is not yet available." error in IE?

Edit: I'm pretty sure it has something to do with the file not being text.
function http (m, u, d, f)
{
 var r = null;
 if (window.XMLHttpRequest)
 {
  r = new XMLHttpRequest();
  if (r.overrideMimeType)
  {
   r.overrideMimeType('text/xml');
  }
 }
 else if (window.ActiveXObject)
 {
  try
  {
   r = new ActiveXObject('Msxml2.XMLHTTP');
  }
  catch(e)
  {
   try
   {
    r = new ActiveXObject('Microsoft.XMLHTTP');
   }
   catch(e){}
  }
 }
 if (r)
 {
  r.onreadystatechange = function()
  {
   if (r.readyState == 4)
   {
    alert(r.readyState); //This is 4 when the error occures
    if (r.status == 200)
    {
     f(r.responseText); //ERROR here "The data necessary to complete this operation is not yet available."
    }
   }
  };
  r.open(m, u, true);
  r.setRequestHeader('Connection', 'close');
  if (d) r.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  r.send(d);
 }
}

var df=document.getElementsByTagName("PARAM")[0].value;
http('GET','http://example.net/'+df,'', function(data){alert(data);});



-- modified at 18:54 Friday 27th April, 2007
AnswerRe: IE ajax problem Pin
Christian Graus27-Apr-07 17:03
protectorChristian Graus27-Apr-07 17:03 
GeneralRe: IE ajax problem Pin
snoopybb27-Apr-07 17:14
snoopybb27-Apr-07 17:14 
GeneralRe: IE ajax problem Pin
Christian Graus27-Apr-07 23:23
protectorChristian Graus27-Apr-07 23:23 
GeneralRe: IE ajax problem Pin
Bradml28-Apr-07 4:06
Bradml28-Apr-07 4:06 
AnswerRe: IE ajax problem Pin
Shog928-Apr-07 7:33
sitebuilderShog928-Apr-07 7:33 
GeneralRe: IE ajax problem Pin
l a u r e n29-Apr-07 14:38
l a u r e n29-Apr-07 14:38 
QuestionSAVE ERROR with TAG IN ASP.NET Pin
hifiger200427-Apr-07 8:05
hifiger200427-Apr-07 8:05 
AnswerRe: SAVE ERROR with TAG IN ASP.NET Pin
Christian Graus27-Apr-07 14:40
protectorChristian Graus27-Apr-07 14:40 
GeneralRe: SAVE ERROR with TAG IN ASP.NET [modified] Pin
hifiger200427-Apr-07 20:59
hifiger200427-Apr-07 20:59 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
Christian Graus27-Apr-07 21:29
protectorChristian Graus27-Apr-07 21:29 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
hifiger200428-Apr-07 3:01
hifiger200428-Apr-07 3:01 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
Christian Graus28-Apr-07 12:14
protectorChristian Graus28-Apr-07 12:14 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
hifiger200429-Apr-07 1:28
hifiger200429-Apr-07 1:28 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
Christian Graus29-Apr-07 10:46
protectorChristian Graus29-Apr-07 10:46 
GeneralRe: SAVE ERROR with TAG IN ASP.NET Pin
hifiger20042-May-07 4:27
hifiger20042-May-07 4:27 
QuestionEmail problem in php Pin
kumar bharat bhusanam27-Apr-07 4:25
kumar bharat bhusanam27-Apr-07 4:25 
AnswerRe: Email problem in php Pin
Bradml27-Apr-07 6:07
Bradml27-Apr-07 6:07 

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.