how to submit only a part of DSP page?

how to submit only a part of DSP page, and not the complete dsp page such that the page is reloaded only for that submitted part. Can AJAX be used in this case? If yes, is there any code or document on how to integrate AJAX with DSP page?

I don’t think DSP comes with AJAX. Its a typical form action submit etc.,

-Senthil

Yup, dsp’s are not having Ajax features, so you can’t submit only a part of dsp.

Thanks,

Hi,

You use a direct JS call on your form action with a function such as:


function callISService(url) {

    var xmlhttp;
    // code for IE7+, Firefox, Chrome, Opera, Safari
    if (window.XMLHttpRequest) {
        xmlhttp=new XMLHttpRequest();
    }
    // code for IE6, IE5
    else
    {
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    
    //alert(url);
    
    xmlhttp.open("GET",url,false);
    xmlhttp.send();
    
}

Or a JS library like JQuery or other.

Best Regards,

IMO, DSP neither “have” nor “don’t have” Ajax features. They just generate some output out of a template. It’s up to you what you put into that template. It may also contain a full blown Ajax app.