This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752
    
  65

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dynamically add new tables if needed
 
Similar Threads
Provide function to change the properties after first run?
How do you use javadoc arguments?
Compile the project VS each single java file
JSP or JSF?
Good SCJD related books