jd_wight thanks for your answer. When I alert resultXml with
//Capture the result.
var resultXml = xmlhttp.responseXML;
alert (resultXml);
I get a message including only
[object]
thanks
Main Topics
Browse All TopicsI am trying to auto populate a text field(new_operator) in a custom entity(new_issue) by 'account' entity's name through an intermediate custom entity(new_route).
'new_route' entity has N:1 relationship with 'account' entity. Relationship name is 'new_account_new_route' with a primary attribute named as 'new_busrouteaccountid'. This entity has primary attribute 'new_name'.
'new_issue' entity has N:1 relationship with 'new_route' entity. Relationship name is 'new_new_route_new_issue' and primary attribute name is 'new_busrouteid'.
My aim is to populate 'new_operator' text field in 'new_issue' entity by the name of the 'new_busrouteaccountid' entity when I change 'new_busrouteid'. It populates, but instead of name it puts the id, namely, {F0B40C5E-B497-DE11-84B1-0
What is wrong or missing in the java script to get the name of the account instead of the id. Another text field in 'new_route' entity populates 'new_operatorpublicphone' text field in 'new_issue' entity correctly.
Thanks very much in advance
Rifki
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: jd_wightPosted on 2009-09-13 at 09:13:40ID: 25320725
If you alert resultXml, can you see that new_busrouteaccountid text that you want? My guess is that "selectSingleNode("//q1:ne w_busroute accountid" ).nodeType dValue" is grabbing the wrong Node.