This is Exercise 11.7, lecture on using the jQuery library, used in the course IDATA2301 Web technologies at NTNU, campus Aalesund.
The purpose of the exercise is practice using the fancy features of jQuery library.
Re-do the exercise 11.3 (throwing a die)
using jQuery. Instead of using the XMLHttpRequest
, use
$.get()
to
send an HTTP GET request to the server, then display the dice value, as
you did in exercise 11.3.
You can find a solution here.