Ver original$("#yesno button").click(function(e) { e.preventDefault(); var o = $(this).attr("value"); window.location.href = o;}