i have the following problem using jquery.
I have sth like this
>
Yes, since jQuery 1.6 I think you need to use .prop() instead of attr().
attr()