Sorry, but being "newbie" I haven't understood what you mean!
When I change option in field e.g. "myfield", I want to run code in a javascript file "/myfile.js" (myfile is on server). Actually I want to call with the code in myflie.js xml-file and search there by generated searchstring in myfile.js. After all the result shall be gave to a field on my form (e.g. named: "resultfield").
May I ask you to helpo me how the code should look like and where to put this code and what have I to do to run myfile.js when "myfield" is changed?
Hope you are able and you will help.
Thank you in advance and best regards.
Michael