We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi i am trying to check if user has pressed shiftkey with click
$('input').on('ifClicked', function(event){ console.log(event.shiftKey); var box = $('.i-checks'); });
it always returns undefined. Can you help me. Another thing is the multiselect feature available with pressing shiftkey.
The text was updated successfully, but these errors were encountered:
Same issue here. JS console shows that the event doesn't even have the which or keyCode properties.
Sorry, something went wrong.
Here's the fix:
var shiftKey = window.event.shiftKey;
This will bring in the global window event object, which will detect if the shift key is pressed down.
No branches or pull requests
Hi i am trying to check if user has pressed shiftkey with click
$('input').on('ifClicked', function(event){
console.log(event.shiftKey);
var box = $('.i-checks');
});
it always returns undefined. Can you help me.
Another thing is the multiselect feature available with pressing shiftkey.
The text was updated successfully, but these errors were encountered: