Hi.
1) “editurl” is an “url” where you receive parameter from the edit form. Those are:
oper = add/edit/del
You also receive via post the fields in the edit form, say
Codigo=01 Nombre=Jose, etc
Here the important var is “oper” because it tells you what we will do with the data. So in this case you can build a case asking for oper value. For example
if (oper === “add”) {