0
alert () limits
Do the alert function (JS) have a limit? And if it does, what is it? I mean in terms of characters, what else you can put in it, the limit of those things, or if it's simply limitless, i mean, could you the whole page there? With links, images, all HTML elements, can you add CSS's styles to it? Sorry if i being lazy but Solo Learn's playground lags a bit on my phone while working with big codes (read: a dozen lines :v) and screw up with my RAM so I have to restart my phone if i try to work there (i use editors downloaded from Play Store).
3 Respostas
+ 1
The alert box is a system object, and not subject to CSS. To do this style of thing you would need to create an HTML element and mimic the alert()functionality.
Or you can use function like SweetAlert
https://github.com/t4t5/sweetalert
+ 1
Thanks man!
+ 1
Grasshopper Hell Monkey you are welcome