

Quick and easy explanation of the jQuery command replace. The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp,…
Last week we wrote a blog post on how to disable right click functionality on an entire website. Since then we’ve had a few requests on how you would apply…
This is an example of how to disable right clicking on a website using JavaScript and Bootstrap. You could leave Bootstrap off completely and use the basic alert functionality, but…
I have an ajax call: $.ajax({ type: ‘POST’, url: ‘submit.php’, data: { templateID: url, submitType: 208 }, success: function(data) { console.log(data); } }); It returns: {“subject”:”Test 123″,”body”:”<p>looks good!<\/p>”} But how…
Here is an example of how to reload a page on button click with Javacript and removing the query string. I have a page like this: http://gallitin.com/experts-exchange/29046174.php?id=1&query=nathan&orgID=2442 I want to…