[英]How to handle change event for jPrompt input?
I need to capture change/blur event of Jprompt input control.我需要捕获 Jprompt 输入控件的更改/模糊事件。 How to capture the event?
如何捕捉事件?
$('#prompt_button').click(function(){
$('#popup_prompt').on('blur keyup', function(){
alert($(this).val())
});
});
This should work.这应该有效。
Here $('#prompt_button')
is the button which triggers the popup open这里
$('#prompt_button')
是触发弹出窗口打开的按钮
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.