I am using jquery password generator plugin. But I also want to show the strength meter, after the password generated it is pasted into the textbox. I want to call a function when the password is pasted into the text-box,but I cant detect the event.
I tried :-
<script type="text/javascript" src="http://gigstarr.com/js/pGenerator.jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#mylink').pGenerator({ 'bind': 'click', 'passwordElement': '#user_password', 'displayElement': '#user_password_show', 'passwordLength': 16, 'uppercase': true, 'lowercase': true, 'numbers': true, 'specialChars': true, 'onPasswordGenerated': function(generatedPassword) { alert('Please copy your Password :-' + generatedPassword); } }); }); </script>
Any suggestions?
'bind': 'click paste',