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 7522563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:33:32+00:00 2026-05-30T02:33:32+00:00

I am using javascript function for copy/paste (CRTL+V) in textbox. Local run of the

  • 0

I am using javascript function for copy/paste (CRTL+V) in textbox. Local run of the project works fine but if I host the project in IIS then I get a prompt saying

Do you want to allow this webpage to access your clipboard

I know, JS function tries to read data from clipboard and hence the prompt (for security reason).

Problem is, If I click “Don’t allow” then it doesn’t allow me to type anything in the textbox.

Can anyone help me on this please. Any idea how to get rid of this.

Thanks.

EDIT: Below is code sample

<asp:TextBox ID="txtsenum" runat="server" Width="300px"
onkeyup="return myFunc(event, this);"></asp:TextBox>

JS Function Below:

function myFunc(e, txtsenum) 
{
    var key = e.which || e.keyCode;
    if (e.which == 86 && e.ctrlKey)
        //Some Code Here ...;
    else {
        // Some other code here ...    
    } 
   return false;   
}
  • 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-30T02:33:34+00:00Added an answer on May 30, 2026 at 2:33 am

    This seems a browser issue instead. Try out this (for IE):

    1. Go to Tools -> Internet Options.
    2. Go to Security tab.
    3. Select “Internet” zone, then click on “Custom level…” button.
    4. Scroll down to “Scripting” section (at the bottom few).
    5. Under “Allow Programmatic clipboard access” option, check or select
      (tick) Enable. Default action for this option is Prompt, which cause
      the pop-up message whenever there is any attempt to access the
      Clipboard.
    6. Click Ok twice to exit from Internet Options

    This link may help you more on this.

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

Sidebar

Related Questions

I'm using a javascript function to submit my form. This works in every browser
I call a javascript function from a textbox by using OnKeyPress=clickSearchButton() Here is my
HTML: <input> JavaScript using jQuery: $('input').focusin(function(){ alert('input focused') }); Live copy on jsFiddle.net Very
I am using JavaScript, jQuery and PHP. How do I limit the JavaScript function
Using the javascript function function squareIt(number) { return number * number; } When given
How do you trigger a javascript function using actionscript in flash? The goal is
I wish to execute a javascript function after asp.net postback with out using ajax.
I'm using the following code to override a JavaScript function named dismissRelatedLookupPopup(). In Firefox,
is there any example on using java method to call rhino-javascript function and return
I have a variable that I'm using to build a JavaScript function call, and

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.