Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Underline character in button value (IE)


  • From: javascript@xxxxxxxxxx (Mckinney, Lori K)
  • Subject: [Javascript] Underline character in button value (IE)
  • Date: Wed, 29 May 2002 10:34:47 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C20726.5D38204A
Content-Type: text/plain

Peter, 
 
Can you use the <BUTTON> tag instead?  Then you can use HTML on the button face as you'd like (<U></U>).

-----Original Message-----
From: Peter Brunone [mailto:peter_brunone@xxxxxxxxx]
Sent: Wednesday, May 29, 2002 9:33 AM
To: javascript@xxxxxxxxxx
Subject: [Javascript] Underline character in button value (IE)



All,

    I have a form button in IE5.5 for which I've established a hotkey, and I'd like to underline the corresponding letter in the title (VALUE attribute), but the ampersand doesn't seem to do it, and HTML tags display as <u> </u>.  How can I effectively underline in a button?

Cheers,

Peter




  _____  

Do You Yahoo!?
Yahoo! <http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com>  - Official partner of 2002 FIFA World Cup


------_=_NextPart_001_01C20726.5D38204A
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=475053715-29052002><FONT face=Arial color=#0000ff size=2>Peter, 
</FONT></SPAN></DIV>
<DIV><SPAN class=475053715-29052002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=475053715-29052002><FONT face=Arial color=#0000ff size=2>Can 
you use the &lt;BUTTON&gt; tag instead?&nbsp; Then you can use&nbsp;HTML on the 
button face as you'd like (&lt;U&gt;&lt;/U&gt;).</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Peter Brunone 
  [mailto:peter_brunone@xxxxxxxxx]<BR><B>Sent:</B> Wednesday, May 29, 2002 9:33 
  AM<BR><B>To:</B> javascript@xxxxxxxxxx<BR><B>Subject:</B> [Javascript] 
  Underline character in button value (IE)<BR><BR></FONT></DIV>
  <P>All,</P>
  <P>&nbsp;&nbsp;&nbsp; I have a form button in IE5.5 for which I've established 
  a hotkey, and I'd like to underline the corresponding letter in the title 
  (VALUE attribute), but the ampersand doesn't seem to do it, and HTML tags 
  display as &lt;u&gt; &lt;/u&gt;.&nbsp; How can I effectively underline in a 
  button?</P>
  <P>Cheers,</P>
  <P>Peter</P>
  <P><BR>
  <HR SIZE=1>
  <B>Do You Yahoo!?</B><BR><A 
  href="http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com";>Yahoo!</A> - 
  Official partner of 2002 FIFA World Cup</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C20726.5D38204A--