Hi, thanks for the reply. I have tried this method using the following code, but to no avail. It only recognizes locally stored web pages, but not the ones accessed via http.
Code:
var http;
if (window.XMLHttpRequest) {
http = new XMLHttpRequest();
} else {
try { http = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {
try { http = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {
Hi, thanks for reading. I'm trying to come up with a Javascript function that would convert the HTML source of a page at a specific URL into a variable, so that the whole thing would become editable. The complication is, the URL does not end with a "html, htm, aspx" extension, but instead with a string of input form variables (i.e. ?type=AAA&color =BBB...). Hence the XMLHttpRequest method is out of question.
Leave a comment: