I am storing my primary key as Classname
everytime this function called i will have new primary key key,
 function OnBtnShowPopupClick(elementID) {
                ASPxClientPopupControl1.ShowAtElementByID(elementID);
                $("#hiddenTag").addClass(elementID);
            }
what i want is to remove previous classname and add new className
how?
Have you looked at removeClass
i.e
$("#hiddenTag").removeClass('someclass').addClass(elementID);
And if you don't know the class name:
$("#hiddenTag").removeAttr('class').addClass(elementID);
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With