Michael Hamm
Usenet Archive
- Joined
- Jul 24, 2000
- Messages
- 11
- Reaction score
- 0
I have the following:
<form onsubmit="this.q.value='from '+this.a.value+' to '+this.b.value; this.a.value='PLEASE';this.b.value='WAIT';" action="http://google.com/maps"><input type="submit" value="Find"> Google's directions from <input name="a" size="36"> to <input size="36" name="b">.<input type="hidden" name="q"></form>
For brevity's sake, I wish to shorten this.x.value to f(x) (for each x), assuming this comes out shorter (in bytes, not steps). Is there a way to do so? (I'm only running this on my own computer, so I only care if it runs in M$IE6.)
Tia,
Michael Hamm
AM, Math, Wash. U. St. Louis
Fine print:
http://math.wustl.edu/~msh210/ ... legal.html
<form onsubmit="this.q.value='from '+this.a.value+' to '+this.b.value; this.a.value='PLEASE';this.b.value='WAIT';" action="http://google.com/maps"><input type="submit" value="Find"> Google's directions from <input name="a" size="36"> to <input size="36" name="b">.<input type="hidden" name="q"></form>
For brevity's sake, I wish to shorten this.x.value to f(x) (for each x), assuming this comes out shorter (in bytes, not steps). Is there a way to do so? (I'm only running this on my own computer, so I only care if it runs in M$IE6.)
Tia,
Michael Hamm
AM, Math, Wash. U. St. Louis
Fine print:
http://math.wustl.edu/~msh210/ ... legal.html