H
Harry
Hi there:
have been trying to use Mechanize to submit a form and scrape the
resulting page - but realized after looking at the form page that it
uses Javascript to perform the form submission :-/
The page with the form is built such that
<form METHOD="POST" ACTION="somepage.asp?param1=value1"
onSubmit="return checkSelections()">
The Javascript function checkSelections in turn then calls
document.forms[0].submit();
I understand Mechanize doesn't include a JavaScript engine and I don't
want to choose a platform-specific route, i.e. control Windows IE.
Has anyone experienced similar difficulties?
Thanks, Harry.
have been trying to use Mechanize to submit a form and scrape the
resulting page - but realized after looking at the form page that it
uses Javascript to perform the form submission :-/
The page with the form is built such that
<form METHOD="POST" ACTION="somepage.asp?param1=value1"
onSubmit="return checkSelections()">
The Javascript function checkSelections in turn then calls
document.forms[0].submit();
I understand Mechanize doesn't include a JavaScript engine and I don't
want to choose a platform-specific route, i.e. control Windows IE.
Has anyone experienced similar difficulties?
Thanks, Harry.