jsp - On clicking search button display update button and hide save button -
<s:if test='%{cust_id!=""}'> <s:submit cssclass="pagebutton" action="custmer_ entry" theme="simple" value="update" on click="validate"/>
on loading page,i want hide update button.on clicking search button display update button , hide save button.
sorry wrong.
when check
<s:if test='%{cust_id!=""}'>
you need check if null like
<s:if test='%{cust_id!="" || cust_id!=null}'>
please check way
Comments
Post a Comment