我想从这个代码接收数据$.post("re.asp
。我怎么做?
<script type='text/javascript'>
$(function () {
$("#pasteable").bind('paste', function (event) {
var $pastable = $(this);
$.post("re.asp",{ste:pastable},function(){
setTimeout(function () {
$("#target").html($pastable.val());
$pastable.focus();
}, 100);
});});
});
</script>
Paste here: <input id="pasteable" />
<span id="target"></span>