Is there any way to get focus on element?
exmpl:
$ajax->observeForm('MyForm',array(
'frequency'=>2,'url'=>'/admin/news/index','update'=>'content',
'loading'=>"Element.show('ajax_loading');",
'loaded'=>"Element.hide('ajax_loading');
Field.focus('search');"
Problem: There is input field (with id="search" ) wich filter results
in table, using observeForm.
After each ajax request, input field lost focus.
How to get it back?
tnx.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---