I am getting whole select tag as a value from my code, in order to do work around the value i need to extract the value from my select tag,as this tag is dynamically created by the code.
Below is the value i am getting. How can i extract this using java script.Thanks for your help.
rowId[0].QValue = "<select id="Type112" class="GridList" rownumber="0" value="Q1 Only" ><option></option><option value="1" selected="selected">Q1 Only</option><option value="2">Q2 Only</option></select>"
document.getElementById('Type112').value;should do!As this id is dynamically generatingnot in the code you posted. Perhaps, seeing as the code you posted isn't valid javascript, you could help us help you by showing the code involved -Below is the value i am gettinghow are you getting this? And how is the code you posted related to valid javascript code?