I can't seem to make this work. I put an alert to vDmeString and tested it. It returns one row properly, however the next codes either gives me error messages methods not supported, null or not an object. Can you please help me fix the code below? The code is for ../xhrnet/personnelactions/pactions.htm. I cannot use jsreturn since it opens up a new frame list. I just need to get the code's description and put it into an input type text field.
var vProd = authUser.prodline; var vDmeString = "http://lawsonprod/cgi-lawson/dme.exe?PROD=TRAINING&FILE=PCODES&INDEX=PCOSET1&KEY="; alert(vDmeString); var vDMEInfo = httpRequest(vDmeString); var tmpNode = vDMEInfo.getElementsByTagName('DESCRIPTION')[0]; var uf_suppname = tmpNode.childNodes[0].firstChild.nodeValue;
Thank you in advance.