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 - "This is a quote"" />'); HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/