What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2021-09-11 14:14:01
javascript jquery get form field value
$(document).ready(function(){ $("#buttonSet").click(function () { ... Add solution -
Javascript 2021-09-11 09:26:02
change boolean value on click react
class Q1 extends Component { constructor(props) { super(props); this.state = { page1: false, page2:false, page3:false } this.handleClick1= this.handleClick1.bind(this); this.handleClick2= this.handleClick2.bind(this); this.hand... Add solution -
Html 2021-09-10 08:26:01
jquery replace all spaces in string
<body> Title : <input type="text" id="title"><br/> Keyword : <input type="text" id="keyword"> </body> <script> $('#title').keyup(function() { var replaceSpace = $(this).... Add solution -
Html 2021-09-10 08:01:03
inner html templates
function log(msg) { var logElem = document.querySelector(".log"); var time = new Date(); var timeStr = time.toLocaleTimeString(); logElem.innerHTML += timeStr + ": " + msg + "<br/>"; } log("Logging mouse... Add solution -
CSS 2021-09-09 17:03:02
increase space between dashed border css
div.two{border:2px dashed #FF0000} div.five:before { content: ""; position: absolute; border: 5px dashed #FF0000; top: -3px; bottom: -3px; left: -3px; right: -3px; } div.ten:before { content: ""; position: absolute;... Add solution -
Other 2021-09-07 08:43:01
captcha
<html> <head> <title>reCAPTCHA demo: Simple page</title> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body>... Add solution -
Javascript 2021-08-30 06:45:02
javascript match image attribute value
var str = "<img alt='' src='http://api.com/images/UID' /><br/>Some plain text<br/><a href='http://www.google.com'>http://www.google.com</a>"; var regex = /<img.*?src='(.*?)'/; var src = regex.exec(str)[1]; cons... Add solution
Best helpers
User 768576
+10
Viki
+5
Riptiki
+5
Suraj tiwari
+5
Bmcl
+5
Nuno
+5
AllenG
+5
Hugh Zang
+5
Marcel Souza
+5
Rosey28
+5