input1 is element which is inserting in divs children throught .update
() method

On 6 июн, 20:04, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> is that meant to be $('input1') or is input1 referenced somewhere ?
>
>
>
> ----- Original Message -----
> From: "buda" <www...@pochta.ru>
> To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
> Sent: Saturday, June 06, 2009 3:33 PM
> Subject: [Proto-Scripty] unecpected error after .update(..) and .focus()
>
> > I do
>
> > var cont = '...<input id="input1"...'.makeElement(); -- put string to
> > innerHTML in tmp div and return divs first child;
>
> > div.update(cont);
> > $(input1).focus();
>
> > when i call $(input1).focus(); - an error occures - 'Can't move focus
> > to hidden or ....'
> > before now I believed that script engine doesnt go to the next
> > operator untile the previous operator complits and content is rendered
> > and ready to use. But now I see that its not true
>
> > Help me please - how to set focus to input1 after div.update(cont)?- Скрыть 
> > цитируемый текст -
>
> - Показать цитируемый текст -
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to