how to make $ equal any other symbol ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • fuchsia555
    replied
    Thanks DMsy2

    Thanks DMsy2 , your answer was useful too

    Leave a comment:


  • Dormilich
    replied
    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.

    Leave a comment:


  • DMsy2
    replied
    $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:


  • fuchsia555
    started a topic how to make $ equal any other symbol ?

    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
Working...