Rob,

Glad to be of assistance

Cheers
Colin.W

-----Original Message-----
From: Rob Dixon [mailto:rob.dixon@xxxxxxxxxxx] 
Sent: 05 January 2004 11:45
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Javascript newbie problem


Colin

That works fine.  I much appreciate your help and that of Ken.

Best wishes

Rob Dixon

Colin Williams wrote:

>Rob,
>
>You need to use getElementById rather than getElementsByName
>
>Eg
>
><INPUT TYPE="TEXT" NAME="AFIELD.007-016" VALUE="" SIZE=64 MAXLENGTH=64>
>
>function prmpt()
>{
>    document.getElementById('AFIELD.007-016').value = num
>}    
>
>Cheers
>Colin.W
>
>
>  
>
>  
>

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a
message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


For the latest on Bertram Books products and services and for up-to-the-minute 
book news visit www.bertrams.com


This e-mail and any attachments may contain information that is confidential 
and privileged and is solely for the use of the intended recipient. If you are 
not the intended recipient please notify the sender and delete this e-mail and 
any attachments immediately








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.