how to disable buttons based on a condition in jsp?

前端 未结 4 843
一生所求
一生所求 2020-12-06 07:52

how can I disable a button by checking a condition in my jsp? If true,then the button is enabled,if false,then the button is disabled. The condition would be checking the va

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 08:03

    Or simply you could do it using el directly like this:

    
    

    As an example:

    
    

提交回复
热议问题