For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2007 > Re: [PEAR] Javascript and quickforms









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Javascript and quickforms
Justin Patrin

2007-05-23, 4:07 am

On 5/22/07, James Purser <purserj@k-sit.com> wrote:
> Hi I'm trying to figure out a way to add an onFocus javascript event
> call to a text element as defined through HTML_Quickform.
>
> If anyone could point me to some doco on how this is acheived or
> examples and some such that would be much appreciated.


Use the attribute array parameter of the element or use
updateAttributes() on the element object.

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com