Search

You searched for the word(s): javascript
Showing page 6 of 408 (4,076 total posts) < 1 second(s)
  • Re: What is the correct way to set width and height of the editor in Javascript

    FredD,   How did you get the editor object?   If your editor ID is ''Editor1'' the client ID will be ''CE_Editor1_ID''.   SetWidth() This method is used for setting the width of CuteEditor Example: // get the cute editor instance ...
    Posted to Cute Editor for .NET (Forum) by Adam on February 27, 2008
  • Re: Set the value of a dropdown using Javascript?

    Okay, I now have worked out how to change the innerHTML but the control remains the same ... is there a way to redraw / refresh it? Here is the code so far.   lp = document.getElementById('CE_ctl00_ctl01_bcr_PostForm___PostBody___Editor_IDfontname'); if(lp)     {         ...
    Posted to Cute Editor for .NET (Forum) by Flintstone on December 21, 2007
  • Re: calling editor dialogs via javascript

    How to use CuteEditor as a document selector?( Demo) This example demonstrates how to use CuteEditor as a document selector. How to use CuteEditor as an image ...
    Posted to Cute Editor for .NET (Forum) by Adam on April 23, 2007
  • Re: JavaScript API

    vlad-G,   I suggest you create a custom button and using the following function:   function do_insert(){    editor.PasteHTML(''put your link HTML code here'');    top.close();}   Or change the existing link dialog.   >>I let user select the link he needs how can I get what ...
    Posted to Cute Editor for ASP (Forum) by Adam on October 1, 2006
  • Re: JavaScript API setHTML

    Michael,   You need to use setTimeout funtion to wait for the editor's status is ready. setTimeout(setHTML,1000);   function setHTML()   {    // get the cute editor instance    var editor1 = ...
    Posted to Cute Editor for .NET (Forum) by Adam on September 28, 2006
  • Re: JavaScript API capabilities

    Paul,   The following code only work in IE.   var editor1 = document.getElementById('<%=Editor1.ClientID%>'); var sel = editor1.GetSelection(); var r= sel.createRange(); var reg_td = /<td[\s\S]*?\/td>/gi; if(reg_td.test(r.htmlText)) { var tds = r.parentElement().getElementsByTagName(''TD''); ...
    Posted to Cute Editor for .NET (Forum) by Adam on December 7, 2005
  • Re: Popup blocked javascript error

    Any thoughts on this issue?  The demo editor will generate an error as well. Here's some details:Use a recent version of IE (mine is 6.0.2900.2180) the Popup Blocker enabledDraw a 2x2 table on the editor pageSelect the table and bring up the Table Properties windowClick the Cell Properties button The demo editor will generate an ...
    Posted to Cute Editor for .NET (Forum) by skipl on May 24, 2005
  • Re: Inserting Into the Text Area with Javascript

    johnkeithwood, Here is an example to create a custom botton and paste the html code into the editor: create a custom botton and paste the html code into the editor      //about Italic, see Full.config    //<item type=''image'' name=''Italic'' imagename=''Italic'' /> ...
    Posted to Cute Editor for .NET (Forum) by Adam on November 29, 2004
  • Re: Multiple editors - tricky JavaScript?

    Figured it out. The Save function is looking for an object, so the dynamically generated Editor name should be encapsulated with the eval function. Fixed code:    for ( var i=0,n=document.forms[0].elements.length; i<n; i++ ) {     var field = document.forms[0].elements[i];     myString = ...
    Posted to Cute Editor for ASP (Forum) by Anonymous on March 26, 2004
  • Re: JavaScript Issue

    Bobby Tange,   Do you have problems in the following example?   http://cutesoft.net/example/EnableStripScriptTags.aspx   If yes, please send me your JavaScript Code.   If not, which version of CuteEditor are you using?   The latest version of CuteEditor is version ...
    Posted to Cute Editor for .NET (Forum) by Adam on May 22, 2006
« First ... < Previous 4 5 6 7 8 Next > ... Last »