More Javescript than anything.
I need a script so that i can insert the date into a input field for insertion into the database. Any one know if and how this can be done.
anyone know where i can get free forums like this for download?
Cheers
I am a signature virus, copy me into your signature to help me spread
Busy posted this at 21:45 — 22nd April 2003.
He has: 6,151 posts
Joined: May 2001
forums = phpbb.com or invisionboard.com
Javascript = I think it's new Date();, add that into your form and it will turn into a variable which should be able to be inserted using whatever language your database uses
Welcome to TWF
robert_raw posted this at 08:01 — 23rd April 2003.
They have: 5 posts
Joined: Apr 2003
Thank you for replying with the info, i aint sure if i understand, here is my original code.
<script>
1 - 12
document.write(month + "/" + date + "/" + year);
// End hiding script -->
</script>
I want that date to appear in the input box within my html document instead of just appearing on the top of the document. Thought it was to change bold bit to document.dateform.datebox.value but that aint working. Could you suggest the changes to the code above please?
Much appreciated
I am a signature virus, copy me into your signature to help me spread
robert_raw posted this at 09:31 — 23rd April 2003.
They have: 5 posts
Joined: Apr 2003
Sorted it now thanx
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.