This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Determining which element caused an event to occur

 
kanishk dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have 5 drop downs on a jsp. I have a single action which dynamically changes the contents of the drop downs depending on selection change in one of the drop downs.

The problem is, I want to determine which of the five drop down was changed. I need this info in the action file.

Please advice how to do this.

I dont think I need to provide any existing code for this.
And if I am missing any info please tell.


Thanks
Kanishk
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Ajax with Dojo plugin.
 
kanishk dewan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohana,

Thanks for a quick reply.

I am using ajax with dojo plugin, but how does it enable me to know which element has caused the event action. I need to know this in my action class.

Thanks
Kanishk
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic