Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Setting focus to a textarea after it has been loaded via ajax .load() Re: Setting focus to a textarea after it has been loaded via ajax .load()

#86501
jamygolden
Member

If #foo is the id of the input element:

$('#foo').focus();