$.ceEvent('on', 'ce.commoninit', function(context) {
//...
});
$.ceEvent('on', 'ce.ajaxdone', function(data){
//...
});
var valid = $.ceAjax('request', fn_url('ajax.vatCheck'), {
method: 'get',
caching: false,
hidden:true,
data: {
'countryCode':countryCode,
'vatNumber':vatNumber
},
callback: function(data){
return data.valid;
}
}).responseText;
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.