Menu

Javascript scripting missing standard library

Anonymous
2011-10-05
2012-09-04
  • Anonymous

    Anonymous - 2011-10-05

    The documentation tells me that javascript language is supported in scripting;
    however, when I try to use the DOM getElementById() I am informed that the
    class is missing from the WebHarvest runtime environment. Am I missing
    something that should be obvious to me?

    <var-def name="home">http://www.emarketplace.state.pa.us/Search.aspx</var-
    def
    >

    <script language="text/javascript"> var document = home; var selectList = home.getElementById("wucSearchResults_ddlRows"); </script>

    Thanks

     
  • Alex Wajda

    Alex Wajda - 2011-10-06

    JavaScript as a language is supported. But DOM is not supported, or at least
    not in a way you would expect it to be if it were a real browser.

    Please read this - http://stackoverflow.com/questions/4911689/rhino-and-dom-
    support

     

Log in to post a comment.