[Seasar-user:10947] Re: Time validator

Yasuo Higa [E-MAIL ADDRESS DELETED]
2007年 10月 11日 (木) 10:54:23 JST


Hi, all.
> 
> I designed a selectbox to select years like below:
> <select  id="SYear">
> </select>
> 
> And in the html onload function evaluated the options :
>  <body onload="setSYear();">
> 
> And these is a Search button to do Search.Before search i need to do
> some validation .
> But once my validation failed , the select  value disappeared. Others like
> input text all maintained , why?
> 
The reason is that "SYearItems" is not kept
after reder phase.

So, You should define hidden tag as follows:
<input type="hidden" id="SYearItemsSave"/>

--
Yasuo Higa
[E-MAIL ADDRESS DELETED]



Seasar-user メーリングリストの案内