SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cross-Browser Rich Text Editor (RTE) help please

    i worked in develop Cross-Browser Rich Text Editor (RTE)

    i want to know

    document.writeln(' <td><img class="btnImage" src="' + imagesPath + 'post_button_hyperlink.gif" width="25" height="24" alt="Insert Link" title="Insert Link" onClick="FormatText(\'' + rte + '\', \'createlink\')"></td>');
    these tags \" and '\' highlited in red by which language
    Last edited by mohamedsmh; Feb 21, 2008 at 17:12.

  2. #2
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cross-Browser Rich Text Editor (RTE) help please

    i worked in develop Cross-Browser Rich Text Editor (RTE)
    http://www.kevinroth.com/rte/

    i want to know

    document.writeln(' <td><img class="btnImage" src="' + imagesPath + 'post_button_hyperlink.gif" width="25" height="24" alt="Insert Link" title="Insert Link" onClick="FormatText(\'' + rte + '\', \'createlink\')"></td>');

    these tags \" and '\' highlited in red by which language

  3. #3
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any one could give any small advice
    i know it is javascript code
    but what these tags \'\'

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,718
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    The backslash is an escape character so that the character just following it is interpreted as a string value instead of a special character.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,718
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    they're escape characters so that the following character is seen as a string value rather than a special character.

    See http://www.htmlgoodies.com/beyond/ja...le.php/3470891
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  6. #6
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanksssssssssss boss

  7. #7
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thankxxxxxxxxxxx chef


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •