View Full Version : how to make next line in tooltip

2 May 2013, 11:02 PM

I am trying to display some sentences line by line in tooltip like:

var msg = 'First line \n';
msg = 'second line'
metadata.attr = 'ext:qtip="' + msg + '"';

but insted of displaying in the next line it is giving a space between "first line" and "second line".

NOTE: i am doing it in extjs 3.4.0

2 May 2013, 11:32 PM
hi all,

Instead of using that "\n" i had used "<br/>" for that.