Ok I need help- I have a form - and i am setting up an automatic text paging thing with Metrocall. Everything works fine, except I am trying to insert the current date & time + a text message immediately following the date and time inside of an input form.
Here is my code:
-------------------------------------------
<head><script>
function showit(){
var current = Date();
document.the_form.message.value = current;
}
</script></head>
<BODY ONLOAD="showit(); document.the_form.submit()" ...>
<TEXTAREA NAME=message ROWS=3 COLS=55 WRAP=virtual>
User Down! Check Heat ASAP!
</TEXTAREA>
------------------------------------------------
ok - what it currently displays is just the date & time. I can't seem to get it to show the "user down" text as well. Does anyone know how I can manipulate my code to display BOTH the date + the text in the text area?
I am an idiot so if you know the answer I'll need special instructions! ;-)
Here is my code:
-------------------------------------------
<head><script>
function showit(){
var current = Date();
document.the_form.message.value = current;
}
</script></head>
<BODY ONLOAD="showit(); document.the_form.submit()" ...>
<TEXTAREA NAME=message ROWS=3 COLS=55 WRAP=virtual>
User Down! Check Heat ASAP!
</TEXTAREA>
------------------------------------------------
ok - what it currently displays is just the date & time. I can't seem to get it to show the "user down" text as well. Does anyone know how I can manipulate my code to display BOTH the date + the text in the text area?
I am an idiot so if you know the answer I'll need special instructions! ;-)