When i click on the button it is working, but when i release the button second event "onmouseup" is triggered and ajax function is getting error. Is there anything wrong in the script ?
- <button id="myP" onmousedown="mouseDown_b()" onmouseup="mouseUp_b()">Click Mebutton>

Priyanka JainRank #356 · 7K reputationPosted Aug 10, 2019, 2:59 AM EDT
Faisal68 reputationPosted Aug 10, 2019, 3:46 AM EDT