Okay my script take input from the user by them filling out a XHTML form and processes it to create a table of data. I realise there is two ways of doing this, by using [document.write] or by using the DOM... but which way is the correct way? (it's for a university assignment so shortcuts aren't acceptable). Thanks, Mike
Depends on what you need to do. You can use document.write only if you are not going to do (display) anything else on the page. If you do it with DOM you can embed the table inside a page and still have another stuff on it...
Excellent, thanks. It's not specified to have anything else on the page so I suppose I'll use document.write, it seems a lot easier too. Thanks xlcho