User Profile

Collapse

Profile Sidebar

Collapse
rakesh bairi
rakesh bairi
Last Activity: Oct 8 '11, 05:09 AM
Joined: Feb 26 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rakesh bairi
    replied to Highlighting Text and save
    Thanks for your reply but it will not work other than IE .

    I m tried with this code
    Code:
    function highlight() {
      var range, sel;
      // IE case
      if (document.selection && document.selection.createRange) {
        range = document.selection.createRange();
        //range.execCommand("Bold", false, null);
        range.execCommand("BackColor", "false", "yellow");
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 29 '11, 01:53 PM. Reason: Added code tags.

    Leave a comment:


  • rakesh bairi
    replied to Highlighting Text and save
    thanks for your reply i m done it
    See more | Go to post

    Leave a comment:


  • rakesh bairi
    started a topic Highlighting Text and save

    Highlighting Text and save

    I am interested in saving text when user selects any text anywhere on a web page that text has to be highlighted and has to save that text as a string in C#.
    when same user saw same page next time text has to be highlighted as done previously by him.
    If anyone knows a simple elegant way to do this I would really appreciate it, but I'll take any solution at this point. Even if you can point me in the right directions that would be...
    See more | Go to post
No activity results to display
Show More
Working...