Blog





Loading custom fonts from the same domain and font does not display. The code inspector console view shows a CORS policy blocked message

Posted on April 23, 2018 | Filed in Security, The Web, Wordpress

When you see a warning like the above in your Chrome console view – the problem can be solved quickly. This problem occurs when your website has a domain…





How to Set a Background Using jQuery

Posted on March 29, 2018 | Filed in jQuery

Setting a background with jQuery can be done with the following code: jQuery(element).css(‘background-image’, ‘url(“‘ + image-URL + ‘”)’);


How to Submit a Form with jQuery

Posted on March 28, 2018 | Filed in jQuery

Sometimes you want to delay submitting a form until you can check it via jQuery and if it all looks valid, then submit the form. To submit a form using…