Buy me a coffee
Spammers!
If you are going to put nonsense comments on my articles at least have the decency to click one of these adverts while you are here.
Even if you are a regular visitor you click a couple of ads while you are here - you might find something you want.
You May Also Like…
Cloud
accessibility block browser cache chrome chunk cms concrete5 CSS curl database date error file firefox form get href ie image input iphone javascript JQuery link magento MODx myqsl MySQL php post profile Revolution select Server session snippet spellcheck spelling table textarea tinymce w3c wordpress xmlInfo
Yes, the images are ambiguous;
Yes, they came from Google images;
No, I didn't get permission to use them*;
I know Magento called isn't Magneto;
And...
Why do spammers who hit this site do it with such a bizarre use of the English language?;
Javascript Archive
-
Copy an href Value to the Container Using JQuery
Posted on 23/09/2011 | 1 CommentSometimes you may need to make a whole div clickable, but instead of wrapping an <a> tag around it all... -
Checking to see if a JavaScript function exists
Posted on 22/07/2011 | No CommentsTo avoid JS clashes or the script falling over do this: if(typeof yourFunctionName == 'function') { // Safe to do... -
TinyMCE Spellcheck in IE using ieSpell
Posted on 21/03/2011 | No CommentsFollowing my posts on MODx TinyMCE Spellcheck and Enabling Firefox's Spellcheck in MODx TinyMCE Internet Explorer still doesn't want to... -
Really Simple JQuery Image Animation
Posted on 08/03/2011 | 2 CommentsA really quick way to cycle through some images is to use this: Javascript $(document).ready(function() { $("ul#galleryimages li").hide(); var j... -
Converting a URL into an Active Link in JavaScript
Posted on 09/02/2011 | No CommentsPass in some text and get it back with the URLs converted into clickable links function linkify(text){ if (text) {... -
Submiting a form using JQuery
Posted on 15/04/2010 | 3 CommentsTo submit a form using JQuery use this snippet of code. This will collect all of the inputs and add... -
Limit Words in a textarea using JQuery
Posted on 30/03/2010 | 1 CommentHTML <textarea id="detailed"></textarea>Detailed decription<br /><span id="detailedleft"></span> JQuery $('textarea#detailed').keyup(function() { var len = (this.value.split(' ').length) -1; if (len >= 250) {... -
Limit Characters in a textarea using JQuery
Posted on 30/03/2010 | No CommentsHTML <textarea id="brief"></textarea>Brief decription<br /><span id="briefleft"></span> JQuery $('textarea#brief').keyup(function() { var len = this.value.length; if (len >= 100) { this.value =... -
Image upload using JQuery, PHP and no file input
Posted on 21/03/2010 | 11 CommentsAfter some hours over the weekend and more whilst working on a client's site I have something that works! Developing... -
Clear input fields if they are still default value
Posted on 19/03/2010 | 1 CommentSwitches clears input field if focussed and default. To use, give all inputs class="default-value". Use in conjunction with Submiting a...









