- May 13, 2003
- 13,704
- 7
- 81
For the second option, how would I put a hard return in the line that is being copied? I tried forcing them in there, but it doesn't take into account the hard returns in the code, obviously, so I can't remember the code for it. Anyone have any idea? The code follows:
<SELECT NAME="DJ3"
ONCHANGE=' PROCTextCopyComponentValue( document.forms.form2,
DJ3.options[ DJ3.selectedIndex ].value );'
>
<OPTION VALUE="">VIOLATIONS</OPTION>
<OPTION VALUE="!!!NEED TWO LINES HERE!!!">!Security Violation!</OPTION>
Tas.
EDIT: I've tried the following character codes, and nothing works:
/r
/n
char(13) & char(30)
& # 1 3 (LOL -- this one works in here; I had to space it)
<SELECT NAME="DJ3"
ONCHANGE=' PROCTextCopyComponentValue( document.forms.form2,
DJ3.options[ DJ3.selectedIndex ].value );'
>
<OPTION VALUE="">VIOLATIONS</OPTION>
<OPTION VALUE="!!!NEED TWO LINES HERE!!!">!Security Violation!</OPTION>
Tas.
EDIT: I've tried the following character codes, and nothing works:
/r
/n
char(13) & char(30)
& # 1 3 (LOL -- this one works in here; I had to space it)