Skip to main content
Participant
October 30, 2008
Question

ColdFusion beginner

  • October 30, 2008
  • 2 replies
  • 283 views
We are doing web programming in school. I am supposed to write something that will do a tooltip when you either enter an input box or roll over an input box. It is not supposed to be a javascript alert, but a tooltip. This is what I currently have:

<td><input type="input" id="fName" name="fName" OnKeypress="return isNumberKey(event)" size="5" maxlength="20" /></td>

I found some javascript that will check to make sure that a number isn't being entered into the input box. Does anyone have a script that does a tooltip? Any help would be greatly appreciated. Thanks in advance!
This topic has been closed for replies.

2 replies

Inspiring
October 30, 2008
Try title=""

<input name="fName" type="text" id="fName" size="5" maxlength="20"
title="First Name" />

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
http://www.cfnoob.com


"auchampach" <webforumsuser@macromedia.com> wrote in message
news:gecb0f$prp$1@forums.macromedia.com...
> We are doing web programming in school. I am supposed to write something
> that
> will do a tooltip when you either enter an input box or roll over an input
> box.
> It is not supposed to be a javascript alert, but a tooltip. This is what
> I
> currently have:
>
> <td><input type="input" id="fName" name="fName" OnKeypress="return
> isNumberKey(event)" size="5" maxlength="20" /></td>
>
> I found some javascript that will check to make sure that a number isn't
> being
> entered into the input box. Does anyone have a script that does a tooltip?
> Any
> help would be greatly appreciated. Thanks in advance!
>

Inspiring
October 30, 2008
CF8 has <cftooltip> tag.

if you do not like that, look at jQuery js library - it has several very
nice and highly customizable tooltip plug-ins...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/