WWW-Mechanize - get the source code for the javascript & AJAX webpages

Posted on Mon Feb 25 07:32:09 2008 by snsanju
get the source code for the javascript & AJAX webpages
I have written the program to get the complete output of the webpage. But, in this output i am getting html source and javascript functions not the full source that i see exactly on the webpages. For example: webpage is having the form, combobox(select) and options, where in view source or the output from the perl program that i wrote its showing only script which is calling once the body loads completely. when i see the view source of that page then the output is also same as my programs output. here how can i get the complete source code using this module. This webpage is completely javascript and ajax driven. Can somebody provide me with few example or the module, so i can have a good idea about this and will proceed further Thank you Sanjeev
Write a response