Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

How to I run a javascript on my HD in an existing dom?

            java.util.logging.Logger.getLogger("com.gargoylesoftware.htmlunit").setLevel(java.util.logging.Level.OFF);
            java.util.logging.Logger.getLogger("org.apache.http").setLevel(java.util.logging.Level.OFF);
            LogFactory.getFactory().setAttribute("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog");
            URL url = new URL ("http//google.com");

            WebClient webClient = new WebClient();
            HtmlPage page = webClient.getPage(url);

I want to run "88349.js" here within "page" and get the return data for that url.

share|improve this question
    
no one really some one must know how to. –  Spik330 May 29 '13 at 3:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.