Click here to Skip to main content
15,910,123 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Update DataGrid -asp.net Pin
Zuhair Rizvi2-Jun-06 4:11
Zuhair Rizvi2-Jun-06 4:11 
QuestionValidation Control - asp.net Pin
aransiola27-May-06 7:44
aransiola27-May-06 7:44 
AnswerRe: Validation Control - asp.net Pin
Kevin McFarlane27-May-06 11:52
Kevin McFarlane27-May-06 11:52 
Questionis it possible? Pin
maximf26-May-06 21:15
maximf26-May-06 21:15 
AnswerRe: is it possible? Pin
Guffa26-May-06 22:32
Guffa26-May-06 22:32 
GeneralRe: is it possible? Pin
maximf28-May-06 0:36
maximf28-May-06 0:36 
AnswerRe: is it possible? Pin
Guffa28-May-06 11:07
Guffa28-May-06 11:07 
Questionxml and javascripting [modified] Pin
ritu432126-May-06 2:33
ritu432126-May-06 2:33 
i am getting xmlhttp.status=0 instead of 200 which means data is ok . please help me out .

<html>
<head>
<script type="text/javascript">
var xmlhttp

function loadXMLDoc(url)
{
// code for Mozilla, etc.
if (window.XMLHttpRequest)
{
xmlhttp=new XMLHttpRequest()
xmlhttp.onreadystatechange=state_Change
xmlhttp.open("GET",url,true)
xmlhttp.send(null)
}
// code for IE
else if (window.ActiveXObject)
{
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
if (xmlhttp)
{
xmlhttp.onreadystatechange=state_Change
xmlhttp.open("GET",url,true)
xmlhttp.send()
}
}
}

function state_Change()
{
// if xmlhttp shows "loaded"
if (xmlhttp.readyState==4)
{
// if "OK"
alert(xmlhttp.status);
if (xmlhttp.status==200)
{
alert("XML data OK")
document.getElementById('A1').innerHTML=xmlhttp.status
document.getElementById('A2').innerHTML=xmlhttp.statusText
document.getElementById('A3').innerHTML=xmlhttp.responseText
}
else
{
alert("Problem retrieving XML data:" + xmlhttp.statusText)
}
}
}

</script>
</head>

<body onload="javscript:loadXMLDoc('menu.xml')">
<h2>Using the HttpRequest Object</h2>

<p><b>status:</b>
<span id="A1"></span>
</p>

<p><b>status text:</b>
<span id="A2"></span>
</p>

<p><b>response:</b>
<br><span id="A3"></span>
</p>

</body>
</html>

my xml file is menu.xml which is

<?xml version="1.0" encoding="UTF-8"?>
<courses>
<topic>
<topicname>Search</topicname>
</topic>
<topic>
<topicname>Lubrication Fundamentals</topicname>
</topic>
</courses>


-- modified at 8:33 Friday 26th May, 2006
QuestionMULTITHREADED DOWNLOAD Pin
lathi26-May-06 1:37
lathi26-May-06 1:37 
AnswerRe: MULTITHREADED DOWNLOAD Pin
darkcloud.42o5-Jun-06 17:00
darkcloud.42o5-Jun-06 17:00 
GeneralRe: MULTITHREADED DOWNLOAD Pin
darkcloud.42o5-Jun-06 17:02
darkcloud.42o5-Jun-06 17:02 
QuestionAssign a js variable to php variable Pin
torniker25-May-06 11:26
torniker25-May-06 11:26 
AnswerRe: Assign a js variable to php variable Pin
alex.barylski25-May-06 13:51
alex.barylski25-May-06 13:51 
GeneralRe: Assign a js variable to php variable Pin
torniker26-May-06 6:15
torniker26-May-06 6:15 
Questioncode for login page Pin
lucky123456025-May-06 8:46
lucky123456025-May-06 8:46 
AnswerRe: code for login page Pin
Gonzalo Brusella26-May-06 6:39
Gonzalo Brusella26-May-06 6:39 
QuestionDisplay thumbnail images in a multiple rows Pin
arpita200625-May-06 8:33
arpita200625-May-06 8:33 
QuestionShared Assembly Deployment and version management Pin
Leftyfarrell25-May-06 7:56
Leftyfarrell25-May-06 7:56 
Questionhow to control applet without click on it? [modified] Pin
newlifehejian25-May-06 1:44
newlifehejian25-May-06 1:44 
QuestionHelp in HTML Required, opening word file. [modified] Pin
deepaks324-May-06 20:04
deepaks324-May-06 20:04 
AnswerRe: Help in HTML Required, opening word file. [modified] Pin
ranandbe25-May-06 2:12
ranandbe25-May-06 2:12 
GeneralRe: Help in HTML Required, opening word file. [modified] Pin
deepaks325-May-06 7:42
deepaks325-May-06 7:42 
Questionxml asp problem??? [modified] Pin
Small Rat24-May-06 17:09
Small Rat24-May-06 17:09 
QuestionHow to set a checkbox in a table dynamically... Pin
Jesse Evans24-May-06 12:31
Jesse Evans24-May-06 12:31 
AnswerRe: How to set a checkbox in a table dynamically... Pin
Steve Echols24-May-06 19:00
Steve Echols24-May-06 19:00 

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.