How about wraping the unmodified (no uCase()) string in a SPAN tag and
applying style="text-transform:uppercase;" to it?  That should take
care of it, at least in modern browsers.

cheers,
barneyb

On Tue, 24 Aug 2004 12:20:20 -0400, Cutter (CF related)
<[EMAIL PROTECTED]> wrote:
> Here's my problem. I have a variable that is set from a db call. This
> variable is passed to a tag through an attribute. The attribute value is
> displayed from within a UCase() function. Pretty simple stuff.
>
> But, sometimes the value of the db call contains html code (i.e.: <br /
>  >, or & rsquo ;[broken to protect the message]). After the UCase()
> these little pieces of code don't function as they should, presumably
> due to the actions performed on the them by the UCase() function (i.e.:
> & rsqou ; becomes & RSQUO ;). Any suggestions as to how I should handle
> this?
>
> Cutter
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to