shortysbest Posted July 13, 2010 Share Posted July 13, 2010 I have a div that has another div inside, the parent div has an onclick to use ajax to load the child div, and then in the child div are buttons, (ajax divs) to enter data into the database, however when i click on the buttons it just requests the div information again, so the buttons do not work. (they do in fact work outside of the div). i read that event.stopPropagation() is suppose to stop this.? I'm not sure how i would go about this,. Onclick="event.stopPropagation()"? or onclick="stopPropagation()"? im not sure. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.