Welcome aboard! We are happy you are here and wish you good net-raft!
$("#share").click(function () {
var x = location.href;
var xx = x.replace(/:s*/g, ":");
var y = $("#text").text();
var res = y.replace(/s/g, " ");
window.open("https://www.facebook.com/sharer/sharer.php?u=" + xx + "&title=This is title" + "&caption=" + res);
});
The most helpful JQUERY solutions
plugin get client ip address using jqueryJQUERY Click to see more ... 10.5K 1.8K