File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

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

Joined: Jan 10, 2002
Posts: 60045

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
I agree. Here's the link:
subject: Dynamically add new tables if needed
Similar Threads
Compile the project VS each single java file
Good SCJD related books
Provide function to change the properties after first run?
How do you use javadoc arguments?