I would like to get the value from the text box when I right click> paste .
$('#searchbox').bind('paste', function (e) { alert($('#searchbox').val()); });
this code did not complete my solution.
Try
$('#searchbox').bind('paste', function (e) { setTimeout(getTextValue, 10); }); function getTextValue() { alert($('#searchbox').val()); }
Source: https://habr.com/ru/post/1784026/More articles:How to "untie" a socket programmatically? - c #how to free memory created by CGContextDrawPDFPage - iphoneWindows Forms Skins in C # - c #Mobile phones have an IP address - mobileAre they a good way to generate an XML file through C # in .NET. - c #Checking component hierarchy in Java UI - javaHow to get email2 and mobile2 from the phone book - blackberrySQL Server row locking - sql-server-2005The mod_rewrite rule for bootstrap causes index.php to load twice - apacheCan FLV AAC stream play on Android? - androidAll Articles