Hi everybody, I find problems using a client-side javascript: the script is the followin' and I call it on the ONCLICK event of an image
<script language="javascript">
function funname(){
if (FormName.TextBoxName.value=='string') {
window.alert('abcdefg');}}
</script>
The script works correctly in IE, but it does nothing in NN.
Have some of you any idea?
Just as a try, I try the followin':
<script language="javascript">
function funname(){
if (1==1) {
window.alert('abcdefg');}}
</script>
and it works, so I guess the problem is in the way I try to address the field value of the form.
Thank in advance, David
<script language="javascript">
function funname(){
if (FormName.TextBoxName.value=='string') {
window.alert('abcdefg');}}
</script>
The script works correctly in IE, but it does nothing in NN.
Have some of you any idea?
Just as a try, I try the followin':
<script language="javascript">
function funname(){
if (1==1) {
window.alert('abcdefg');}}
</script>
and it works, so I guess the problem is in the way I try to address the field value of the form.
Thank in advance, David