A little adding: if I'd like to make required if the selected index is
*both* 1 and 2 (for example), how can I make it?
Luigi
It's working in that way Jorn.
Thanks a lot.
Luigi
Are you using the validation plugin?
On 18 maio, 07:33, Jörn Zaefferer
wrote:
> Try this (untested):
>
> required: "#viaFornitura[selectedIndex=1]"
>
> Jörn
>
> On Mon, May 18, 2009 at 12:13 PM, ciupaz wrote:
>
> > How can I make this Jorn?
>
> > Luigi
>
> > On May 18, 10:42 am, Jörn Zaefferer
Are you using the validation plugin?
On 18 maio, 07:33, Jörn Zaefferer
wrote:
> Try this (untested):
>
> required: "#viaFornitura[selectedIndex=1]"
>
> Jörn
>
> On Mon, May 18, 2009 at 12:13 PM, ciupaz wrote:
>
> > How can I make this Jorn?
>
> > Luigi
>
> > On May 18, 10:42 am, Jörn Zaefferer
Are you using the validation plugin?
On 18 maio, 05:33, ciupaz wrote:
> Hi all,
> I have this validate code to validate a textbox if the user select a
> combo value:
>
>
>
> $(document).ready(function() {
> $("form#2form").validate({
> rules: {
>
Try this (untested):
required: "#viaFornitura[selectedIndex=1]"
Jörn
On Mon, May 18, 2009 at 12:13 PM, ciupaz wrote:
>
> How can I make this Jorn?
>
> Luigi
>
> On May 18, 10:42 am, Jörn Zaefferer
> wrote:
>> select-options don't have a checked property. You have to fix the
>> selector "#Altr
How can I make this Jorn?
Luigi
On May 18, 10:42 am, Jörn Zaefferer
wrote:
> select-options don't have a checked property. You have to fix the
> selector "#AltraVia:checked".
>
> Jörn
>
>
>
> On Mon, May 18, 2009 at 10:33 AM, ciupaz wrote:
>
> > Hi all,
> > I have this validate code to validat
select-options don't have a checked property. You have to fix the
selector "#AltraVia:checked".
Jörn
On Mon, May 18, 2009 at 10:33 AM, ciupaz wrote:
>
> Hi all,
> I have this validate code to validate a textbox if the user select a
> combo value:
>
>
>
> $(document).ready(function() {
>
8 matches
Mail list logo