Hi, I'm trying to get the option with a specific value in it.

This is the syntax I use and doesn't works:

alert($('option:[value*=\'2\']', $('#category_1')).size());

It alerts 0, if I try without the value I get the correct size of the
options in the select.

Where's the error?

Thank you

Reply via email to