CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
I’m having trouble trying to set the focus to a textarea that resides inside a div which is ajax loaded using .load().
I understand that I’ll need to use .live() as this div isn’t in the DOM but I just don’t know how to do it.
Any help would be great thanks.
Anyone out there know how to do this? I’m still stuck.
If #foo is the id of the input element:
Cheers for that but it doesn’t work as the div was loaded after the DOM.
Hmmm, are you sure?
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed