form.getValues() Error

When i do webix.ajax().post(“my_script”,form.getValues(),callback),I am getting an TypeError: form.getValues() is not a function.
Webix version: 2.2.3
Browser: Firefox 35.0.1

What is the “form” in your script, is it a valid form object ?

You can use $$(“form_view_id”).getValues(); where form_view_id is the id of the form in question.

I think it is a valid object. typeof() returns form as an object.Still am not able to get the values using the $$(“form_view_id”).getValues(); .Please advise

Please share a snippet where problem can be reconstructed.

It works correctly in default samples.

http://webix.com/snippet/7e78792a

Thanks for the advise.