on 04-01-2010 6:50 PM
hello,
I'm trying to do some scripting via the xfa model
this works ok, but not for a table via a web service response
I've found several thread's about e.g. rootXml but I can't get it to work
I would like to display the values of the first item in the table in a messagebox (just as test)
my script is like this
try
{
var string = rootXml.ZGetAirportInfoResponse.AirportInfoTab.item[1].Airportcode.value;
xfa.host.messageBox(string,"code",1);
}
catch(err)
{
xfa.host.messageBox(err,"error",1);
}
I'v put this in the PostExecute event and I can see a popup with an empty error
any suggestions ?
regards
it seems that you should use () instead of [] !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.