H
Hal Vaughan
I'm using KDE on Linux, with Konqueror as the testing browser for this
project. I've recently upgraded, so I realize some of the bugs I'm dealing
with may or may not be my program, and could also result from me being less
than perfect in my preliminary coding on test pages.
I had an <OPTION> element, 10 lines in size. Previously I used:
onclick="fillFields()"
and when I clicked on a line in the <OPTION> element, the data was
transferred into an input box below. Now when I try the same thing,
nothing happens. I even replaced the original with:
onclick="alert('got click')"
and there was no response. I replaced "onclick" with "onselect", but it
made no difference.
Does this sound like a programming problem, events <OPTION> elements aren't
supposed to respond to, or a bug in the newer version of the browser?
The original HTML code is:
<select size="10" name="selectFilterFields" onselect="fillFields()"
style="font-family: monospace;">
And the new code is:
<select size="10" name="selectFilterFields" style="font-family: monospace;"
onclick="alert('Selected!')">
but neither version works. Am I doing something wrong?
Thanks!
Hal
project. I've recently upgraded, so I realize some of the bugs I'm dealing
with may or may not be my program, and could also result from me being less
than perfect in my preliminary coding on test pages.
I had an <OPTION> element, 10 lines in size. Previously I used:
onclick="fillFields()"
and when I clicked on a line in the <OPTION> element, the data was
transferred into an input box below. Now when I try the same thing,
nothing happens. I even replaced the original with:
onclick="alert('got click')"
and there was no response. I replaced "onclick" with "onselect", but it
made no difference.
Does this sound like a programming problem, events <OPTION> elements aren't
supposed to respond to, or a bug in the newer version of the browser?
The original HTML code is:
<select size="10" name="selectFilterFields" onselect="fillFields()"
style="font-family: monospace;">
And the new code is:
<select size="10" name="selectFilterFields" style="font-family: monospace;"
onclick="alert('Selected!')">
but neither version works. Am I doing something wrong?
Thanks!
Hal