Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^4: https javascript form

by PerlSufi (Friar)
on Jun 13, 2013 at 14:08 UTC ( #1038747=note: print w/ replies, xml ) Need Help??

in reply to Re^3: https javascript form
in thread https javascript form

See if
 $mech->click_button(value => "Log ind");
works after you filled in the fields successfully

Comment on Re^4: https javascript form
Download Code
Replies are listed 'Best First'.
Re^5: https javascript form
by Anonymous Monk on Jun 13, 2013 at 18:18 UTC
    Nope. It doesn't work either.

    I have a feeling that it has something to do with the 'action'-url contained in the form. Could that be true? and how do I implement it in my submit_form? I have being searching for examples but haven't found any relevant yet.

      Maybe. You can try  $mech->post($url); I think. If you're willing to use an external browser that interprets javascript, I would take a look at WWW::Mechanize::Firefox or WWW::Selenium

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038747]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2015-11-27 15:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls