• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get database values based on text entered

 
shah rah
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a text field grpid and based on the grpid I enter I need to populate database values for 3 other text fields in the page. Should I call a action class onchange of textfield ? Is this the right approach.
 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your approach is correct.It a traditional approach and its widely used, but the disadvantage of it is it would re-load the entire page again. The other way of doing it using Ajax.

Hope this helps.

Thanks and Regards,
Arul.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic