[jQuery] Re: Problems appending inputs with quotes in the value

2008-02-06 Thread benjam
Charles wrote: > You could change the quoted quotes to an html entity. > > $('form').append(''); Gotta love that second pair of eyes. Didn't even think of that. Works great, thanks.

[jQuery] Re: Problems appending inputs with quotes in the value

2008-02-06 Thread Charles K. Clarkson
benjam wrote: : i.e.- If I try something like the following: : : $('form').append(''); : : The element that gets appended to the form has the following html: You could use a single quote as a delimeter. $('form').append(''); But that looks mighty ugly. You could change the quoted quot