Re: Strange string stuff -- maybe everything is ending...
| From: | Tedd Sperling | Date: | Sat, 22 Dec 2012 16:29:51 +0000 |
| Subject: | Re: Strange string stuff -- maybe everything is ending... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319938@lists.php.net to get a copy of this message | ||
On Dec 21, 2012, at 5:20 PM, Volmar Machado <qi.volmar@gmail.com> wrote:
> What is the result in FF? And on IE? (the echoed string)
That's the problem, it's different.
If the last char in a string is set to null, then it causes JavaScript routines running under IE to
behave differently than the exact same JavaScript routines running under Safari or FireFox. This was
something I never expected.
However, the web industry has had to deal with IE oddities for many, many years -- the problem
remains and it's called IE.
Remember, M$ always has a better idea.
Cheers,
tedd
_____________________
tedd@sperling.com
http://sperling.com