adspace


how to increasing the numbers in a given text box
please write a vb script

Answer Posted / Vijay Sharma

To increment the value in a TextBox by one using VBScript, you can use the following code:

Function IncreaseValue()
Dim txtBox, intCurrentValue, intNewValue
Set txtBox = Document.getElementById("yourTextboxID")
intCurrentValue = txtBox.value
intNewValue = intCurrentValue + 1
txtBox.value = intNewValue
End Function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

3023


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1939


please can you help me to get a code of flames using a visual basic 6

1902


Anyone have qtp11.0 crack?

2925