I have some HTML that Django is rendering well. I\'d like to click a button on the HTML and have that cause an event to fire in the view.
It doesn\'t look like the butt
Is there a reason Why you are not using the click event directly?
click
Try this:
If the button is dynamically created then you may want to use the bind function to attach click event handler to the element:
bind
Try this URL to include the JQuery library: