[thelist] JavaScript - messing with global variables - am I even on the rig ht track?

Luther, Ron Ron.Luther at hp.com
Fri Mar 14 11:35:56 CST 2003


Joel Canfield asked:

>>I need to add functionality to our Purchase Request system. For each line
>>item on the PO form, the user must be able to select a department, a GL
>>number, and perhaps a sub-GL number. 

<snipped interesting stuff about G/L numbering being added 
to a PO form system>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hi Joel,

Interesting problem ... and I'm still not sure I understand all the 
nuances ...  ;-)

I was gonna start by suggesting the boxes be read only so folks don't 
type "bad" codes into them by hand:

<INPUT TYPE="text" NAME=txtReadonly VALUE="Look but don't change" 
 onfocus="window.document.form1.txtReadonly.blur()"
 READONLY=true>
... stolen from:
 http://www.wdvl.com/Authoring/JavaScript/Begin/begin2-1.html

Oooo ... never mind ... looks like you are making some progress - the 
Engineering 'Air5 Repeater' thing populated correctly a minute ago!

Coolio!


Good Luck!

RonL.


More information about the thelist mailing list