title: how to remove previous class and add new class in jquery?
body: <p>I am storing my primary key as Classname</p>
  
  <p>everytime this function called i will have new primary key key,</p>
  
  <pre><code> function OnBtnShowPopupClick(elementID) {
                  ASPxClientPopupControl1.ShowAtElementByID(elementID);
                  $("#hiddenTag").addClass(elementID);
              }
  </code></pre>
  
  <p>what i want is to remove previous classname and add new className</p>
  
  <p>how?</p>