01-17-2020, 06:23 AM
(01-12-2020, 12:15 AM)Alexandre Machado Wrote: The syntax is incorrect in the second example. The object is window (singular), not windows. You can omit window object and use alert() only too.
I tried with alert only. It is not working. The problem is not in the syntax (it was a mistake when I wrote this post).

