aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes My (enabled) button works but if I test to renew my selection it won't get back to being disabled Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "My (enabled) button works but if I test to renew my selection it won Watch "My (enabled) button works but if I test to renew my selection it won New topic
Author

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

dela cruz juan
Greenhorn

Joined: Nov 21, 2012
Posts: 13
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

Joined: Jul 16, 2012
Posts: 136
hi Dela,

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

Thanks
dela cruz juan
Greenhorn

Joined: Nov 21, 2012
Posts: 13
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My (enabled) button works but if I test to renew my selection it won't get back to being disabled
 
Similar Threads
form does not validate in my selection box
not redirecting to servlet page
Problem with SELECT_COMMAND in List
Linked List equals method
How to pass values from child page to parent page ?