File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

want to display value in a text box

 
prriya pratheep
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In my program when i click a image button it will call program which returns a value

<td ><img alt "new" />)</td>showID will return a value...

I want to display this value in a text box

<span id="empid1"> </span> <input name="empno" type="text" id="empno" size="40" maxlength="50" />

In this above code the value is displaying near to text box...i want to display it inside the text box.

id is empid1

Thanks



 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
prriya pratheep wrote:In my program when i click a image button it will call program which returns a value
On the web you don;t "call a program" so it's not clear what you mean by this. Submit a form? Make an Ajax request? other?

How does the value get returned?

I want to display this value in a text box
Once you have a value, simply set is as the value property of the input element.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic