Secondly this questions gets asked every so often (did you Super Search before posting?), LWP and WWW::Mechanize do not support JavaScript. You can either reverse engineer the JavaScript within you Perl code (where possible) or use Win32::IE::Mechanize or Mozilla::Mechanize.