为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 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.

所有回复 (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.