Click here to Skip to main content
15,893,663 members
Home / Discussions / Web Development
   

Web Development

 
Questiongoogle submenu at search results Pin
tibiz1-Dec-06 19:08
tibiz1-Dec-06 19:08 
QuestionCannot view XML input using XSL style sheet Pin
Arthur Gladney1-Dec-06 19:03
Arthur Gladney1-Dec-06 19:03 
AnswerRe: Cannot view XML input using XSL style sheet Pin
Arthur Gladney4-Dec-06 4:44
Arthur Gladney4-Dec-06 4:44 
QuestionJavascript Proxy communication Pin
Richard Andrew x641-Dec-06 15:21
professionalRichard Andrew x641-Dec-06 15:21 
AnswerRe: Javascript Proxy communication Pin
Bradml1-Dec-06 15:34
Bradml1-Dec-06 15:34 
GeneralRe: Javascript Proxy communication Pin
Richard Andrew x641-Dec-06 15:54
professionalRichard Andrew x641-Dec-06 15:54 
GeneralRe: Javascript Proxy communication Pin
Bradml1-Dec-06 16:14
Bradml1-Dec-06 16:14 
GeneralRe: Javascript Proxy communication Pin
Richard Andrew x641-Dec-06 16:22
professionalRichard Andrew x641-Dec-06 16:22 
I'm just beginning to learn javascript, so the code I'm trying to use is very simple: ( Thanks for your help ) It says "window.removed" below, but that's something CodeProject did. The real code says "onload"

<script language = "javascript" > 
<!--
function myonload(  )
{
	loadDoc( "http://www.google.com" );

}

window.onload = myonload;
var xmlhttp;


function state_Change()
{
// if xmlhttp shows "loaded"
alert("State Change" );
if (xmlhttp.readyState==4)
  {
  // if "OK"
  if (xmlhttp.status==200)
    {
    // ...some code here...
	alert( "200 OK!" );
    }
  else
    {
    alert("Problem retrieving XML data");
    }
  }
}

function loadDoc( url )
{
  xmlhttp=new XMLHttpRequest();
  xmlhttp.removed=state_Change;
  xmlhttp.open("GET",url,true);
  xmlhttp.send(null);
  alert( "Request Sent" );
}

//-->
</script>


--------------------------------

"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke

GeneralRe: Javascript Proxy communication Pin
Bradml1-Dec-06 16:32
Bradml1-Dec-06 16:32 
GeneralRe: Javascript Proxy communication Pin
Richard Andrew x641-Dec-06 16:34
professionalRichard Andrew x641-Dec-06 16:34 
GeneralRe: Javascript Proxy communication Pin
Richard Andrew x641-Dec-06 16:38
professionalRichard Andrew x641-Dec-06 16:38 
GeneralRe: Javascript Proxy communication Pin
Bradml1-Dec-06 16:54
Bradml1-Dec-06 16:54 
GeneralRe: Javascript Proxy communication Pin
RichardGrimmer2-Dec-06 7:08
RichardGrimmer2-Dec-06 7:08 
GeneralRe: Javascript Proxy communication Pin
Shog94-Dec-06 11:16
sitebuilderShog94-Dec-06 11:16 
QuestionCaching and State Management within WebServices Pin
RadioButton1-Dec-06 11:01
RadioButton1-Dec-06 11:01 
AnswerRe: Caching and State Management within WebServices Pin
Dominic Pettifer1-Dec-06 14:07
Dominic Pettifer1-Dec-06 14:07 
GeneralRe: Caching and State Management within WebServices Pin
RadioButton4-Dec-06 3:51
RadioButton4-Dec-06 3:51 
QuestionSMS Website Pin
Ashish Porwal30-Nov-06 20:15
Ashish Porwal30-Nov-06 20:15 
AnswerRe: SMS Website Pin
Bradml30-Nov-06 20:40
Bradml30-Nov-06 20:40 
AnswerRe: SMS Website Pin
Vasudevan Deepak Kumar1-Dec-06 21:08
Vasudevan Deepak Kumar1-Dec-06 21:08 
QuestionIE7 and session state Pin
Fred_Smith30-Nov-06 12:38
Fred_Smith30-Nov-06 12:38 
AnswerRe: IE7 and session state Pin
George L. Jackson30-Nov-06 15:25
George L. Jackson30-Nov-06 15:25 
GeneralRe: IE7 and session state Pin
Fred_Smith30-Nov-06 22:20
Fred_Smith30-Nov-06 22:20 
GeneralRe: IE7 and session state Pin
George L. Jackson30-Nov-06 22:44
George L. Jackson30-Nov-06 22:44 
GeneralRe: IE7 and session state Pin
Fred_Smith30-Nov-06 23:49
Fred_Smith30-Nov-06 23:49 

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.