This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically add new tables if needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically add new tables if needed" Watch "Dynamically add new tables if needed" New topic
Author

Dynamically add new tables if needed

Ailsa Cape
Ranch Hand

Joined: Aug 10, 2005
Posts: 92
Hello everyone,

Consider this situation, many teachers use a single web page to edit their quizzes at the same time. The number of questions in each quiz could be different. If I use one form to contain one question, which technology should I use in the web page to implement adding forms dynamically if necessary when a teacher uses it? Ajax or something else?

Thank you in advance!
Regards, Ailsa Cape
[ September 25, 2006: Message edited by: Ailsa Cape ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61090
    
  66

Why would you want one form per question?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ailsa Cape
Ranch Hand

Joined: Aug 10, 2005
Posts: 92
Hi Bear,

Thank you for your reply. Yes, you are right. It is unnecessary one form per question, If so, when submitting the quiz,a lot of trouble can occur.
It should be one table per quesiton in a form.

Thank you again.
Regards, Ailsa Cape
 
Don't get me started about those stupid light bulbs.
 
subject: Dynamically add new tables if needed