I have this HTML
This with addition os some css gives this resoult:
I use this code to only allow one active:
$(".btn-group > .btn").click(function(){
$(this).siblings().removeClass("active");
$(this).addClass("active");
});
But it is just visual, and when I try to input vía php POST (within a form) I don't get nothing.
If i change to type=radio, the PHP works fine, but it is uglier.
¿Any magical idea to make it work keeping it fancy?
The php code for testing is:
MegaUltraTest
Thank you.
No comments:
Post a Comment