Click here to Skip to main content
15,881,248 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionHow to get file size without using ActiveX Pin
Sudhanshu Mani Tripathi14-Jul-11 0:14
Sudhanshu Mani Tripathi14-Jul-11 0:14 
AnswerRe: How to get file size without using ActiveX Pin
Pete O'Hanlon14-Jul-11 0:28
mvePete O'Hanlon14-Jul-11 0:28 
QuestionHow to change the "src" value in a <embed> using javascript function ? Pin
LockedOut13-Jul-11 7:28
LockedOut13-Jul-11 7:28 
AnswerRe: How to change the "src" value in a using javascript function ? Pin
csharpbd13-Jul-11 9:28
professionalcsharpbd13-Jul-11 9:28 
GeneralRe: How to change the "src" value in a using javascript function ? Pin
LockedOut13-Jul-11 15:04
LockedOut13-Jul-11 15:04 
AnswerRe: How to change the "src" value in a using javascript function ? Pin
twseitex15-Jul-11 9:04
twseitex15-Jul-11 9:04 
GeneralRe: How to change the "src" value in a using javascript function ? Pin
cjoki18-Jul-11 10:57
cjoki18-Jul-11 10:57 
Questionjavascript html xml Pin
Bala811-Jul-11 22:05
Bala811-Jul-11 22:05 
Error: Access to restricted URI denied" code: "1012 [Break On This Error]

xhttp.send(null);


function getXML(xml_file) {

  if (window.XMLHttpRequest) {

    var xhttp = new XMLHttpRequest();  // Cretes a instantce of XMLHttpRequest object
  }
  else {

    var xhttp = new ActiveXObject("Microsoft.XMLHTTP");  // for IE 5/6
  }

  xhttp.open("GET",xml_file,false);  
  xhttp.send(null);  

   var xmlDoc = xhttp.responseXML; 

   return (xmlDoc);
}


I used same code for another page and it worked. But suddenly its giving this error.
I pass projects.xml as xml_file to the function.
Can some tell whats happening?
AnswerRe: javascript html xml Pin
DaveAuld11-Jul-11 22:48
professionalDaveAuld11-Jul-11 22:48 
QuestionFlash plugin install Pin
anishkannan11-Jul-11 20:52
anishkannan11-Jul-11 20:52 
AnswerRe: Flash plugin install Pin
Viral Upadhyay12-Jul-11 8:38
Viral Upadhyay12-Jul-11 8:38 
AnswerRe: Flash plugin install Pin
twseitex12-Jul-11 11:20
twseitex12-Jul-11 11:20 
Questionhow to add minimize and maximize buttons in a dfd in my company intranet Pin
Dan muli8-Jul-11 5:15
Dan muli8-Jul-11 5:15 
AnswerRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Shahriar Iqbal Chowdhury/Galib8-Jul-11 10:49
professionalShahriar Iqbal Chowdhury/Galib8-Jul-11 10:49 
GeneralRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Dan muli8-Jul-11 20:41
Dan muli8-Jul-11 20:41 
AnswerRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Shameel11-Jul-11 21:42
professionalShameel11-Jul-11 21:42 
GeneralRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Dan muli11-Jul-11 21:54
Dan muli11-Jul-11 21:54 
GeneralRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Shameel12-Jul-11 3:45
professionalShameel12-Jul-11 3:45 
GeneralRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Pete O'Hanlon12-Jul-11 4:40
mvePete O'Hanlon12-Jul-11 4:40 
GeneralRe: how to add minimize and maximize buttons in a dfd in my company intranet Pin
Shameel12-Jul-11 8:34
professionalShameel12-Jul-11 8:34 
QuestionEfficiency of adding arrays to an array Pin
Online.Cop8-Jul-11 1:43
Online.Cop8-Jul-11 1:43 
AnswerRe: Efficiency of adding arrays to an array Pin
Not Active8-Jul-11 2:00
mentorNot Active8-Jul-11 2:00 
Questionhow can i insert onClick event to href? Pin
buffering836-Jul-11 2:58
buffering836-Jul-11 2:58 
AnswerRe: how can i insert onClick event to href? Pin
Manfred Rudolf Bihy6-Jul-11 3:18
professionalManfred Rudolf Bihy6-Jul-11 3:18 
GeneralRe: how can i insert onClick event to href? Pin
buffering836-Jul-11 5:32
buffering836-Jul-11 5:32 

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.