Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: W-M-F and event.keyCode===keys.ENTER

by Anonymous Monk
on Jul 27, 2014 at 03:28 UTC ( [id://1095193]=note: print w/replies, xml ) Need Help??


in reply to W-M-F and event.keyCode===keys.ENTER

sure, load jquery, trigger keypress on your target event, http://api.jquery.com/keypress/

If you can read the source of jquery you can figure out how to do it without jquery

  • Comment on Re: W-M-F and event.keyCode===keys.ENTER

Replies are listed 'Best First'.
Re^2: W-M-F and event.keyCode===keys.ENTER
by pghilb (Novice) on Jul 27, 2014 at 09:07 UTC
    Thanks, will try that! Managed to solve the problem with MozRepl::RemoteObject, following Corion's advice and the hint given in the module's documentation:
    $i->__event('focus'); # $i = the input I am working with $i->{value}='xyz'; $i->__event('blur');

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found