get document as a string to be parsed by json

Discussion in 'Javascript' started by SpreadTooThin, Nov 24, 2011.

  1. If I do
    window.open("http://myweb.com/?q=test");
    then a window is opened with just the json text. (no html formatting
    nothing...)
    I need to store the json text into a var and then pass that on the the
    json parser.
    It would be nice if I could to all this without having to open a new
    window and loose my old window.
     
    SpreadTooThin, Nov 24, 2011
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.