4 Replies - 2552 Views - Last Post: 12 February 2011 - 09:17 PM

#1 yamu.jyothsna@gmail.com  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 29-January 11

multiple lines in dialog Box using Javascript

Posted 10 February 2011 - 10:16 PM

How to print multiple lines in dialog box using Javascript
Is This A Good Question/Topic? 0
  • +

Replies To: multiple lines in dialog Box using Javascript

#2 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Re: multiple lines in dialog Box using Javascript

Posted 11 February 2011 - 12:16 AM

If you mean putting text on different lines then
"This"+ "ought /n To Work."


Regards,
~paperclip

EDIT: code error

This post has been edited by paperclipmuffin: 11 February 2011 - 12:17 AM

Was This Post Helpful? 1
  • +
  • -

#3 yamu.jyothsna@gmail.com  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 29-January 11

Re: multiple lines in dialog Box using Javascript

Posted 11 February 2011 - 10:14 AM

View Postpaperclipmuffin, on 11 February 2011 - 12:16 AM, said:

If you mean putting text on different lines then
"This"+ "ought /n To Work."


Regards,
~paperclip

EDIT: code error


Thanx 4 ur reply...
Was This Post Helpful? 0
  • +
  • -

#4 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1133
  • View blog
  • Posts: 7,088
  • Joined: 07-September 06

Re: multiple lines in dialog Box using Javascript

Posted 11 February 2011 - 10:38 AM

paperclipmuffin is correct other than he has the slash facing the wrong way. It should be this:
"This ought \n to work"


Hope that helps.
Was This Post Helpful? 1
  • +
  • -

#5 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Re: multiple lines in dialog Box using Javascript

Posted 12 February 2011 - 09:17 PM

HA! typing fail.

thanks betawar,

~paperclip
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1