title: Add onkeyup attribute to div using a function
body: <p>I'm trying to add <code>onkeyup=&quot;Preview.Update()&quot;</code> as an attribute to a <code>div</code>.</p>
  <p>Is there any way I could do this with a function since the <code>div</code> is incorporated into a plugin on Wordpress and I don't want to edit it.</p>