• Post Reply Bookmark Topic Watch Topic
  • New Topic

Emptying the drop down on clicking reset

 
Ashutosh Arya
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to empty one drop down when we click on the reset button.

Actually the drop down is getting populated from db when click one button.Before that it is empty.So on clicking reset I want to make it empty again.

How can i do it?

I think we can make use of javascript.

Please help me.

Aashu
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh Arya wrote:
Actually the drop down is getting populated from db when click one button.Before that it is empty.


Before that it is empty
--->which action was getting called here . give that action on clicking the reset button
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just clear the list or whatever populates it when the button is clicked, and refresh the page.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!