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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -