Forum


10:02

02/10/2008

First, my English is not good (again;)). Sorry.
I'm trying to work with you to implement functions: New, Edit and delete. But I have two problems:
1 -. I can not find an example of how to program the file indicated in "editurl." Therefore, I do not know how I should deal with the elements that come to that file. Does anyone have any sample code?
2 -. I have special needs for loading data and want to know if I can somehow extend the functionality of some fields of the form that is created on the fly to associate in any way a search engine.
Thank you very much.
Martín
11:02

08/09/2008

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") {
doAdd();
}
...
HTH
Most Users Ever Online: 715
Currently Online:
61 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66