posted 16 years ago
I use IE6. Anyway, I used stopPropagation in addition to cancelBubble (see the code shown below).
The executeSearch( e ) function (by pressing the Enter key) for the input text field was invoked. However, I was able to see the result of that function in the browser for about only "one second". Thereafter, the result disappeared and the original screen (before the invocation of the function) was displayed.
Question 1:
How do I "hold" the result of the executeSearch(e) on the screen?
Question 2:
Within the 'table', which is enclosed by <div>, I have functions invoked by key strokes. And I also have functions invoked by mouse clicks. The key strokes functions work if I keep using keyboard keys. The mouse clicks functions work if I click mouse. However, if I mix using mouse clicks and key strokes, the functions invoked by key strokes falter. How this kind of problem can be resolved?
Thank you for your help.