We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.