[Seasar-user:10948] Re: Time validator
=?GB2312?B?wO7A1g==?=
[E-MAIL ADDRESS DELETED]
2007年 10月 11日 (木) 11:26:09 JST
I'm sorry , still can't work.
I am afraid it is the onload function which changes the values of select
options each time i validator.
I'd better to write a js to resolve this case?
Thanks all the same.
2007/10/11, Yasuo Higa <[E-MAIL ADDRESS DELETED]>:
>
> 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 mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071011/3810cd33/attachment.html
Seasar-user メーリングリストの案内