Hi,
I have a calendar where i write my events.
If I have 2 events in the same day, how to put a carriage return between the
events in the alert part of message?
For example, I want this alert message:
Event one to the office.
Event two to the store.
The string that I use actually is:
fAddEvent(2003,9,17," Event one. Event two.","alert('Event one to the
office. Event two to the store.');","#00ff00","red");
Thanks. Ugo 2 13303
While the city slept, hivan <ug******@libero.it> feverishly typed: Hi, I have a calendar where i write my events. If I have 2 events in the same day, how to put a carriage return between the events in the alert part of message?
use \n
For example, I want this alert message:
Event one to the office. Event two to the store.
The string that I use actually is:
fAddEvent(2003,9,17," Event one. Event two.","alert('Event one to the office. Event two to the store.');","#00ff00","red");
alert('Event one to the office.\nEvent two to the store.');
Hope that helps,
Nige
--
Nigel Moss.
Email address is not valid. ni***@nigenetDOG.org.uk. Take the dog out! http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
"How strange the change from major to minor..."
Yes it works. Thanks
"nice.guy.nige" <ni********@deadspam.com> ha scritto nel messaggio
news:bj************@ID-112325.news.uni-berlin.de... While the city slept, hivan <ug******@libero.it> feverishly typed:
Hi, I have a calendar where i write my events. If I have 2 events in the same day, how to put a carriage return between the events in the alert part of message?
use \n
For example, I want this alert message:
Event one to the office. Event two to the store.
The string that I use actually is:
fAddEvent(2003,9,17," Event one. Event two.","alert('Event one to the office. Event two to the store.');","#00ff00","red");
alert('Event one to the office.\nEvent two to the store.');
Hope that helps, Nige
-- Nigel Moss.
Email address is not valid. ni***@nigenetDOG.org.uk. Take the dog out! http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com "How strange the change from major to minor..."
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rob Lemieux |
last post by:
Using Visual Basic 6.0
I want the program to be able to print the carriage return.
txtDisplay.Text = "Welcome to" + Chr(13) + "my demo."
All I get is
Welcome to|my demo.
|
by: Canes_Rock |
last post by:
The information posted at:
...
|
by: Alin Popovici |
last post by:
Hi!
I have this problem. I am sending as a parameter for a
webmethod a string containing '\r\n' sequences. For some
reason, when I debug my webmethod, the paramter is
received with the carriage...
|
by: Steven |
last post by:
i need to force a carriage return with a textarea field at X number of
characters. anybody know how to do this?
tks
|
by: Alin Popovici |
last post by:
Hi!
I have this problem. I am sending as a parameter for a
webmethod a string containing '\r\n' sequences. For some
reason, when I debug my webmethod, the paramter is
received with the carriage...
|
by: Andrew Chanter |
last post by:
I have a VBA function that returns a string including "vbcr" (VB Carriage
Return) to seperate a list into multiple rows, eg Item1 & vbcr & Item2 &
vbcr & Item3
This works as planned in the...
|
by: Blue |
last post by:
This JS limits the input characters into the form. How do I modify it
so that it also allows CARRIAGE RETURN and BACKSPACE (for making text
correction)?
Due to the template engine I am using, I...
|
by: HockeyFan |
last post by:
I've done this before by trapping keydown and checking for a CR, and
then clicking a particular button based on which textbox the event
happened. However, I was wondering if there's a simpler way...
|
by: evenlater |
last post by:
My db allows the user to send email via CDO. The body of the email is
determined in code. I have built an email form with To, CC and Subject
lines and a large text box for the body of the message...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
|
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...
| |