Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

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 ответа
  • 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.