From: rita Date: 2008-01-03T16:55:14+09:00 Subject: calling a javascript function with Mechanize Hi all, I am using Mechanize. I can get the particular contents but I am not getting the expected data. There is a function in javascript as, window.onload = function() { if (location && location.search == "") { location.replace('/po3/?_d'); } else { location.replace('/po3/' + location.search + '&_d=1'); }; }; I think this function is not getting called so I am not able to get the expected data. I want to call this function with Mechanize. Please help me... Thanks in advance.