Posted by RobG on 03/20/06 04:23
Chris Ianson said on 20/03/2006 12:00 PM AEST:
> "Randy Webb" <HikksNotAtHome@aol.com> wrote in message
> news:B4ydnUSoXs5ynYPZRVn-jQ@comcast.com...
>
>>Chris Ianson said the following on 3/19/2006 8:05 PM:
>>
>>>PS: Is it possible to insert a line break in the text that appears in the
>>>prompt confirmation box?
>>
>>\n is a new line in the confirmation.
>>
>>confirm('This is\n text with a \n linebreak')
>>
>>Same thing with an alert
>
>
> Thanks, I had tried that but it just printed '/n' in the box! Works now
-----------------------------------------------^^^
> though, I must have done something wrong.
Yes, newline is \n not /n.
--
Rob
Navigation:
[Reply to this message]
|