Hi All,
I am using the Red Dot delivery server. In which i use the dynaments
to query the database for some form on my website.
I have requirement in which i have to make a ajax call to the dynament
xml and get the response back.
Is there a way i can send the response to the client ? if yes . How do
i read it my ajax method.
My ajax method looks something like below.
function checkSupply(postcode) {
if (!jQuery('#'+postcode).val().match(/^[A-Za-z]{1,2}[0-9A-Za-z]
{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$/)) return;
document.body.style.cursor = 'wait';
alert("2");
alert(jQuery('#'+postcode).val());
jQuery.ajax({
type: 'POST',
url: 'default.xml',
data: { post_code : jQuery.trim(jQuery('#'+postcode).val()) },
success:addressSearchResponse,
error: addressSearchError
});
alert("3");
}
function addressSearchResponse(pcode) {
}
function addressSearchError(xhr, status, error) {
}
Can somebody help me on this.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.