sorry, unexpectedly adding a random bonus works! 
   thanks to all of you

  
http://edit.csic.es/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=topp:test_csvimportgispoints2&sld=http://edit.csic.es/fitxers/sld/initial/points/NO_BORRAR.sld?x=yyyyyy
 

   Pere

malsup wrote:
> 
> 
>> I have seen over there that a possible solution can be just to add a time
>> stamp to the image:
>> $("#somethin").attr("src", "user1.jpg?x=" + new Date());
>>
>> but it's not useful in my case, as my src points to a web service that
>> creates an images with the parameters you send; it's something like...
>>
>> http://edit.csic.es/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORM...
>>
>> where sld is the XML file I update (but keeping the same name). So, this
>> URL
>> cannot accept extra parameters.
>> I wanna avoid creating new XMLs each one with different names.
> 
> 
> Is it your web service?  If you can't change the URL then the server
> needs to set the response cache headers so that the client does not
> cache the resource.
> 
> Mike
> 
> 

-- 
View this message in context: 
http://www.nabble.com/not-updating-images-after-ajax-request-tp21600610s27240p21606289.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to