hi ricardo,

i tried this before,
this only can set the first box.
it won't trigger the second box to get data from database.
second box still empty.

i have added selected attribute on my sample page.
http://sskes.damimi.org/test/

thanks anyway.

On 9月18日, 上午6時32分, ricardobeat <[EMAIL PROTECTED]> wrote:
> You can do it via XHTML:
>
> <option value="B" selected="selected">B</option>
>
> or add the attribute with jQuery:
>
> $('#first option:eq(2)').attr('selected','selected');
>
> ricardo
>
> On Sep 17, 10:50 am, kevin <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > here is my sample page  http://sskes.damimi.org/test/
>
> > my question is how can i let the first box selected on "B" and also
> > trigger second box list the correct value
> > "B1","B2","B3,"B4" automatically when page loaded.
>
> > thanks.

Reply via email to