User Profile

Collapse

Profile Sidebar

Collapse
Eugene K
Eugene K
Last Activity: Jan 27 '12, 05:28 AM
Joined: Jan 5 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Eugene K
    replied to HTML of URL into a JS variable
    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) {
    ...
    See more | Go to post

    Leave a comment:


  • Eugene K
    started a topic HTML of URL into a JS variable

    HTML of URL into a JS variable

    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.

    Is this doable...
    See more | Go to post
No activity results to display
Show More
Working...