Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | php-development

Search:
Follow @endyourif rss Facebook LinkedIn

Checking if an element exists with jQuery Checking if an element exists with jQuery

Published on Mar 19, 2019 by Jamie Munro

You want to do some conditional processing depending on if an item or items exist in your DOM (Document Object Model). By default, jQuery doesn't have a function that performs this; however, there is a very simple way to extend jQuery to do so.

Read more >

Tags: jquery | extend | JavaScript | jQuery

Creating Your Own jQuery Selector Creating Your Own jQuery Selector

Published on Mar 16, 2019 by Jamie Munro

By default, the jQuery selectors are pretty advanced. You can select items by classes, ids, attributes, the first, the last, etc… But why stop there? By simply extending jQuery, we can add our own custom selectors to further enhance how we use jQuery. In this example, I will create an extended function called widthOver300 leveraging jQuery's $.extend

Read more >

Tags: jquery | extend | JavaScript | jQuery

Implementing a trigger callback with jQuery Implementing a trigger callback with jQuery

Published on Mar 14, 2019 by Jamie Munro

As we move into a more and more interactive era of website development, more of the JavaScript work is being done asynchronously and not "top-down". This can provide some interesting challenges, for example, executing a specific action after a specific process has been completed – also known as a callback. Thankfully, jQuery provides some useful functions to help with this process. This article will explore using $(window).trigger();.

Read more >

Tags: jquery | JavaScript | jQuery

Manipulating an array of DOM elements with jQuery $.map() Manipulating an array of DOM elements with jQuery $.map()

Published on Mar 12, 2019 by Jamie Munro

jQuery's $.map() function is a pretty neat function. It accepts an array as a parameter and then will iterate through each item in the array allowing you to further manipulate and build a new array with that data. This article will explore how to use it while providing a useful example.

Read more >

Tags: jquery | jQuery

Displaying a Progress Bar with HTML Displaying a Progress Bar with HTML

Published on Mar 11, 2019 by Jamie Munro

HTML5 now contains a markup tag progress. This displays a basic progress bar based on two attributes that you must specify: the current value and the max value. Using some basic Javascript, you can increment the progress bar so the user knows something is happening and will be done soon.

Read more >

Tags: html | JavaScript | jQuery

Using CakePHP with the jQuery Sortable Plugin Using CakePHP with the jQuery Sortable Plugin

Published on Mar 4, 2019 by Jamie Munro

Organizing data with the jQuery Sortable plugin Organizing data with the jQuery Sortable plugin

Published on Mar 2, 2019 by Jamie Munro

Transitioning AJAX Content into view with jQuery $.animate() Transitioning AJAX Content into view with jQuery $.animate()

Published on Feb 28, 2019 by Jamie Munro

jQuery: Splitting an unordered list into multiple columns jQuery: Splitting an unordered list into multiple columns

Published on Feb 26, 2019 by Jamie Munro

jQuery: Creating templates for your HTML Content jQuery: Creating templates for your HTML Content

Published on Feb 25, 2019 by Jamie Munro

jQuery: Padding a Variable or String with a Specific Character jQuery: Padding a Variable or String with a Specific Character

Published on Feb 23, 2019 by Jamie Munro

Experimenting with the canvas for a basic walk animation Experimenting with the canvas for a basic walk animation

Published on Feb 19, 2019 by Jamie Munro

Deep clone an object with jQuery Deep clone an object with jQuery

Published on Feb 19, 2019 by Jamie Munro

jQuery: Global AJAX Events for Start, Stop, Complete, or Error jQuery: Global AJAX Events for Start, Stop, Complete, or Error

Published on Feb 18, 2019 by Jamie Munro

Node.js – Ajax Pagination without the Pages Node.js – Ajax Pagination without the Pages

Published on Oct 15, 2012 by Jamie Munro

Using Jquery to Check a Checkbox Using Jquery to Check a Checkbox

Published on Sep 27, 2012 by Jamie Munro

Determine if an element is visible with Jquery Determine if an element is visible with Jquery

Published on Sep 26, 2012 by Jamie Munro

A Fancier Twitter Timeline A Fancier Twitter Timeline

Published on Sep 25, 2012 by Jamie Munro

PhoneGap and Jquery Mobile – A Truly Winning Combination PhoneGap and Jquery Mobile – A Truly Winning Combination

Published on Sep 11, 2012 by Jamie Munro

Making AJAX Content Loading Prettier Making AJAX Content Loading Prettier

Published on Sep 8, 2011 by Jamie Munro

Improving the speed of AJAX request and response times Improving the speed of AJAX request and response times

Published on Sep 1, 2011 by Jamie Munro

CakePHP 2-0 Ajax Pagination WITHOUT The Pages CakePHP 2-0 Ajax Pagination WITHOUT The Pages

Published on Feb 28, 2011 by Jamie Munro

Creating AJAX Pagination WITHOUT The Pages Creating AJAX Pagination WITHOUT The Pages

Published on Feb 21, 2011 by Jamie Munro

Maintaining the back button with AJAX Maintaining the back button with AJAX

Published on Dec 28, 2010 by Jamie Munro

Jquery vs Prototype/Scriptaculous Jquery vs Prototype/Scriptaculous

Published on Mar 26, 2009 by Jamie Munro

Drag and drop category management with CakePHP Drag and drop category management with CakePHP

Published on Mar 11, 2009 by Jamie Munro

Drag and drop with animations in jquery Drag and drop with animations in jquery

Published on Mar 10, 2009 by Jamie Munro

How to add comments with AJAX in CakePHP How to add comments with AJAX in CakePHP

Published on Mar 9, 2009 by Jamie Munro

Fixing slow drag and drop with scriptaculous Fixing slow drag and drop with scriptaculous

Published on Feb 18, 2009 by Jamie Munro

Drag and Drop with AJAX Example Drag and Drop with AJAX Example

Published on Feb 14, 2009 by Jamie Munro