473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can't display trademark symbol in javascript and aspx

Hi,

On my site I have "SomeProduct™", a name with the trademark symbol, in
a javascript menu. When the page (js) was refered in classic asp it
showed the trademark symbol. Now the page is aspx (.net) and the
traemark symbol displays as a "?".

I used String.fromCharCode(153) to display the "™", but it displays a
box.

How do you display the TM in javascript and .net?

Thanks,

Phin
Nov 17 '05 #1
2 3918
<script>
document.write("SomeProduct&trade;");
</script>

"mrwoopey" <mr******@yahoo.com> wrote in message
news:e4**************************@posting.google.c om...
Hi,

On my site I have "SomeProductT", a name with the trademark symbol, in
a javascript menu. When the page (js) was refered in classic asp it
showed the trademark symbol. Now the page is aspx (.net) and the
traemark symbol displays as a "?".

I used String.fromCharCode(153) to display the "T", but it displays a
box.

How do you display the TM in javascript and .net?

Thanks,

Phin

Nov 17 '05 #2
> On my site I have "SomeProductT", a name with the trademark symbol, in
a javascript menu. When the page (js) was refered in classic asp it
showed the trademark symbol. Now the page is aspx (.net) and the
traemark symbol displays as a "?".

I used String.fromCharCode(153) to display the "T", but it displays a
box.


tm = '\u2122';
r = '\u00AE';

That is the JavaScsript representation of Unicode characters. The client machine
still needs to have adequate fonts installed.

http://www.crockford.com

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: K McNeil | last post by:
I'm trying to run this query: SELECT * FROM features WHERE food_group_ID = 'Company™' I've tried Company%99, Company™ Company&trade; and nothing returns. What do I need to pass from a jsp...
2
by: mrwoopey | last post by:
Hi, On my site I have "SomeProduct™", a name with the trademark symbol, in a javascript menu. When the page (js) was refered in classic asp it showed the trademark symbol. Now the page is aspx...
17
by: lauren quantrell | last post by:
I have an Access application with the name: MyAppName® It has the "®" symbol (ChrW$(&H00AE)) at the end of it. If I remane the application without the "®" symbol, I can use FindWindow to close the...
2
by: dasilva109 | last post by:
Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday //ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include...
2
by: sasingh75 | last post by:
We have a strange problem using trademerk symbol in our emails. We store certain templates in database as long text. A aprt of the text looks as shown below. "Please access the XYZ â„¢ site to...
3
n8kindt
by: n8kindt | last post by:
simple question: is there a chr() number code for the trademark symbol? i am compiling an email in vba and need to use the trademark symbol when sending it out.
4
by: zion4ever | last post by:
Hello good people, Please bear with me as this is my first post and I am relative new to ASP. I do have VB6 experience. I have a form which enables users within our company to do an intranet...
1
by: danka21819 | last post by:
Hi, I am a front end web designer/developer and analyst...struggling with putting an accordian flash xml menu together. I have it done except I need to add a simple trademark symbol circle with r. I...
1
by: danka21819 | last post by:
Hi, I am a front end web designer/developer and analyst...struggling with putting an accordian flash xml menu together. I have it done except I need to add a simple trademark symbol circle with r. I...
1
by: danka21819 | last post by:
Hi, I am a front end web designer/developer and analyst...struggling with putting an accordian flash xml menu together. I have it done except I need to add a simple trademark symbol circle with r. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.