Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My (enabled) button works but if I test to renew my selection it won't get back to being disabled

 
dela cruz juan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java Guru's

1st of all my apologies for this kind of asking, I'm a beginner in java scripting and all of the script for my school project are copied online. But I may say I did manage to understand some Java scripting by reading online,

here it is, everything works well on the selection boxes because the List 2,3 and 4 depends to each other. By default there is a button that will pop alert once I've made a selection on List4. The problem is if I decided to not to click the button
to make a changes on the starting on the List1 the button does not go to its disable state, unlike List2,L3,L4 it goes to it default state.


 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Dela,

Could you please explain your problem more clearly. sorry that i could not understand it.

Thanks
 
dela cruz juan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rakesh,

Thank you for your reply, as you can see I have 4 selection box and a button that is disabled by default, the button should only be clickable once I have choose an item(s) on the last selection box (extreme right).
The button should also get back to default disabled if I change my mind to re select on the 1st selection box on the left. For sample if all selection boxes has already been selected and I choose to redo again the choices
by going back to the 1st selection box on the left and selecting the "select item" the button should be back to disabled state, just like the remaining selection box it goes back to "select item"


sorry for my english
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic