I agree with that. You have more experience on forum.
BTW, after some time I got some "result" after Get, realized with idbGetBy (nt-idb.js) .
function Buttonclick(locean){
idbOpen(database);
let x=locean; //"02400"
database.xinvent.record.eankod =locean ; //"02400";
idbGetBy(database,database.xinvent,"eankod",x,
function(){ // got record
$("#locdescription").val(database.xinvent.record.description);
$("#locdescription").change();
}
);
};
This is a first part. It works only with fixed value ( "02400") , but not with locean . It has to be passed parameter , called with button OnClick as
'Buttonclick(locean)' . locean is a form string field.
In Chrome source I get:
x = input#locean.nt-entry.ui-corner-all {jQuery341069521962941633861: {…}, accept: "", alt: "", autocomplete: "off", defaultChecked: false, …}, locean = input#locean.nt-entry.ui-corner-all {jQuery341069521962941633861: {…}, accept: "", alt: "", autocomplete: "off", defaultChecked: false, …}
Also, I saw that idbGetBy is a special case of idbSelect, and their options: to, equal, limit ...
More about that.
With explaining of nt-idb.js, phone projects, will not more exist a a problem.
Amer