I am pretty new in ReactJS . I have created a DOM element using reactJS JSX
var Button = React.createClass({
render: function() {
return <div><button className="btn btn-primary" id="viewThis"> View This</button></div>
},
});
Now I want to apply some jquery stuffs on that element based on some event for eg :
$("#viewThis").click(function() {
//Code goes here
})
If this is doable. For some reason my jquery code is not working.