Dear friends good morning hope everyone is in a good health.
This is the situation I have a form that includes a header(see H in the picture) for a requisition: Nr, Supplier, Requestor, Select buyer, date, and other.
In the same form below is a repeater area that shows requisition lines (see R in the picture below) : LnNumber(Ln), Item, Description (Descripcion), Price (Precio Unit), etc...
This is what I need : as soon I select the Description (dropdown), triggers and event function (I already have this from the event tab of this field = MyFunc). I did that because the id of this input field (dropdown) change with every line DataLn0descripcion_descripcion for the first line, DataLn1descripcion_descripcion for the second line and so one. Therefore I can not create an addEventListerner... since id of field is changing with every line.
1. Event triggered function (MyFunc) needs to know the line number of the repeater (0,1,2,3,4...) or at least the id (DataLn0descripcion_descripcion for instance... 1st line)
2. $.ajax request needs to work .. from HTML custom </>HTML or from </>Javascript custom section. The problem that I have is that the function MyFunc doesn't work when it is included in a custom </> Javascript section with the flag "add inside domready event" = ON. need to update what is marked with 1,2,3,4 in red below
Please help
This is the situation I have a form that includes a header(see H in the picture) for a requisition: Nr, Supplier, Requestor, Select buyer, date, and other.
In the same form below is a repeater area that shows requisition lines (see R in the picture below) : LnNumber(Ln), Item, Description (Descripcion), Price (Precio Unit), etc...
This is what I need : as soon I select the Description (dropdown), triggers and event function (I already have this from the event tab of this field = MyFunc). I did that because the id of this input field (dropdown) change with every line DataLn0descripcion_descripcion for the first line, DataLn1descripcion_descripcion for the second line and so one. Therefore I can not create an addEventListerner... since id of field is changing with every line.
1. Event triggered function (MyFunc) needs to know the line number of the repeater (0,1,2,3,4...) or at least the id (DataLn0descripcion_descripcion for instance... 1st line)
2. $.ajax request needs to work .. from HTML custom </>HTML or from </>Javascript custom section. The problem that I have is that the function MyFunc doesn't work when it is included in a custom </> Javascript section with the flag "add inside domready event" = ON. need to update what is marked with 1,2,3,4 in red below
Please help