This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Facing issue with Javascript Alert text if the text has more length horizontal scroll is appearing which was not happenning with IE.

  • 2 replies
  • 1 has this problem
  • 7 views
  • Last reply by cor-el

more options

Hi, I am using Windows 7 OS and FF version is Firefox ESR 38.2.0. in one of my application i need to display huge text (300 characters) on Javascript popup alert box(screenshot attached), as this text is huge there is a horizontal scroll appearing which doesn't looks good. where as in IE11 or Google Chrome complete text is shown on Javascript alert window.

What is the alternative for me to show complete text on alert window without scrolls.

Hi, I am using Windows 7 OS and FF version is Firefox ESR 38.2.0. in one of my application i need to display huge text (300 characters) on Javascript popup alert box(screenshot attached), as this text is huge there is a horizontal scroll appearing which doesn't looks good. where as in IE11 or Google Chrome complete text is shown on Javascript alert window. What is the alternative for me to show complete text on alert window without scrolls.

All Replies (2)

more options

Hello,

In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!

more options

I'm not aware to set a width to the modal JavaScript alert window. It seems to adjust its width automatically or wrap content is possible.

What kind of text are you trying to show in this alert?

Try to ask advice at the Stack Overflow forum site.