Reset and search button functionality in DHTMLX 3.5

Initially i created a form with textboxes and dropdowns with “Reset” ans “search” buttons.It worked fine.For these opearations i wrote like
if (name == “Reset” && command == “Reset”) {
alert(“reset clicked”);
if (name == “Search” && command == “Search”) {
alert(“search button clicked”);
----search code-----
I have changed to DHTMLX3.5 versions.These operation are not performing.when i click on the button no action is performing.can u tell me how to do these operations.


“command” attr was removed