RE: Auto-tagging in a text box
by "Charlton, Mark" <Mark.Charlton(at)saint-gobain.com>
|
| Date: |
Mon, 12 Mar 2001 18:24:35 -0500 |
| To: |
"'hwglister(at)mail.technicalcommunication.com'" <hwglister(at)mail.technicalcommunication.com>, hwg-techniques(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
I would look at having the current messages displayed above and a blank
textbox, where the user enters the comments and then you just append it to
the SQL server field and there you can slap on login, date, ip whatever you
want from the session / global variables.
Failing that you could use onFocus event, the only problem is that it is an
unreliable event and not widely implemented in browsers, at least not
stably.
HTH
MC
-----Original Message-----
From: Imran Zaidi [mailto:hwglister(at)mail.technicalcommunication.com]
Sent: Monday, March 12, 2001 5:06 PM
To: hwg-techniques(at)hwg.org
Subject: Auto-tagging in a text box
Hi all,
I am currently creating a bug-tracking system of sorts, where multiple users
may be adding comments into a textarea. The pages are ASP and feed an MS SQL
Server.
What I would like to do is set up a javascript that 'guards' the textarea so
as soon as a user clicks into it, it tags the cursor entry point with the
date. Maybe even with the user (since using this thing requires a login, I
figure I'll be able to add that into the tagging).
Anyone try anything like this before?
Thanks,
Imran Zaidi
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.