CustomButton doesn't paste javascript

  •  06-15-2009, 9:50 AM

    CustomButton doesn't paste javascript

    Hello,
     
    I'm having a problem pasting the returnvalue of my custom pop-up window.
    The returnvalue is
     
    "<script type='text/javascript'>PGEmbedFlash('src','userdata/swf/Videoplayer','movie','userdata/swf/VideoPlayer','width', '300','height', '200','FlashVars', 'videourl=../videos/starwarskid.flv&videowidth=300&videoheight=200','id', 'VideoPlayer','quality', 'high','pluginspage', 'http://www.macromedia.com/go/getflashplayer','scale', 'showall','wmode', 'transparent','devicefont', 'true','menu','true','allowFullScreen','true','allowScriptAccess','sameDomain','salign', 'L','codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0');</script>"
     
    In debugging it goes past the PasteHTML function with the correct value, but it doesn't paste anything in the control.
    when i remove the script tags it works as expected.
    I have made other buttons which paste plain html without any problems.
     
    What can i do to make this work?
     
    framework3.5
    cuteeditor6.3
     
    Regards
      Peter van den Boogaard
      Princen Group ICT
     
     
View Complete Thread