<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><br><div style="margin-left: 40px;">
val('self.' + attr + '=\'' + val + '\'')<br>
</div></div></div></blockquote><div><br>Obviously that was eval, not val. Also it doesn't work without the escaped single quotes, either. <br></div></div>