MavrickStl
Programmer
I am trying to call a function through a button click event.
Ex:
Response.write "<INPUT TYPE=""Submit"" VALUE=""Copy"" onClick=""return dataset()"">"
Dataset() function should be able to return values returned by following query:
Select Desc2 from XXXX where bla bla bla
If there is nothing to return it will not return 0.
Else it will return DESC2 (varchar2 in the DB) field.
I will use DESC2 field to populate a textarea field on the same form:
<Textarea cols="85" rows="1" NAME="Second1" <%=rstemp("desc2")%></textarea>
Any clues how to go about it.
Thanks,
Mav
Ex:
Response.write "<INPUT TYPE=""Submit"" VALUE=""Copy"" onClick=""return dataset()"">"
Dataset() function should be able to return values returned by following query:
Select Desc2 from XXXX where bla bla bla
If there is nothing to return it will not return 0.
Else it will return DESC2 (varchar2 in the DB) field.
I will use DESC2 field to populate a textarea field on the same form:
<Textarea cols="85" rows="1" NAME="Second1" <%=rstemp("desc2")%></textarea>
Any clues how to go about it.
Thanks,
Mav