jQuery change id, noob to pro!

Posted by Kyle Sevenoaks on Stack Overflow See other posts from Stack Overflow or by Kyle Sevenoaks
Published on 2010-04-26T08:45:42Z Indexed on 2010/04/26 8:53 UTC
Read the original article Hit count: 238

Filed under:
|

I am a jQuery noobie, and have been trying to add a script to change the id of a div onClick.

Here is a jsfiddle example.

$(function accept() {
    $("div:scrollwrap").attr('scrollwrap','highlight');
});?

Thanks :)

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css