in reply to Re: editing an article that also uses javascript with mechanize
in thread editing an article that also uses javascript with mechanize
coder57, First off, just out of curiosity, do you also post under the user name coder45? The reason I ask is that your usernames are similar, and coder45 asked many questions along the same lines as this one.Yes I am one and the same, haven't logged on for a while, hence created a new name, glad you remember me.
Secondly if you read the WWW::Mechanize documentation you would find: "Please note that Mech does NOT support JavaScript. Please check the FAQ in WWW::Mechanize::FAQ for more."...Since you say it is your site, you may not have too much trouble writing a Perl work around to emulate your JavaScript code you have chosen to useWhere can I find such perl snippets that work around javascript?
"and there are 3 pages, I would like to edit the articles on the first page with the same text in $text, and the the next three articles on the next page with the text in $text2, and the next three articles on the last page with $text3" To me this does not make sense, why would each page have three articles that contain exactly the same text? Also you have the line use Data::Dumper; but you don't use it in your code that you have posted. MartinI meant text links with Article1...Article2...Article3,
Also you have the line use Data::Dumper; but you don't use it in your code that you have posted.I like to use old code, and keep what didn't bail out on me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: editing an article that also uses javascript with mechanize
by marto (Cardinal) on Aug 08, 2006 at 10:46 UTC |