Dhamayanthi Karuppanan wrote:We are not using ajax or jquery here. Javascript can be used.
Well, first of all that doesn't make much sense. Ajax
is JavaScript, and jQuery is a JavaScript library.
Without Ajax, you're not going to able to do this (unless you submit and repaint the whole page every time a choice is made as if the page were being written in 2001).
So what's it going to be? Ajax? Or 2001?
And if you are going to do Ajax, it only makes sense to use jQuery or one of the other libraries. Doing Ajax otherwise is simply too difficult and error-prone.