Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Special Characters

Status
Not open for further replies.

SDyke

MIS
Oct 13, 2005
55
US
I have found that I can use special syntax to display special characters on my form. Example I can have a button with a label of plus-minus by using ±

But if I have an input box on the form how can I use the button to insert the plus-minus symbol into my input string?
 
This

alert(\"±\");

gives an invalid character error
 
I have got the insert of special characters to insert at the end of my textarea string by clicking a button. However, what do I do to get character to insert where ever the cursor is at in the string.

Suppose I have typed Dim 3.0 .030. Now I need to add the plus-minus symbol between to 3.0 and the .030.
 
>what do I do to get character to insert where ever the cursor is at in the string
Hold down "alt"-key and press number pad "177" (alt-177).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top