How to use InputButton?

  •  11-16-2005, 1:47 PM

    How to use InputButton?

    if we insert one InputText and one InputButton in cute editor,

    we get following html :-
    -------------------------------------------------------------------
    <div>
       <input id=text1 value=text1 />
    </div>
    <div>
       <input id=button1 type=button value=button1 />
    </div>
    -------------------------------------------------------------------

    My question is that when we click "input button", how we can get the value of "input text box" ?
    and can we store the value of "input text box" to sql or any database on "input button" click ?

    please suggest us if this is possible, so that we can write our custom code.

    Thanking you,
    Gurpreet.



View Complete Thread