Posts: 252
Location: Auckland, New Zealand
|
I recommend against not using innerHTML as it is IE specific although Firefox does support this too not all browsers do, it's not standard, you have to use proper DOM creation to do such a thing so that it is known to the DOM document.
Another thing is the input element requires it to be inside a form, only if using XHTML 2.0 and XForms would this be possible but IE does not support this yet, nor do they say when they will.
I would suggest using a serverside language, as you can not secure the type of input effectively using javascript which would be a big concern if you allowed this.
You do require a PHP enabled web server for your code, and what you've written from what I've looked at so far, I can tell you that you'll receive a lot of errors and warnings.
You could quickly write something like this if you ignore the security concerns of it, it's not a tough project at all.
Cheers,
MC
__________________
#------------------------------ signature---------------------------------------------------------------------------------#
Quote:
|
I am well recognised for what I don't do than what I do. Chores are just one of those things.
|
|