anthjhoc
01-24-2003, 02:12 PM
I am trying to have a dropdown that when selected it would drop down to a specific line in the html page:
Example:
If you selected 12 display 'SUBPROG1 message' That would dropdown to 12 display 'SUBPROG1 message text
<FORM action="post">
<select size="1" NAME="link00002" style="width:400">
<option value="#SUBPROG100002">12 display 'SUBPROG1 message'
</option>
<option value="#SUBPROG100004">18 display 'fatal error in subprog1'
</option>
</select>
<INPUT TYPE="button" NAME="but00002" value=GO onclick="return butCheck_onclick(link00002)">
<pre>
8
8 display "in subprog.cbl".
9 display passed-data
10 move 'AAAAAAAAAA' to test-field
11 if test-field = 'FATAL ERROR'
12 display 'SUBPROG1 message
13 display 'test-field =' TEST-FIELD
14 perform fatal-error
15 end-if
16 goback.
17 fatal-error section.
19 move 12 to return-code
20 goback
21 .
22
</pre>
</FORM>12 display 'SUBPROG1 message' 12 display 'SUBPROG1 message
Example:
If you selected 12 display 'SUBPROG1 message' That would dropdown to 12 display 'SUBPROG1 message text
<FORM action="post">
<select size="1" NAME="link00002" style="width:400">
<option value="#SUBPROG100002">12 display 'SUBPROG1 message'
</option>
<option value="#SUBPROG100004">18 display 'fatal error in subprog1'
</option>
</select>
<INPUT TYPE="button" NAME="but00002" value=GO onclick="return butCheck_onclick(link00002)">
<pre>
8
8 display "in subprog.cbl".
9 display passed-data
10 move 'AAAAAAAAAA' to test-field
11 if test-field = 'FATAL ERROR'
12 display 'SUBPROG1 message
13 display 'test-field =' TEST-FIELD
14 perform fatal-error
15 end-if
16 goback.
17 fatal-error section.
19 move 12 to return-code
20 goback
21 .
22
</pre>
</FORM>12 display 'SUBPROG1 message' 12 display 'SUBPROG1 message