I want that whenever I add on button then a class should append and after next click class should remove. I tried with following code but class not removing in second click here is my code.
$("#hide_show_keypad").click(function (e) {
$(this).addClass("fcurrent").siblings().removeClass("fcurrent");
});
<input type="submit" name="btn" id="hide_show_keypad" class="mytest" >