My mistake ! Solved !
$('divID').select('input[type=text]').each( function(e) {
Event.observe(e, 'focus', function(event) { });
});
Thank You ! :)
On Jun 15, 7:09 am, mocambo <[EMAIL PROTECTED]> wrote:
> OK, solved for now:
>
> $('divID').select('input', '[type="text"]').each( function(e) {
> Event.observe(e, 'focus', function(event) { });
>
> });
>
> Only problem still occur:
>
> select gives me all 'input' elements but needed only those with
> type="text". What wrong above ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---