Reply to Re: Variable Replacement in HTML

Your name:

Reply:


Posted by Michael Winter on 09/27/45 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.

Indeed:

The dollar sign ($) and the underscore (_) are permitted
anywhere in an identifier. The dollar sign is intended for use
only in mechanically generated code.
-- 7.6 Identifiers, ECMA-262, 3rd Ed.

and there's no reason not to follow that convention.

Mike

[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

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