473,385 Members | 1,806 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,385 software developers and data experts.

how to make $ equal any other symbol ?

how to make $ = any other symbol in javascript language
to make this javascript code to read this symbol as $

for example
how to make javascript read ( # ) as ( $ )
because i want to put #TEXT# in php code but i want certain javascript program read this as $TEXT$ ,,,, why ? because if i put $TEXT$ in php it read it as a variable and doesn't generated in html source so javascript program will not work
Dec 8 '09 #1
3 1610
DMsy2
15
$TEXT will only be a variable inside PHP code, which will never be visible to the Javascript in the browser.

Do you mean you want to do
echo " $TEXT$ ";
?
Would
echo ' $TEXT$ ';
do what you want?

What are you really trying to achieve, without talking of # and $ ?
Dec 8 '09 #2
Dormilich
8,658 Expert Mod 8TB
because if i put $TEXT$ in php it read it as a variable and doesn't generated in html source so javascript program will not work
this problem has been solved by Atli in your other thread.
Dec 8 '09 #3
Thanks DMsy2 , your answer was useful too
Dec 8 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

28
by: The Eternal Squire | last post by:
PEP: 336 Title: Make None Callable Version: $Revision: 1.1 $ Last-Modified: $Date: 2004/11/03 16:58:30 $ Author: Andrew McClelland Status: Draft Type: Standards Track Content-Type: text/plain...
7
by: Ben | last post by:
Hi all, I'm not yet good at thinking the right way in c++ so although I could solve this problem, I'm not sure if they way I'm thinking of is the best way to do it. I need a data type or class...
11
by: namenotgivenhere | last post by:
My design goal is to make the white space above and below <p> and <ul> equal to the height of my font. The first step to achieving this I believe is to have an equal amount of white space above or...
4
by: Bernd Muent | last post by:
Hi together, I made a DLL in the following way (simplified example just to explain what is the problem) using devcpp and gcc compiler on Windows XP: dll.h: #ifndef _DLL_H_ #define _DLL_H_ #if...
5
by: Bruce | last post by:
I am a C++ programmer so sorry for the simple VB question. If I have two instances of the same type of object, how do I make the value of one equal to the other? If I do Dim ObjA as new...
6
by: Joe | last post by:
I've been getting this message at all different times since a few days ago. I understand the message but not why I get it. I don't have any other threads. This happens when closing dialog boxes,...
12
by: =?Utf-8?B?S2plbGw=?= | last post by:
Hello I've taken a four days training in C#, very good training, experienced teacher and all that, very positive. Went home spent a week making my first application, slightly more than the...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
3
by: =?Utf-8?B?UmljaA==?= | last post by:
I copied a down arrow triangle symbol from the character map and added this symbol to a menu Item on a menustrip on a form in my app. On saving the project a dialogbox asked if I wanted to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.