How to execute a page's javascript function in perl?
        Posted  
        
            by 
                Andrei dela Cruz
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Andrei dela Cruz
        
        
        
        Published on 2012-12-02T10:42:13Z
        Indexed on 
            2012/12/02
            11:04 UTC
        
        
        Read the original article
        Hit count: 315
        
JavaScript
|perl
I am trying to extract data from a website using PERL. Below is the description of the site:
- site displays data dependent on a date
- a calendar is displayed that is used to change the date
- upon clicking the dates in the calendar, it calls a javascript function that passes in the date and refreshes the part of the page that displays the data
My question is, how do I execute that JS function so that I could loop through the dates that I need data from?
Thanks in Advance
© Stack Overflow or respective owner