Quantcast
Channel: UselessCode.org Blog
Viewing all articles
Browse latest Browse all 27

Chrome truncates prompt pre-filled values longer than 2000 characters

$
0
0

The window.prompt() DOM method creates a simple modal pop-up for user input. The first parameter you pass to it is the text displayed in the prompt, the second allows you to pre-fill a value for the user.


Viewing all articles
Browse latest Browse all 27

Trending Articles