benjam wrote:

: i.e.- If I try something like the following:
: 
: $('form').append('<input type="text" name="foo" value="Quote - \"This
: is a quote\"" />');
:
: The element that gets appended to the form has the following html:

   You could use a single quote as a delimeter.

$('form').append('<input type="text" name="foo" value=\'Quote - \"This is a
quote\"\' />');


    But that looks mighty ugly. You could change the quoted quotes to
an html entity.

$('form').append('<input type="text" name="foo" value="Quote - &#34;This is
a quote&#34;" />');



HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
Free Market Advocate
Web Programmer

254 968-8328

http://www.clarksonenergyhomes.com/wordpress/about/

Reply via email to