![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I’m so tired from banging this problem around all day, I hope I can explain it succinctly & accurately. I want to execute a function immediately following a click on <input type="RESET"... snip |
#3
| |||
| |||
|
|
"Charles M. Fish, Sr." <AmandaReckonwith (AT) notDot (DOT) com> wrote in message news:3F6FA3D2.1060604 (AT) notDot (DOT) com... I’m so tired from banging this problem around all day, I hope I can explain it succinctly & accurately. I want to execute a function immediately following a click on <input type="RESET"... snip input type=reset onclick="document.f.txt.value='whatever';" doesn't work, but input type=reset onclick="setTimeout('document.f.txt.value=\'Hi.\'; ',1);" has no probs. HTH Ivo |
#4
| |||
| |||
|
|
Ivo, Hi... Thank you for your reply. I'm still having difficulties with getting something (*anything*) to occur upon execution of <input type="reset"... I tried your suggested line (verbatim except for substituting order & orderDate) and my Netscape | Tools | Web Development | Javascript Console returns: Error: unterminated string literal Source Code: setTimeout('document.order.orderDate.value=\'Hi.\' ;',1);" I don't understand the pair of backslashes surrounding 'Hi. are they supposed to swap a string literal for a variable? Again, I want to restore a variable( not a literal) to a readonly text field after executing a true "reset". Is it possible? TIA C == Ivo wrote: "Charles M. Fish, Sr." <AmandaReckonwith (AT) notDot (DOT) com> wrote in message news:3F6FA3D2.1060604 (AT) notDot (DOT) com... I’m so tired from banging this problem around all day, I hope I can explain it succinctly & accurately. I want to execute a function immediately following a click on <input type="RESET"... snip input type=reset onclick="document.f.txt.value='whatever';" doesn't work, but input type=reset onclick="setTimeout('document.f.txt.value=\'Hi.\'; ',1);" has no probs. HTH Ivo |
![]() |
| Thread Tools | |
| Display Modes | |
| |