What steps will reproduce the problem?
$("#ContainerDiv").on('keypress', ".commentInput", 'ctrl+return', function(){
alert("postComment");
});
What is the expected output? What do you see instead?
Using the above code doesn't bind to textareas with the class .commentInput
I need to use this syntax as I'm dynamically adding content to the main div, so
binding the key press event directly to the input box via id attribute isn't
viable. I'd wind up with stacking ID's.
Original issue reported on code.google.com by Anthony....@gmail.com on 4 Aug 2014 at 3:16
Original issue reported on code.google.com by
Anthony....@gmail.com
on 4 Aug 2014 at 3:16