dhtmlxForm.send(url,"post",function(xml){});

hi:
In the source of “dhtmlxform.js”, at line 997 “if (callback) callback(xml);”

in the stage,“callback(xml)” is undefined。so,dhxForm.send(“some.php”,“post”,function(xml){}); is error。

please help me! thanks!

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

Olga,
I have described the same issue in the “discussion” at
docs.dhtmlx.com/doku.php?id=dhtmlxform:it_save

On the same page I wrote a solution for this problem:

The problem is in send() method. There is the next declaration:
var cback = function()
but must be
var cback = function(xml)

meconsea,
just find "var cback = function() " in dhtmlxform.js and replace with “var cback = function(xml)”