<script>
$(document).ready(function(){
$(".odeslat").click(function() {
hodnota = 0;
hodnota += parseInt( $(".entry-content").find("[name='radio-1']:checked").attr("hodnota"));
hodnota += parseInt( $(".entry-content").find("[name='radio-2']:checked").attr("hodnota"));
hodnota += parseInt( $(".entry-content").find("[name='radio-3']:checked").attr("hodnota"));
hodnota += parseInt( $(".entry-content").find("[name='radio-4']:checked").attr("hodnota"));
hodnota += parseInt( $(".entry-content").find("[name='radio-5']:checked").attr("hodnota"));
hodnota += parseInt( $(".entry-content").find("[name='radio-6']:checked").attr("hodnota"));
if(hodnota
<= 8)
{
("fototyp 1");
}
else if(hodnota >= 9 && hodnota <=11)
{
$(".odpoved").text("fototyp 2");
}
else if(hodnota >= 12 && hodnota <=15)
{
$(".odpoved").text("fototyp 3 ");
}
});
i have quiz, where u can get any points for questions (1-5 points) Is it possible make.. if i have for example
<=8 (fototyp 1) that it will automaticly open new tap with
http://www.google.com/ ?