Discussions

 View Only
  • 1.  Api add record in IOL js

    Posted 08-02-2017 06:38
    Hi

    I have a javascript file which is connected to a form using IOL technique.
    I have used this funtion to fulfill my requirement.
    DoSave = (function(fn){
    //
    //  Custom code
    }
    })(DoSave);

    What i do is , i am creating two entries in another table using $.get(API_AddRecord) while saving the form. To do this, i am running two doquery functions and number of functions.
    Unfortunately it is working perfect in debug mode , but not in normal mode. In normal mode it is creating only one entry and skipping the other one. I have tried all possible ways, no positive result yet. What might be the reason to happen this ? 

    Thanks