Purcell, Scott <[EMAIL PROTECTED]> wrote:

> The traditional line of course works, but
> how do I make that same javascript call with the cgi.pm
> param???
> 
> 
>     print textfield(-name=>lbpassword1,-size=>25); # need the
>     javascript call here ... How?
> 
> #<input type=\"password\" name=\"lbpassword1\" size=25 maxlength=25
> onFocus=\"JavaScript:deselectOther()\"><p>\n"; # good line

Looks like you want something like

    print password_field( -name => 'lbpassword1',
                          -size => 25,
                          -maxlength => 25,
                          -onFocus => 'javascript:deselectOther()' );

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to