0

For the designing purpose,how to change font color and style in alertbox. Actually i have use session in my project and if user do not respond till 30 seconds, i am trying to warn user using alertbox, or anyother way to do this.

thanks in advance.

웃웃웃웃웃
  • 11,829
  • 15
  • 59
  • 91
DS9
  • 2,995
  • 4
  • 52
  • 102
  • How are you showing the alert? – Matt Ball Mar 01 '13 at 04:55
  • possible duplicate of [How to increase font size in javascript alert()](http://stackoverflow.com/questions/6507823/how-to-increase-font-size-in-javascript-alert) – Ken Mar 01 '13 at 18:33

2 Answers2

1

Do a console.log( $(this) ) instead of alert

Then add CSS like

$(this).css('font-size','12px');
EnterJQ
  • 1,014
  • 8
  • 18
0

alertbox is built-in, so, we can't edit it. You can create dialogs and can style them as you want.

Muhammad Talha Akbar
  • 9,952
  • 6
  • 38
  • 62