I am trying to extract the textbox value and send it to server but when I paste something in the var sd=$('#TextBoxUrl').val();
does not get the data on first paste event when I paste again then it gets the date from the textbox. What can be the problem?
$('.urldetailstextbox').bind('paste', function () {
$("#DivUrlDetails").data('ready', false);
divprogress.style.display = "block";
DivUrlDetails.style.display = "none";
$('#spandetail').append();
$('#spanurl').append();
$('#spantitle').append();
var sd = $('#TextBoxUrl').val();
$("#divlinksave").data('requesting', true);
console.log(sd);
}