redirect - jQuery "next page" and "@name" -


if ($("input[@name='questions']:checked").val() == 'a') {          var mgoed = ['correct! :-)', 'goedzo, dat het juiste antwoord!', 'goed gedaan! :-)'];         var goed = mgoed[math.floor(math.random() * mgoed.length)];         alert(goed) 

next page

i made quiz on codiqa, if answer right shows alert "that right". if it's wrong shows alert it's wrong.

if answer right, want go next page maybe calculator, pages called #page5, #page6 , on.. how can add +1 page, goes "#page4" "#page4+1" = "page5"?

@name

another small question couldn't find on google, why have add "@" to

 [@name='questions'] 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -