#9 new
norberthu

stripScripts(true) problem in FF 3.5

Reported by norberthu | July 10th, 2009 @ 10:45 AM | in 0.5

in the Demo MooEditable.html, if we change the load event, as the
following:

  window.addEvent('load', function(){
    var s3 ="<div> adfa</div> <script>$('textarea-1').mooEditable();<\/script>34523";
    s3.stripScripts(true);   // line 1
    //window.eval("$('textarea-1').mooEditable();");   // line2
     });
    </script>

In ie, chrome,opera, safari, the Editor works well,
in firefox, we can see all buttons, but the Editor can not input a
letter, and the Editor has no default value.

line 2 works well in firefox.

I use mootools to catch a page(html page) and need run all
javascripts in the page.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A simple web-based WYSIWYG editor, written in Mootools.

People watching this ticket

Pages