Method Description alert(msg) Displays a dialog box with a specified message and an OK button blur() Removes focus from this window clearInterval(ID) Cancels a timeout that was set using the setInterval() method clearTimeout(ID) Cancels a timeout that was set using the setTimeout() method close() Closes this window confirm(msg) Displays a dialog box with a specified message and OK and Cancel buttons focus() Gives focus to this window moveBy(dx, dy) Moves this window by the specified number of pixels moveTo(x, y) Moves the top-left corner of the window to the specified screen coordinates print() Prints the contents of the window or
The post what are the methods of Document Object Model appeared first on Coding Security.
what are the methods of Document Object Model
read more
Tidak ada komentar:
Posting Komentar