Title: Messager.prompt - Enter Key Post by: PaulMcGuinness on May 30, 2014, 04:41:02 AM Hi,
I know that the Enter key works by default for the messager.dialog, but I'd like it to fire off the function(r){} when I press the Enter key for messager.prompt (Input dialog) as well. Any ideas? Kindest regards, Paul Title: Re: Messager.prompt - Enter Key Post by: PaulMcGuinness on June 09, 2014, 03:07:59 AM Solved it myself...
after the normal message.prompt code:- Code:
Add this:- Code: $('.messager-input').bind('keypress', function(e) { |