Java中promptLabel,Javascript Prompt()文本在Internet Explorer 11中部分隐藏

我试图在prompt()框中显示“大于正常”的文本量 . 在Internet Explorer 11中调用javascript prompt()函数时,我的大部分文本都被隐藏了 . 它似乎只支持2行文本 . Chrome,Firefox和Opera似乎运行良好 . 这似乎只是一个IE问题 .

prompt("Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.");

我只能看到这篇文章“Lorem Ipsum只是印刷和排版行业的虚拟文本.Lorem Ipsum自16世纪以来一直是业界标准的虚拟文本” . 其余部分未显示 .

我担心我已经知道了答案,但是有没有理由为什么会这样呢?我更喜欢使用prompt()而不使用自定义模式 .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值