jQuery Question
- Started
- Last post
- 4 Responses
- jonatne
I wrote a little deal with jQuery to clear specified form fields of their initial values upon focus.
It works if I have the code in the head of my document but it doesn't work if i put it in an external file. I'd really like to put it in an external as I'm building a master form handling js file.
What am I doing wrong here?
here's the code : http://rafb.net/p/j68Nkc58.html
- urban100
are you including the external file after all other external js files (esp jquery.js) are included in the head?
- jonatne0
Urban10,
Yes it's the last thing to load.
- jonatne0
Here it is working : http://www.chinprint.com/quotee/…
On the 'Enter Size Quantities' area.
In this example it's in the head. If I move it to an external sheet, specifically 'glideMailer.js', it doesn't work at all.
- jonatne0
Maybe Sunday wasn't the best day to post this...
...bump