Block Copy Paste on Mobile App

Hi,

I work on project, and i have 1 input text box that use input mask.

On input text box, I want block copy paste


Can you give me solution?


Regards,

Jonatan

Jonatan Tristanto wrote:

Hi,

I work on project, and i have 1 input text box that use input mask.

On input text box, I want block copy paste


Can you give me solution?


Regards,

Jonatan

Hi Jonatan,


you can use jquery code for this. like

i have email textbox and their id is email -

 $('#email').bind("cut copy paste",function(e) {
     e.preventDefault();
 });

Hope this will help you.

Thanks 

Rahul