[JavaScript] Sieve of Eratosthenes
JavaScript implementation of Sieve of Eratosthenes.
read more »JavaScript implementation of Sieve of Eratosthenes.
read more »check HTML text input field to see if the value is integer.
read more »Given the url of Instagram profile picture, return the url of profile picture in full size.
read more »Find set differecne of two arrays, i.e., the elements in one array but not in the other, in JavaScript.
read more »Find the set of all elements (union) in two arrays in JavaScript.
read more »Find common elements (matches, intersection) of two arrays in JavaScript.
read more »When web pages are rendered with JavaScript, how to wait until the DOM nodes of original contents are available for appending our nodes?
read more »Convert specific texts to clickable links (<a> tag) in HTML document via JavaScript.
read more »Append text at the beginning of each line via JavaScript.
read more »Show tooltip when the cursor hovers over the text, and close the tooltip with delay if the cursor is not in the tooltip via JavaScript.
read more »Simple tooltip implementation via JavaScript.
read more »Show annotatoin (note) on mouse hovering over text. Used to help users read ancient Buddhist texts.
read more »DOM manipulation - traverse all sibling elements or nodes via JavaScript.
read more »Tab panel implementation via JavaScript and CSS.
read more »Accordion (collapsible content) implementation via JavaScript.
read more »Modal (Popup) implementation via JavaScript and CSS. Modal is dialog box/popup window that is displayed on top of the current page.
read more »Traverse DOM tree to grab visible texts on webpage via JavaScript.
read more »Traverse DOM tree to find out all text nodes via JavaScript.
read more »Test Text-to-Speech feature in Web Speech API. Not working in Chromium 57, but OK in Firefox 53.
read more »Exercise to draw 3x3 grid of dots via Canvas.
read more »My favorite way to empty an array in JavaScript and why.
read more »JSONP example - show your HTTP request headers.
read more »Sequential typing text effect by JavaScript.
read more »Parallel typing text effect by JavaScript.
read more »Quiz will appear at the end of YouTube video.
read more »Show youtube video if users pass the quiz.
read more »Toggle (Show/Hide) HTML DOM element in JavaScript.
read more »Detect arrow keystrokes via event.key of KeyboardEvent in JavaScript.
read more »Virtual kayboard/keypad in vanilla JavaScript. Used in Pāli Dictionary.
read more »Implementation of setting feature in web application via JSON, Web Storage (localStorage), and JavaScript.
read more »Generate a random string from [a-z0-9] in JavaScript.
read more »Example of accessing browser URL via JavaScript window.location.
read more »Change browser URL without reloading web pages - Example for how to use HTML history API.
read more »Search Taobao.com.
read more »Custom 404 page for GitHub Pages. In the 404 page, a redirect link is created based on the current URL path.
read more »Copy content of textarea to clipboard via JavaScript.
read more »Search links of major search engines - Google, DuckDuckGo, Bing, Yahoo, Baidu, Yandex, Ecosia, Qwant.
read more »Wrap Pāli words in span element via regular expression and JavaScript.
read more »Find photos of me on Facebook.
read more »Conversion Button of Traditional/Simplified Chinese on Website via JavaScript.
read more »Make font size of your website larger/smaller via JavaScript.
read more »Fix the bug in succinct trie implementation of Bits.js - Wrong trie insertion if words are not inserted in alphabetical order.
read more »Parse Accept-Language in HTTP Request Header in JavaScript Programming Language.
read more »Cross-domain requests by JSONP with object instance function as callback on Google App Engine for Python.
read more »Cross-domain requests by JSONP with anonymous callback function on Google App Engine for Python.
read more »Cross-domain requests by JSONP on Google App Engine for Python.
read more »Demonstrate how to make an online 0-9 keypad, which is draggable via jQuery and toggleable via vanilla JavaScript.
read more »Hide div element when clicked outside it, in vanilla JavaScript way. No jQuery or libraries are used.
read more »Dropdown menu using vanilla JavaScript. No jQuery or libraries are used.
read more »Toggle sound on click event of DOM element.
read more »Load CSS file dynamically.
read more »Remove leading and trailing whitespaces of a string in JavaScript.
read more »Play sound on click event of DOM element.
read more »JavaScript cross-browser HTTP POST request
read more »JavaScript cross-browser HTTP GET request
read more »Check DOM readiness in vanilla JavaScript.
read more »JavaScript library New Tong Wen Tang for conversion of Traditional and Simplified Chinese.
read more »Use onmousedown event instead of onclick event if the event handler to be fired before onblur event.
read more »Load website icon (favicon) dynamically.
read more »JavaScript equivalent of basename program.
read more »JavaScript Cross-Browser Implementation of onMouseEnter and onMouseLeave Event
read more »Change the scope (context) of anonymous function - change what this keyword refers to in anonymous function.
read more »Discuss the scope (context) of event handler and how to change what this keyword refers to.
read more »Detect the content change of HTML input elements in a cross-browser and consistent manner.
read more »JavaScript single callback for multiple asynchronous XHR requests.
read more »Redirect users to another website if the website is available.
read more »JavaScript equivalent of Python string startswith, endswith, and contains.
read more »Create DOM elements by JavaScript.
read more »Bug-free way of removing child nodes of a DOM element in JavaScript.
read more »Cross-domain AJAX requests
read more »1% width of browser window equal to how many pixels?
read more »Width of browser window in pixel.
read more »Compare mouseenter, mouseleave, mouseover, and mouseout events.
read more »Load JavaScript scripts dynamically with dependencies.
read more »Send/receive data to/from Google App Engine Python servers by HTTP POST requests in AJAX way.
read more »Draggable, movable HTML element using vanilla JavaScript.
read more »Rich text editor with math equation dialog using Google Closure Library.
read more »Get DOM element position (including scroll position) using JavaScript.
read more »JavaScript Back to Top Link
read more »Detect arrow keystrokes in JavaScript.
read more »Event target element in JavaScript event handling.
read more »Load JavaScript or CSS on demand.
read more »Given a set of strings (words), and an user input string, output a set of strings with prefix the same as the user input string
read more »