Click here to Skip to main content
15,921,837 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Uploading Multiple images on Server Pin
Anil J Baviskar24-Nov-05 23:15
Anil J Baviskar24-Nov-05 23:15 
QuestionTo add user controls to intellisense Pin
ahmedin200514-Nov-05 22:59
ahmedin200514-Nov-05 22:59 
AnswerRe: To add user controls to intellisense Pin
minhpc_bk15-Nov-05 14:07
minhpc_bk15-Nov-05 14:07 
QuestionWebsite Administration Tool for VS 2005 Pin
Illegal Operation14-Nov-05 21:58
Illegal Operation14-Nov-05 21:58 
QuestionVS 2005 Network BIOS Command Limit Error Pin
Mike_V14-Nov-05 18:20
Mike_V14-Nov-05 18:20 
QuestionWeb service call???? Pin
Small Rat14-Nov-05 7:12
Small Rat14-Nov-05 7:12 
QuestionMultiple Concurrent Requests to XmlHttpRequest Pin
Vasudevan Deepak Kumar13-Nov-05 23:47
Vasudevan Deepak Kumar13-Nov-05 23:47 
AnswerRe: Multiple Concurrent Requests to XmlHttpRequest Pin
Shog914-Nov-05 6:23
sitebuilderShog914-Nov-05 6:23 
Keep in mind the behavior of closures in JavaScript. The anonymous function declared in this manner:
req.onreadystatechange = function()
{
   //...
}

will still have req in scope as long as it exists (which is for the life of the actual request).
So, you could do something like this without problems:
function MakeRequest(request)
{
   var req;
   if ( !window.ActiveXObject )
      req = new XMLHttpRequest();
   else 
      req = new ActiveXObject("Microsoft.XMLHTTP");
   req.onreadystatechange = function()
   {
      if ( req.readyState == 4 )
      {
         var title;
         if (req.responseText.match(/<title>([^<]*)/))
            title = RegExp.$1;
         alert("Request: \n\t" + request + "\nLoaded:\n\t" + title);
      }
   }
   req.open("GET", request, true);
   req.send(null);
}




Questioncalendar Pin
momoo13-Nov-05 23:01
momoo13-Nov-05 23:01 
Questiondisplay data in &lt;td&gt; depending on selection Pin
idreesbadshah11-Nov-05 23:31
idreesbadshah11-Nov-05 23:31 
QuestionBiztalk Configuration Error btswmi.cpp(266): FAILED hr = c0c025b3 Pin
Chak11-Nov-05 16:55
Chak11-Nov-05 16:55 
Questionhow to deploy local web site Pin
m_amin8311-Nov-05 3:31
m_amin8311-Nov-05 3:31 
AnswerRe: how to deploy local web site Pin
enjoycrack11-Nov-05 9:23
enjoycrack11-Nov-05 9:23 
AnswerRe: how to deploy local web site Pin
MoustafaS11-Nov-05 18:24
MoustafaS11-Nov-05 18:24 
QuestionAdding Some information to the outlook contact list Pin
K.P.Kannan10-Nov-05 23:10
K.P.Kannan10-Nov-05 23:10 
QuestionInternet Explorer and Hidden Divs/Images Pin
Alsvha10-Nov-05 20:13
Alsvha10-Nov-05 20:13 
QuestionRe: Internet Explorer and Hidden Divs/Images Pin
Shog913-Nov-05 7:02
sitebuilderShog913-Nov-05 7:02 
AnswerRe: Internet Explorer and Hidden Divs/Images Pin
Alsvha13-Nov-05 22:40
Alsvha13-Nov-05 22:40 
AnswerRe: Internet Explorer and Hidden Divs/Images Pin
Shog914-Nov-05 5:46
sitebuilderShog914-Nov-05 5:46 
GeneralRe: Internet Explorer and Hidden Divs/Images Pin
Alsvha14-Nov-05 22:02
Alsvha14-Nov-05 22:02 
GeneralRe: Internet Explorer and Hidden Divs/Images Pin
Shog915-Nov-05 12:14
sitebuilderShog915-Nov-05 12:14 
GeneralRe: Internet Explorer and Hidden Divs/Images Pin
Alsvha16-Nov-05 4:13
Alsvha16-Nov-05 4:13 
QuestionTAB order of elements in the HTML from Pin
progman10-Nov-05 10:59
progman10-Nov-05 10:59 
AnswerRe: TAB order of elements in the HTML from Pin
minhpc_bk10-Nov-05 16:59
minhpc_bk10-Nov-05 16:59 
QuestionRe: TAB order of elements in the HTML from Pin
MoustafaS11-Nov-05 18:26
MoustafaS11-Nov-05 18:26 

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.