Im using javascript to monitor the onChange of a Lookup field and then set some fields with the relevant data eg the rate of an selected product.This works without issue except if I edit the selected items details. In that case the onChange is not fired.
When i click on the selected items hyperlink, it opens the record in an edit form and I can update the fields. Lets say I changed the rate and the product name.
I then save that form and it returns to the calling form, showing the new name in the lookup. However the onChange function doesnt run and the rate remains as the old value.
I have to remove the selected item and then select it again for it to update the rate with the new value.
Is there any event to hook into so that I can update the form fields with their new values? Im extremely new to this and new to javascript...
Here is the hyperlink im talking about, which opens the form to edit that item.