Reply to Re: Variable Replacement in HTML

Your name:

Reply:


Posted by Jonathan N. Little on 10/18/20 11:58

Leif K-Brooks wrote:
> Toby Inkster wrote:
>> Firstly, Javascript variables cannot begin with a dollar sign.
>
> Yes, they can; it's just not a very good idea in most cases. The
> ECMAScript spec says:
>
> IdentifierName ::
> IdentifierStart
> IdentifierName IdentifierPart
> IdentifierStart ::
> UnicodeLetter
> $
> _
> UnicodeEscapeSequence
> IdentifierPart ::
> IdentifierStart
> UnicodeCombiningMark
> UnicodeDigit
> UnicodeConnectorPunctuation
> UnicodeEscapeSequence

Very true, but man can you really mess yourself up when building the
page with PHP or Perl! You technically can but I would highly recommend
that you don't.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация