Tuesday, December 22, 2009

Re: [jQuery] Re: Autosuggest breaks in ie7/8

BTW, just to commiserate, you're not the only one who's ever posted incorrect information here.

Want to hear a whopper I posted a couple of years ago? Someone was asking how to change the title in the browser window, and I told them that they couldn't: You only get one chance at setting the title, because you can only have one <title> tag in a document, and once the page is loaded you can't add another <title> tag.

Lucky for the OP, someone followed up with a comment to the effect of, "Dude! Ever hear of document.title?" :-)

-Mike

On Tue, Dec 22, 2009 at 8:48 PM, Michael Geary <mg@mg.to> wrote:
I intended no offense, MorningZ, but suggesting that changing a parameter name from 'row' to 'ThisRow' may somehow fix an IE problem isn't helpful in the slightest. It's simply incorrect. It won't fix the problem, and it's only a distraction from finding the real issue.

'row' isn't a reserved word in IE or in any other browser:

http://www.google.com/search?q=javascript+reserved+words

No comments: