No. of Recommendations: 0
Denny said: Add an alert to find out:

Yep - I did that. In fact I went even further. I added two other alerts to display the element's id and it's name, like so:

function setFocus(fldID) {



All three alerts show the correct value! And yet, the .focus statement still generates the error.

I've been fussing around with this for several hours now and simply cannot figure it out. :(

And, BTW, I ran the page through the W3C page validation service - it shows no errors. Any other suggestions will be greatly appreciated.
Print the post  


What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.
When Life Gives You Lemons
We all have had hardships and made poor decisions. The important thing is how we respond and grow. Read the story of a Fool who started from nothing, and looks to gain everything.
Community Home
Speak Your Mind, Start Your Blog, Rate Your Stocks

Community Team Fools - who are those TMF's?
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and Glassdoor #1 Company to Work For 2015! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.