How do you get the value of a combo box in Javascript?

Answer Posted / abdul rasheed

document.frmname.comboboxname.value

or


document.frmname.getElementById(comboboxname).value

Is This Answer Correct ?    11 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2260


filter the array values without using filter function?

1656


Explain about scrrun.dll in vbscript?

650


How will you convert a string to upper case string using vbscript?

552


Explain about scrrun.dll?

534






What are keywords in the vbscript language?

526


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

2022


Which function is used in the vbscript language to convert the specified expression into a date type value?

523


How are comments handled in the vbscript language?

511


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

543


What are the advantages of vbscript?

644


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3553


Explain about operator precedence in vb script?

577


Does VB/Win make standalone .EXE files?

2903


What is the purpose of regexp object in vbscript?

559