Link to home
Start Free TrialLog in
Avatar of halfondj
halfondj

asked on

Tables and Form questions

I'm new to HTML coding and need a few questions answered.

1.  I coded an HTML page to display a table with a lot of rows.  There's quite a pause between the time of displaying the other controls on the page and the large table.  Is there any way of speeding up the table display?

2.  Is it best to split the different sections of a page with many tables or use one large table?

3.  On the page I created, I have checkboxes, radio buttons and buttons.  Do I need to use the FORM tag?  My application is standalone.  It is not web-based.

Thanks.
Avatar of Harisha M G
Harisha M G
Flag of India image

Hi halfondj,
    2. Yes -- it would be better
    3. No -- you don't have to use Form

Bye
---
Harish
Avatar of halfondj
halfondj

ASKER

Thanks for the reply.

>> you don't have to use Form
Why not?
Form is generally used when you have to Submit the data to the server. But you told you aren't using web features. So you need not use that.
Thanks.  Any ideas about #1?
You can preload the whole page and display them after that. It appears as if all are loaded at once. But if you are a beginner, don't worry about that.
.. Also that needs the knowledge of scripting like JavaScript or vbScript
Thanks.  I would still like to know.

>> Also that needs the knowledge of scripting like JavaScript or vbScript
I know a JavaScript and VBScript.

Can you explain the implementation?

ASKER CERTIFIED SOLUTION
Avatar of dorward
dorward

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
First collect all the data into a variable.
For example..

<script language=javascript>
   var s;
   s = "<table>whatever you need here</table>"
   document.write(s);
</script>
Very good JavaScript tutorial here:
http://www.w3schools.com/js/default.asp
Thanks for all the replies.  I really appreciate it.