The javascript jQuery code below works, except I would like to add 2 features to the button's state.
When a user clicks one of the buttons, the other button that was not clicked gets a new class (look).
Both button's state should change to unclickable.
[div id="1" class="__button_image"] [/div] [div id="2" class="__button_image"] [/div]
$("div.__button_image").mouseover(function () {
$(this).addClass("__button_image_hover");
});
$("div.__button_image").mouseout(function () {
jq(this).removeClass("__button_image_hover");
});
$("div.__button_image").click(function () {
$(this).removeClass("__button_image_hover");
$(this).addClass("__button_image_clicked");
jQuery.get('/do/request');
});