Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript onPaste

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way i can implement onPaste in Javascript?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what your question is... Some browsers support it.

Eric
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question is , how do implement onpaste in Javascript, onpaste exist for some browser but not in all browsers, I am trying to write a javascript implementation of onpaste
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find onpaste here: http://msdn.microsoft.com/en-us/library/ms533051.aspx

Still do not understand your question. You are trying to write a version of onpaste for browsers that do not support onpaste?

I doubt you would get a perfect solution. I am sure if you googled for it you can find other people's attempts at it.

Why do you want to use onpaste?

Eric

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i am using this JSF element <h:inputText>, it does not have onpaste as one of its attributes, so i need to write a javascript function for onpaste
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic