[jQuery] Re: Problems appending inputs with quotes in the value
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
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