Dear All,

I am new to LWP and Perl, but I need them to extract
data from a website where I fill in some search
parameters and the website returns links to the actual
text I need. Since I am searching data of a long list
of companies, I want to automate the process with
Perl. 

>From the html source code of the search page, I can
get the pairs of name-value of the parameters I need.
The problem is it doesn't have a pair for submitting
the form. Instead, it seems to use javascript to do
this, which I have no idea about. Could anyone tell me
how to submit the form using javascript, or at least
point me to some references I can read myself?

Here is the part of the html source code of the search
page I think is relavent:


<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
       
SRC="/universe/media/jscript/suite/form_js_utils.v1.js">
</SCRIPT>


<INPUT TYPE="hidden" NAME="formSubmit" VALUE=""> 
<INPUT TYPE="hidden" NAME="imageSubmit" VALUE=""> 
<a href=""
onClick="submitForm(document.forms[0],'Search');return
false;"><IMG
SRC="/universe/media/images/suite/search_gray.gif"
ALT="Search" WIDTH="58" HEIGHT="20"
BORDER="0"/></a>&nbsp;&nbsp; 
<a href=""
onClick="submitForm(document.forms[0],'Clear
Form');return false;"><IMG
SRC="/universe/media/images/suite/clearform_gray.gif"
ALT="Clear Form" WIDTH="82" HEIGHT="19"
BORDER="0"/></a> 
&nbsp; </td>
    </tr>
  </table>
<div align="center"><center>


Thank you very much!
Best,
Wendy



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to