End Your If

Helping you solve those tough coding problems!

Learn some great development 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 | ajax | sql | php-development | jquery-development | css

Search:
Follow @endyourif rss Facebook LinkedIn
My Books

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

Problem


Your website contains a lot of AJAX requests using jQuery and you want to add a global event at the start or finish of the AJAX request, e.g. add a spinning icon, or handle all AJAX errors in a particular fashion.

Solution


Read more >

Tags: jquery | JavaScript | jQuery | AJAX

2012 Year in Review 2012 Year in Review

Published on Dec 21, 2012 by Jamie Munro

Wow!  I can’t believe 2013 is coming.  It seriously feels just the other day when I sat down and wrote my 2011 year in review

Thinking back, 2012 is probably a more average year.  I don’t feel like anything new and major really happened in the industry that I was a part of.  However, in my personal life, I welcomed my third child in late October – hence the lack of website updates since I’ve been extremely busy with my growing family.

Read more >

Tags: Theory | node | AJAX

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

Published on Oct 15, 2012 by Jamie Munro

With my recent endeavours into Node, I thought that taking a fun article like this one - CakePHP 2-0 Ajax Pagination WITHOUT The Pages – would be a really fun experiment to see how difficult it would be to accomplish in Node.

At the end of the day, the logic is still the exact same, retrieve the items, determine the max length, calculate the number of pages, and then perform AJAX as well scroll down to fill in more content as-needed.

Leveraging the Express API and Jade templates, this is quite painless to implement into Node.

Read more >

Tags: AJAX | jquery | pagination | JavaScript | jQuery | node

Making AJAX Content Loading Prettier Making AJAX Content Loading Prettier

Published on Sep 8, 2011 by Jamie Munro

In today's article on Webistrate I explore Transitioning AJAX Content into view with $.animate() using some basic jQuery.  Please note, it doesn't look overly pretty because I'm not a designer, but the functionality is there and it can be prettied with relative ease.

Read more >

Tags: AJAX | jquery | JavaScript | jQuery | AJAX

Making AJAX Content Loading Prettier Making AJAX Content Loading Prettier

Published on Sep 8, 2011 by Jamie Munro

In today's article on Webistrate I explore Transitioning AJAX Content into view with $.animate() using some basic jQuery.  Please note, it doesn't look overly pretty because I'm not a designer, but the functionality is there and it can be prettied with relative ease.

Read more >

Tags: AJAX | jquery | JavaScript | jQuery | AJAX

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

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

AJAX Star Rating Plugin For CakePHP AJAX Star Rating Plugin For CakePHP

Published on Mar 2, 2011 by Jamie Munro

AJAX Star Rating Plugin For CakePHP AJAX Star Rating Plugin For CakePHP

Published on Mar 2, 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

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

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

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

Published on Dec 28, 2010 by Jamie Munro

AJAX, can there be too much? AJAX, can there be too much?

Published on Dec 22, 2010 by Jamie Munro

AJAX, can there be too much? AJAX, can there be too much?

Published on Dec 22, 2010 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

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

Published on Mar 9, 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

AJAX Select box in CakePHP AJAX Select box in CakePHP

Published on Mar 6, 2009 by Jamie Munro

AJAX Select box in CakePHP AJAX Select box in CakePHP

Published on Mar 6, 2009 by Jamie Munro

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

Published on Feb 14, 2009 by Jamie Munro

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

Published on Feb 14, 2009 by Jamie Munro

Firebug - A developer's best friend Firebug - A developer's best friend

Published on Feb 11, 2009 by Jamie Munro