[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting to a document's source code



  i have a javascript question -
  
  i need to do something like assign the _source_ of a window.document
  to a string variable, then parse that string for information that is
  found on the page.
  
  given window.document.write, i was hoping for a comparable
  window.document.read method or something; such that i could do a
  
  <script>
  
  var docSource = ""
  
  docSource = window.document.read()
  
  // string search docSource for whatever information
  </script>
  
  
  any clues? or am i trying to do something javascript can't do?

--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/