I found a problem with dynamic reading from input hidden.
To better explain my problem I will describe the process:
- user clicks a “select employer” link which opens dialog
- dialog is to select proper employer, which id is send back to rjs
- rjs sets a with the proper value
- user clicks other link, which sends the employer_id taken from
So, for the first time the step 4 gives a proper value od employer_id.
But if I do the procedure once again (I select different emplyer_id)
the step 4 is giving me the same employer value, as at the beginning
(in first iteration).
Using FireBug I can check, that the input hidden is having good values
any time I’m doing the procedure. Only reading from $F(‘employer_id’)
is still the same (not changed).