Walden

You mentioned that the <HR> tag was missing and I have worked out why. Sometimes, NS will not let me view the source and then save it. To achieve this, I have, on several occasions had to shut down and restart NS and then restart ny WSG session. Sometimes it will let me do a save file from the main browser screen, but, of course, this reflects the changes made to it by any code, so the <HR> will not be there.
Obviously, I should save the code and not the page, and I can do this by viewing the source in NS and then copying and pasting the source into a new document - a waste of time but more reliable.



I have done a snip of the latest code. NS still insists that document.getElementsByName(buttons2)[0] has no properties


Best wishes

Rob

_________________________________________________

<html>
<head>
<title>AS/400 Workstation Gateway</title>
</head>
<body>
<form METHOD="POST" ACTION="http://000.000.000.000:5881/WSG/019414/QTMTWSG/QTWSG00624";>
<input TYPE="HIDDEN" NAME="SESSION" VALUE="/81BC50F8C0694FC9/4FD9C6F3"><pre>
<center><h3>AS/400 Workstation Gateway</h3></center>
<hr>


<font COLOR="WHITE" >ERROS Workgroup Organiser<font COLOR="YELLOW" SIZE="-1"> (An ERROS Application) <font COLOR="BLUE" SIZE="-0"> Rob Dixon </b><font COLOR="NAVY" > Rob Dixon Collection <br> <br> <br> ERROS Country <br> name <br><script LANGUAGE="JavaScript"> var nHR = document.getElementsByTagName("HR")[0]; var nHRParent = nHR.parentNode; nHRParent.removeChild(nHR); </SCRIPT>
<script LANGUAGE="JavaScript"> var num; var msgt; var colour; var session=(document.getElementsByName('SESSION') [0].value);
javascript:window.history.forward(1); colour = "cyan"; void(document.bgColor='C0C0C0');
function fd() {var buttonname = session + "/BUTTON.999-999=*E"; document.getElementsByName(buttonname) [0].click()}
function fm(msg) {
if (msg=='1') {msgt="Double left click on link to navigate"}
else if (msg=='2') {msgt="Double click to continue"}
else if (msg=='3') {msgt="Double click to Navigate or Single click and then select option"}
else if (msg=='4') {msgt="Double click for details or Single click and click on Navigate"}
else if (msg=='5') {msgt="Single click and select Option"}
else {msgt="Hover over highlighted links or images for instructions"}
javascript:document.getElementById('popupText').innerHTML=msgt;} function fr(num) {document.getElementsByName('AFIELD.007-016') [0].value = num;} document.getElementsByTagName("BODY")[0].setAttribute("onLoad","DoOnLoad()");


function DoOnLoad(){document.getElementsByName('AFIELD.007-016')[0].focus();} </SCRIPT>
<style>
A:link {color:blue;text-decoration:none;font-weight:bold;}
A:visited {color:blue;text-decoration:none;font-weight:bold;}
A:hover {color:blue;text-decoration:underline;font-weight:bold;}</STYLE>


<font COLOR="FFFF00"> Public Data</font> <input TYPE="TEXT" NAME="AFIELD.007-016" VALUE="" SIZE=64 MAXLENGTH=64>
Selected <font COLOR="FF00FF"> </font>
<table><td BGCOLOR=YELLOW> To accept, click on ENTER; else type new ID & click on ENTER</b> </td></tr>
<tr><td bgcolor="yellow" id="popupText"> Hover over highlighted links or images for instructions</td></table> <br>
<br><tt><font COLOR="YELLOW" >(Page Down for more)</b><br><font COLOR="BLACK" > 1<a href="#" ONMOUSEOVER="fm(5)" onDblClick="fr(1); fd()" ONCLICK="fr(1); fm(5)"; onmouseout="fm(9)";> United Kingdom</a> <br><br> <br> <br> <br> <br> <br> <br> <br> <br>
<script LANGUAGE="JavaScript" defer="true"> function cbt2(letter, newText) {var buttons2 = session + "/BUTTON.999-999=*" + letter; document.getElementsByName(buttons2) [0].value=newText;} cbt2('1', "Help"); cbt2('2', "MSG Help"); </SCRIPT>



<input TYPE="SUBMIT" NAME="/81BC50F8C0694FC9/4FD9C6F3/BUTTON.999-999=*E" VALUE="Enter"><input TYPE="SUBMIT" NAME="/81BC50F8C0694FC9/4FD9C6F3/BUTTON.999-999=*U" VALUE="Page Up"><input TYPE="SUBMIT" NAME="/81BC50F8C0694FC9/4FD9C6F3/BUTTON.999-999=*V" VALUE="Page Down">
<input TYPE="SUBMIT" NAME="/81BC50F8C0694FC9/4FD9C6F3/BUTTON.999-999=*1" VALUE="F01"><input TYPE="SUBMIT" NAME="/81BC50F8C0694FC9/4FD9C6F3/BUTTON.999-999=*2" VALUE="F02">
</pre>
</form>
</body>
</html>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.