Hacker News new | past | comments | ask | show | jobs | submit login

I'm not an advanced user of jQuery, but still feel slightly ashamed for asking:

How can I use effect2 without having to change/toggle the class (i.e. effect2 class onPageLoad)??




Tried changing [0] to [1] in this line: $('section :input').val('').fancyInput()[0].focus();

...still not working...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: