Issue
I'm trying to add onkeyup="Preview.Update()"
as an attribute to a div
.
Is there any way I could do this with a function since the div
is incorporated into a plugin on Wordpress and I don't want to edit it.
Solution
Use jQuery
$("#yourDivID").attr("onkeyup", "Preview.Update()");
Answered By - VDWWD
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.