InterviewSolution
Saved Bookmarks
| 1. |
Absolute value of a number in JavaScript? |
|
Answer» To display a blink text, use the blink () method in JavaScript. The string blinks using this method. Note: The blank() method is not part of the standard now and the <blank> element is OBSOLETE. THEREFORE, it may not work on modern web browsers. Let us SEE an example: <html> <BODY> <script> var myStr = "Learn!"; var res = myStr.blink(); document.write(res) </script> </body> </html>The output displays the text and it may or may not blink, SINCE the method is not part of the standard now: Learn! |
|