Click to See Complete Forum and Search --> : Passing Data


kanthan
09-11-2003, 08:32 PM
Hi,

I am new to javascripting, and i am stuck.

I need to take the value sitting in the following textbox...

<TEXTAREA class=MsoTextbox id=C1AHPhone style="Z-INDEX: 31; LEFT: 1.402cm; WIDTH: 2.588cm; POSITION: absolute; TOP: 1.694cm; HEIGHT: 0.502cm" tabIndex=80 readOnly cols=19 MsoTextAlign="General">

This data is pulled from a database.

I need to pass this value to a function which was declared earlier...

function DialButton_onclick() {


DDirectDialer1.DialDirect( TelNumber.value);


I have the following line that comes with activex component which dials the number....

<INPUT id=Text1 value=?????? name=phone>
<INPUT language=javascript id=DialButton style="WIDTH: 20px; HEIGHT: 20px" onclick=DDirectDialer1.DialDirect(phone.value); type=button value=... name='button3"'>


I have inserted ???? in the location where the number should be inserted. How do i get the value from the text box to that location. any help would be appreciated. thanks.