You are here: Re: Hidden field value displaying when the text contains double quotes « HTML « IT news, forums, messages
Re: Hidden field value displaying when the text contains double quotes

Posted by Bergamot on 03/28/07 23:26

DennBen wrote:
>
> I have a dozen or so hidden fields to a form and they are hidden as
> they should be, unless the value I assign to them has double quotes
>
> myVariable = '"Our values are the backbone of our business"<BR>"This
> set of quotes will break it"'

myVariable = '&quot;Our values are the backbone of our
business&quot;<BR>&#34;Replace quotes with entity names or decimal
references&#34;'

--
Berg

 

Navigation:

[Reply to this 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

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