Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 508883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:57:12+00:00 2026-05-13T06:57:12+00:00

I know this question was asked like a million times by now, but I

  • 0

I know this question was asked like a million times by now, but I couldn’t really find a good up-to-date solution.

I’ve implemented my own menu to provide the user the ability to Cut, Copy and Paste into my WebApp.
But I’m not sure how to actually work with the clipboard on Firefox, IE, Safari/Chrome.

Thank you for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:57:13+00:00Added an answer on May 13, 2026 at 6:57 am

    did u try :
    http://ericphan.info/development/cross-browser-copy-and-paste-with-jquery-copy/

    UPDATE:
    the link is not available so i copy the content from cache :

    The Scenario

    I was working on a client project for SSW when the client reported a bug in the web app.

    The bug involved a dynamically generated mailto link that got updated when you selected multiple employees. The client was reporting an error when he selected more than 10 employees to email. His Lotus Notes mail client popped up an error saying:

    Error processing command line arguments

    Testing this myself I found that Outlook 2007 could easily support the emails of 30-40 employees before the mailto link stopped working.
    The Cause

    It turns out that the mailto spec has a limit and the mail clients also have a limit. Lotus Notes only handles 240 characters in the mailto link and other modern mail clients like Outlook 2007 support the 2083 characters – the max length of a URL

    This explains the discrepancy in testing.
    The fix – JQuery to the rescue

    Since this is a limitation of the HTML spec we needed another solution to meet the client’s requirement of “I want to be able to select multiple employees and send an email to all of them”

    We could have created an email form that used SMTP to send out the email – but the client wanted to use Lotus Notes as his mail client.

    We ended up changing the “email” button to copy all the emails (comma separated) onto the clipboard and popped open a new email window. All the client had to do was hit CTRL + V and paste the emails into the TO field. This was the quickest and most cost effective solution that gave the client the flexibility to use their own email client.

    There is a JQuery plugin called jquery.copy that provided cross browser copy and paste by using a flash (swf) file. This is similar to how the syntax highlighter on my blog works.

    Once you reference the jquery.copy.js file all you need to do to push data into the clipboard is run the following:

    $.copy("some text to copy");
    

    Nice and easy 😉

    Note: you may need to change the path the the SWF file in jquery.copy.js to get this to work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question has been asked numerous times but I couldn't find a
I know it seems like this question has been asked a million times, but
I know this question has been asked before but I really couldn't find anything
I know that this question might have been asked like 100 times, but, believe
I know this question has been asked so many times before but I couldn't
I know this question has been asked several times, but I would like to
I know this question was asked for many times, and it may look like
I've asked this same question with Python. Now I like to know if this
I know this question was asked here many times before but I am still
I know this question as been asked countless times, but believe me I've searched

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.