I have an iframe on a page with an ID of 'generateID'.  There is a field
on the page loaded in the iframe with and ID of 'type'.  I want the
'type' field to have focus when I make the iframe visible.  I want to do
it from the parent window.  I have tried the code below.  Is there a way
to make this work?

 

$('generateID').show(); 

$('generateId').type.focus();

 

 

$('generateID').show(); 

$('generateId').$('type').focus();

 

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to