What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-05 05:31:17
magento 2 backend custom form
<?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <argument... Add solution -
PHP 2021-11-04 12:03:15
send email when form is submitted php
<?php if(isset($_POST['submit'])){ $to = "[email protected]"; // this is your Email address $from = $_POST['email']; // this is the sender's Email address $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; ... Add solution -
TypeScript 2021-11-03 15:47:15
styled components react native
npm install --save styled-componentsnpm install --save styled-components /** * Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; } /** * Hack to ... Add solution -
Html 2021-11-03 00:26:12
html pass a string to clipboard
function copyToClipboard(text) { var dummy = document.createElement("textarea"); // to avoid breaking orgain page when copying more words // cant copy when adding below this code // dummy.style.display = 'none' document.body.... Add solution -
Javascript 2021-11-02 15:11:09
clear ckeditor textarea jquery
function CKupdate(){ for ( instance in CKEDITOR.instances ){ CKEDITOR.instances[instance].updateElement(); CKEDITOR.instances[instance].setData(''); } } $(document).ready(function(){ CKEDITOR.replace( 'comment-textarea' ); ... Add solution -
Java 2021-10-28 14:52:16
how to generate randome number in javacsirpt
js// Get a random number out of [10, 11, 12, 13] random(10, 14); // Get a random number from 1 to 100 (inclusive) random(1, 101); // Get a random number from -10 to 10 (inclusive) random(-10, 11);// Get a random number out of [10, 11, 12, 13]random(10, ... Add solution