• Post Reply Bookmark Topic Watch Topic
  • New Topic

changing value of inputtext boxes  RSS feed

 
Niels Tielenburg
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two inputtext boxes on a page. If someone fills one box with a link to a .wsdl file (like www.blabla.com/wsdl.wsdl) I want the text for the second box to automatically be set to wsdl.wsdl.
Can anybody help me with this? I tried using jsValueChangeListener and valueChangeListener but both didn't work for me...
 
Venkata Kumar
Ranch Hand
Posts: 110
Firefox Browser Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may write javascript function to populate the second text field and call the function using Onchange attribute of first text box.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!