This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript event

 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a jsp page, I have group of text boxes and image with blank spaces. My task is to populate the image with the alphabet/digit entered in the text box.
Any suggestions/example how should I proceed with this.

Thanks,
Himalay
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Oh if the image needs to be created , you have to go the server (make an AJAX call passing the text entered by the user), create the image (Take a look at Graphichs2D API) and in the AJAX callback function change the image src attribute with URL where you have placed the image file


Thanks,
Srikkanth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic