Make Javascript Variable Null – Jquery ajax
I have one variable in Jquery it which I am assigning the value at a button click. Now after the successful execution of the code, I want to make the variable null. $("#btnAdd").click(function () { var myDataVariable= {}; myDataVariable.dataOne="SomeData"; myDataVariable.dataTwo="SomeData";…