Simple Structures DataRequest

SS.DataRequest is an extensible Class that provides a flexible data retrieval API along with common methods and patterns for handling data requests. By default, the Class provides an abstraction for handling standard AJAX requests for text strings, HTML markup, JSON data or generic Javascript objects.

Example: Basic AJAX Request

Simple AJAX request that will add the response into a DIV tag with the id "result-1"..
new SS.DataRequest({
    autoRun: true,
    completeFn: function(response){
        document.id('result-1').adopt(response);
    },
    datasource: 'custom/ss-demos/ajax.php',
    requestType: 'html'
}); 

OR

new SS.DataRequest({
    completeFn: function(response){
        document.id('result-1').adopt(response);
    },
    datasource: 'custom/ss-demos/ajax.php',
    requestType: 'html'
}).getData(); 

    

comprar aciclovir 400mg buy alli orlistat online differin gel ohne rezept kaufen ciprofloxacin kaufen rezeptfrei tamoxifen ohne rezept kaufen buy erythromycin 250mg tablets baclofen kaufen ohne rezept buy adobe illustrator cs6 upgrade cialis pills from canada purchase adobe acrobat student acheter viagra sans ordonnance au canada adobe premiere elements 10 for sale