devcodepro Public source code sharing repository https://devcodepro.com jQuery form on change - devcodepro /* */ $(document).ready(function(){ $("#myform").on("click", function(){ $(".myclass").fadeIn(); }); }); https://devcodepro.com/view/92/92/jQuery-form-on-change- https://devcodepro.com/view/92/92/jQuery-form-on-change- Sun, 6 Sep 2020 10:58:41 GMT Reddit toolbar bookmarklet code - devcodepro javascript:(function(){f='https://www.reddit.com/submit?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title);a=function(){if(!window.open(f+'noui=1&jump=doclose','enter','location=yes,links=no,scrollbars=n... https://devcodepro.com/view/89/92/Reddit-toolbar-bookmarklet-code https://devcodepro.com/view/89/92/Reddit-toolbar-bookmarklet-code Tue, 10 Mar 2020 16:06:17 GMT TinyMCE v 4 change font style / size / family - devcodepro tinymce.init({ selector: 'textarea', height: 350, content_style: ".mce-content-body {font-size:13px;color: #607d8b;font-family:tahoma,verdana}", menubar: false, plugins: [ 'advlist autolink lists link image charmap print preview anchor', 'searchreplace... https://devcodepro.com/view/49/12/TinyMCE-v-4-change-font-style-size-family- https://devcodepro.com/view/49/12/TinyMCE-v-4-change-font-style-size-family- Tue, 22 Aug 2017 07:46:43 GMT Highlight.js Line Numbers - devcodepro // // //html: // Text //style: //code ul{counter-reset: line;} //code li{counter-increment: line;} //code li:before{content: counter(line);width: 30px;display: inline-block;} $(document).ready(function() { $('pre code').each(function(i, e) {... https://devcodepro.com/view/43/11/Highlight-js-Line-Numbers https://devcodepro.com/view/43/11/Highlight-js-Line-Numbers Fri, 30 Jun 2017 04:04:58 GMT uploadify onUploadSuccess (Complete) - devcodepro $(function() { $('#file_upload').uploadify({ 'formData': { 'timestamp': ' ', 'token': ' ' }, 'debug': false, 'swf':... https://devcodepro.com/view/38/8/uploadify-onUploadSuccess--Complete- https://devcodepro.com/view/38/8/uploadify-onUploadSuccess--Complete- Mon, 19 Jun 2017 12:45:14 GMT How to check CKEditor textarea not empty - devcodepro Please enter Description CKEDITOR.replace( 'longdesc' ); $("form").submit(function(e) { var description = CKEDITOR.instances['longdesc'].getData().replace(/ ]*>/gi, '').length; if (!description) {... https://devcodepro.com/view/18/1/How-to-check-CKEditor-textarea-not-empty- https://devcodepro.com/view/18/1/How-to-check-CKEditor-textarea-not-empty- Sun, 25 Dec 2016 14:44:24 GMT Reload / Refresh Div with jQuery - devcodepro $(function() { $("a.random").click(function() { $(".div1").load(location.href + " .div1"); }); }); Click Here https://devcodepro.com/view/16/6/Reload---Refresh-Div-with-jQuery https://devcodepro.com/view/16/6/Reload---Refresh-Div-with-jQuery Wed, 7 Dec 2016 12:37:43 GMT Validating international phone numbers - devcodepro jQuery('#number').keyup(function () { this.value = this.value.replace(/[^0-9.s+()]/g,''); }); https://devcodepro.com/view/11/1/Validating-international-phone-numbers https://devcodepro.com/view/11/1/Validating-international-phone-numbers Sun, 25 Sep 2016 14:52:42 GMT