469,327 Members | 1,128 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

FireFox and \t

Doesn't FireFox support "\t" (tab)?

<script type="text/javascript">
alert("1 2\n3 4\n5\t6");
</script>

The above is not displayed correctly under FF.

Is there a work around? Thanks in advance.
Jul 23 '05 #1
1 1054


McKirahan wrote:
Doesn't FireFox support "\t" (tab)?
Yes, it recognizes that in a string literal.
alert("1 2\n3 4\n5\t6");


Unfortunately white space in alerts is collapsed, that is known
bug/problem in Firefox.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jeremy Epstein | last post: by
6 posts views Thread by Geoff | last post: by
87 posts views Thread by expertware | last post: by
5 posts views Thread by SPE - Stani's Python Editor | last post: by
7 posts views Thread by Coder | last post: by
12 posts views Thread by amit | last post: by
6 posts views Thread by scotty | last post: by
7 posts views Thread by Carlos Mendonça | last post: by
3 posts views Thread by SAL | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.