aspose file tools
The moose likes JSP and the fly likes How to enable/disable buttong based on session variable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "How to enable/disable buttong based on session variable" Watch "How to enable/disable buttong based on session variable" New topic
Author

How to enable/disable buttong based on session variable

Alka ravi
Greenhorn

Joined: Sep 04, 2012
Posts: 7





Above is just a sample code in html. i want to enable/disable button based on session variable URL. Also, is the clearing logic for session variable is correct?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56157
    
  13

JavaScript has no access to the server-side session. Where did you find this API that you are using?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to enable/disable buttong based on session variable
 
Similar Threads
Editable form
disable submit button help
disable anchor tags on printable page
making the textbox readonly
disable other textfield as one textfield entered