in reply to crawling past a javascript submit function
Super Search is your friend. The question you are asking comes up quite frequently here at the Monastery. This search turned up the following (amongst many other hits):
HTH,
planetscape
In Section
Seekers of Perl Wisdom