Category: JavaScript
-
In a recent update on WordPress CMS and my existing plugins I noticed that form submissions started slowing a bit on entries. In checking this I found that the form would attempt to submit but would stay in a spinning stage and never validate or submit it. So, here’s what…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
Found this to work really well for a WordPress custom theme where the only option I had was to drop an override via a header/footer plugin option: [sourcecode] <script> var ref= window.location.pathname; var search="/youruniquepagelink/"; if (ref.indexOf(search) > -1) { let myElements = document.querySelectorAll(".your-class"); for (let i = 0; i <…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
So I ran across an interesting mystery a while back that I thought I would share the fix for once I had time to document it. I have a client that uses an embeddable SharePoint page within CRM to allow document uploads right from the front entity screens without having…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
Create a JavaScript file called iecheck.js and paste the following in the snippet: [sourcecode language=”javascript”] function trueOrFalse() { return true; } function IeVersion() { // Set defaults var value = { IsIE: false, TrueVersion: 0, ActingVersion: 0, CompatibilityMode: false }; // Try to find the Trident version number var trident…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+