Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

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 réponses
  • 1 a ce problème
  • 11 vues
  • Dernière réponse par 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.

Toutes les réponses (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.