Hello users, i have a problem with jquery i using this code for an <li> onclick function
$("#pagesn .pages li").click(function(){
//show the loading bar
var boundwert;
this.boundwert = map.getExtent().toGeometry().toString();
showLoader1();
$("#pagesn .pages li").css({
'background-color' : ''
});
$(this).css({
'background-color' : '#A5CDFA'
});
//alert("data1.php?page=" + this.className + "&gemeinde=" + this.boundwert);
$("#resn").load("data1.php?page=" + this.className + "&gemeinde=" + this.boundwert, hideLoader1);
});
after i call the function i get this error:
Error: Syntax error, unrecognized expression: 4802691.3605457,1737721.4860669 4802691.3605457,1737721.4860669 7307379.9030457,-1588817.9844409 7307379.9030457,-1588817.9844409 4802691.3605457))
my boundwert looks like a big string as example :
POLYGON((-1398031.1618676 4920098.6359754,1928508.3086402 4920098.6359754,1928508.3086402 7424787.1784754,-1398031.1618676 7424787.1784754,-1398031.1618676 4920098.6359754))
i want to add this string to my .load() call but i always get this error...
may someone can help me thank you!!