You can use below code if you want to add and remove classes in JS without jquery:

var select = document.getElementById("section").value;
if(select == 'popup'){
	  document.getElementById("justforpoupvisiable").value = 1;
	    document.getElementById("poupvisiable").value = 0;
Please login or Register to submit your answer

Log In

Not the answer you are looking for? Browse other questions tagged or ask your own question.