Wow, you saw right through that code, thank you very much that was it.
I've got one more question though, it seems mechanize can't see text generated through javascript, is there any way I can get it ?
For example, here's a bit of code:
function calculate(){ if(date_completate(0)){ $('#PolitaAddForm').ajaxSubmit(formoptions); }else{ $('#prima').html("Insufficient data."); } } var formoptions = { target: '#prima', url: '/rca/ajax/calcul' };
Now when you first enter the form page you can see "Insufficient data" in the div with the id "prima". If you complete some of the form that changes into a number. That's what I want to get. There are other ways to get it but this would be the most straightforward one.
In reply to Re^4: Help getting text from website using www mechanize
by Kesarion
in thread Help getting text from website using www mechanize
by Kesarion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |