- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2014 06:39 AM
Hello Everyone,
I've a little problem on my dublin instance (It works perfectly on caligary...)
I use a client script, for retrieve some values, and a script include for handle them.
basicaly like that in my client script for send param:
var ga = new GlideAjax('GTB_convert_currency'); //ajax request ga.addParam('sysparm_name','gtb_convert_currency');
ga.addParam('empty_field', newValue); ga.getXML(HelloWorldParse);
and like below for retrieve answer :
var answer = response.responseXML.documentElement.getAttribute("answer");
My script doesn't works, and i've those lines in my error logs :
|
I don't know why, cause my script include use a good call :
var GTB_convert_currency = Class.create(); GTB_convert_currency.prototype = Object.extendsObject(AbstractAjaxProcessor, { gtb_convert_currency: function()
Thank's in advance for your anwser !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2014 09:58 AM
Hey Romain,
What's the name of the script include? It should be identical to what you put for GlideAjax's argument.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2014 09:58 AM
Hey Romain,
What's the name of the script include? It should be identical to what you put for GlideAjax's argument.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2014 04:03 AM
I've totaly forgot this step, thanks a lot Kevin, it works perfectly