Here\'s a tricky one to start the morning.
I have a series of icons. When you click an icon it loads a form. Some of the forms have input[text] others have textareas
some of your code would be nice.. but this should be easy.
assuming your loading your for into a div that you know the id of....
all you have to do is something like
$('#TheIdOfYourFormDiv').find('input, textarea').first().focus()
after you've loaded your form