473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Print Tab(\t) in alert statement with javascript in mozilla??

109 100+
Hi...

i wanted to print some message with javascript. The following works well with IE but the tab was not produced in mozilla...
Expand|Select|Wrap|Line Numbers
  1. <script language="javascript">
  2. function pritnmsg()
  3. {
  4.   alert("\n\t Apple!");
  5.   return true;
  6. }
  7. </script>
Jul 24 '07 #1
1 3651
skyy
109 100+
Hi...

i wanted to print some message with javascript. The following works well with IE but the tab was not produced in mozilla...
Expand|Select|Wrap|Line Numbers
  1. <script language="javascript">
  2. function pritnmsg()
  3. {
  4.   alert("\n\t Apple!");
  5.   return true;
  6. }
  7. </script>
Any idea why the \t was not execute in mozilla? Is it not implement in mozilla?
Jul 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: cjeffwang | last post by:
I am doing examples in "JavaScript: the Definitive Guide." For Example 8-1, a rectangle constructor function, how do I print/write the rectagle (x,y)? Here is the JavaScript program: ...
7
by: e | last post by:
I've been having an extremely difficult time finding an answer to this in IE / js groups, so I thought I'd try here. I've got an aspx page that delivers loads of report data into custom-named...
3
by: mcena | last post by:
Hi pals. I am wring this program and I am using the tabstrip control with about 6 tabs. I am not able to pass program control to a specific tab. In my program, the following code enables me to write...
2
by: pleaseexplaintome | last post by:
Hi I have the following perl/cgi script snippet. The goal of this script is to pass a javascript variable to perl where it can be re-used later. Any help is appreciated, Thanks ...
1
pbmods
by: pbmods | last post by:
VARIABLE SCOPE IN JAVASCRIPT LEVEL: BEGINNER/INTERMEDIATE (INTERMEDIATE STUFF IN ) PREREQS: VARIABLES First off, what the heck is 'scope' (the kind that doesn't help kill the germs that cause...
5
by: laredotornado | last post by:
Hi, I have this alert statement alert(myObj); which when executed, alerts "", or something similar. Is there a way I can see a list of attributes and values instead or do I have to write a...
1
by: chaitanyadotcom | last post by:
As per my application i need to create tabs using iFrame dynamically. There are totally 4 buttons in my application where for each button i provide a link. Where in it will dynamically create a tab...
1
by: MATTXtwo | last post by:
I have some problem that need to solve.. let say i got a list of personel number and i want to print the detail of each personel number automatically from that list how i do that coz...
1
oranoos3000
by: oranoos3000 | last post by:
hi excuse me i want to put a picture on the webpage that by click on this picture a print of current page is got,this page is dynamic,and different for various user how can I do ?(with php or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.