Thanks DMsy2
Thanks DMsy2 , your answer was useful too
how to make $ equal any other symbol ?
Collapse
X
-
this problem has been solved by Atli in your other thread.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 workLeave a comment:
-
$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 $ ?Leave a comment:
-
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
Leave a comment: