|
Walden
Once again I am most grateful to you for taking the time to help me.
1. Session
Very many thanks again
Rob
Walden H. Leverich wrote:
Rob,
First, I can get the SESSION stuff to work, but only if I place the
scripts at the end of the document. I'll bet that NS doesn't support the
defer=defer option on the script tag. Move the scripts to the end.
Second, there is no element with an ID of "...BUTTON..." but there are
elements with a NAME of "...BUTTON...". So you need to use the
getElementsByName function. However, that function returns an array so
you need to deference the first element (Note, it's a plural Elements).
document.getElementsByName(buttons2)[0].value=newText;
Seems to work in both IE and NS. I'm sure this is also the problem
placing your value into AFIELD.007-01 since that's a NAME, not an ID.
As for the HR, I can get rid of it visually, but I can't get the space back. This will get rid of it visually when placed at the start of your JS:
var nHR = document.getElementsByTagName("HR")[0];
var nHRParent = nHR.parentNode;
nHRParent.removeChild(nHR);
-Walden
------------
Walden H Leverich III
President & CEO
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com
Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.)
_______________________________________________ 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.
As an Amazon Associate we earn from qualifying purchases.
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.