I am setting up a own made wysiwyg plugin for jQuery. He is almost finished but know i want to add a keyup event to a iframe with designmode on. But i can’t get it worked. I tryied almost everything a found on the internet. The class of the wysiwyg iframe with designmode is .dhwysiwyg. I though the next code will work:
$(function () {
$('.dhwysiwyg', container).keyup(function () {
// the script
});
});
But this won’t work. The keyup event don’t exists.
Can someone help me?
Tom
Does the page in your iframe load its own copy of jQuery? If so, try this in your outer page (the page with the iframe in it, not the page in the iframe):