6 ms·
Watch out, if a value with single quotes is passed into updateVal, you're screwed! Why not do: $(current).append( $('<input class="editing" type="te
by schrodinger 12y ago
Watch out, if a value with single quotes is passed into updateVal, you're screwed!
Why not do:
$(current).append(
$('<input class="editing" type="text"/>').val(value));