重粒子的运行轨迹

Compiling ...
baryon.cpp
baryon.cpp(1) : warning C0000: all glory is fleeing

导航

Jquery获取选中的文本值

$(document).ready(function() {
		$(".contenttext").mouseup(function(e) {
			var txt;
			var parentOffset = $(this).offset();
			var x = e.pageX - parentOffset.left;
			var y = e.pageY - parentOffset.top;
			txt = window.getSelection();
			if (txt.toString().length > 1) {
				alert(txt);
			}
		});
	});

posted on 2017-10-22 20:36  重粒子  阅读(220)  评论(0编辑  收藏  举报