Skip to content

Instantly share code, notes, and snippets.

@xgeek-net
Last active August 29, 2015 14:21
Show Gist options
  • Save xgeek-net/40c6bb980d66aaaa57c0 to your computer and use it in GitHub Desktop.
Save xgeek-net/40c6bb980d66aaaa57c0 to your computer and use it in GitHub Desktop.
handle class id in visualforce page with jQuery
jQuery(document).ready( function() {
jQuery('input[id$=\\:myComponentId]').click(function(){
alert('hello world!');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment