in below code; it gets a content of a "div" includes html codes, and it saves at ajsave.php. But when div html contents include "#" character, data is shorted after "#" like this:
$.ajax({
type: "GET",
url: "ajsave.php",
data: "usr="+id+"&divcontent="+cont,
success: function(msg){
$("#result").html(msg);
}});