What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-05 00:15:05
javascript progress of xml http request
<!DOCTYPE html> <html> <body> <p id="demo">result</p> <button type="button" onclick="get_post_ajax();">Change Content</button> <script type="text/javascript"> functio... Add solution -
Javascript 2022-02-03 14:05:35
href value is missing query values to be interpolated properly
// It is important to include ...router.query because there if where the [dynamic] current value is included, so we need to keep it. // Reference: https://github.com/vercel/next.js/blob/master/errors/href-interpolation-failed.md const myRedirectFunction ... Add solution -
Other 2022-02-03 10:35:26
data-userid attribute lightning
<a href="javascript:void(0);" onclick="{!c.selected}" data-record="{!sr.Id}"/> _______________________________________________________________ In Controller.js selected: function(cmp,event,helper) { var recId =... Add solution -
Javascript 2022-02-02 22:26:23
Tic Tac Toe using html, javascript and css
const player = "O"; const computer = "X"; let board_full = false; let play_board = ["", "", "", "", "", "", "", "", ""]; const board_container ... Add solution -
Javascript 2022-02-02 19:51:32
select everything but an element in react
import reactDom from "react-dom"; import history from "../history"; const Modal = () => { return reactDom.createPortal( <div onClick={() => history.push("/")} className="ui dimmer modals visib... Add solution -
Javascript 2022-02-02 19:45:39
react hook example
// Hooks let you build stateful and dynamic components import React, { useState } from 'react'; function Example() { // Declare a new state variable, which we'll call "count" const [count, setCount] = useState(0); return ( <div> ... Add solution
Best helpers
Ranking is empty