Dropdown list and JScript

I

Infinite

Hi...Every one..

I am new to Infopath.. I have one simple question..
How can I get selected value from Infopath drop down using JScript..???

Thanks and Regards,
Dave
 
S

Swathi (GGK Tech)

Hi,

You can get the selected value using the below code line.
thisXDocument = window.external.Window.XDocument;
dropdownFieldValue = thisXDocument.DOM.selectSingleNode(“Xpath of drop down
field").text;
 
Top