Tag Archives: jquery

jQuery DataTables – sort by date using timestamp data attribute

DataTables is an awesome “do-it-all” table plugin for jQuery. I was trying to display a locally formatted date but should still be sorted correctly. Current plugins may not work since it the date format uses long date format like “20 … Continue reading

Posted in JavaScript, Web Development | Tagged , , | Leave a comment

Checking/unchecking checkbox doesn’t work in jQuery mobile

I’m using an old school jQuery code to modify elements that has true/false attributes such as checked or selected. This appears to be not working when I tried it on jQuery mobile checkbox. I used a different method instead and … Continue reading

Posted in JavaScript | Tagged , , , | 6 Comments

Another jQuery Hide and Show

Continuation In addition to my previous post, I will add here examples if using jQuery’s built in hide and show methods. The HTML codes and CSS is still the same, however, it will differ on how we show / hide … Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment

jQuery – Remove Element

Back to my old hobby, I’m going to show you how to remove / delete an HTML element via jQuery. (I now came back to write what I’ve encountered along the way with my work, especially in web development). Assuming … Continue reading

Posted in JavaScript, Web Development | Tagged , , , , | 3 Comments

AJAX Example – Loading Content Dynamically

My sister has a project on creating a simple website, and thus she needs my help. Their website was about Philippine actors and actresses. One of the features they have is to display biographies of actors / actresses. Me being … Continue reading

Posted in JavaScript | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Printing a page without showing it

We can actually print a page without showing it. For example you have a form which has a print button, and when the print button is clicked, it will print the form in another format, say multi-page report or you … Continue reading

Posted in Web Development | Tagged , , , , , , , , , , , , , | 1 Comment

Enter to tab navigation jQuery plugin

I found this nice plugin for jQuery that will allow users to press ENTER instead of TAB to navigate through form elements. It makes use of the specified tabindex to transfer focus. I modified it a little to make it … Continue reading

Posted in JavaScript | Tagged , , , , , , , | 13 Comments

Optimizing jQuery Selector

I have five forms that has tons of JavaScript data validations and AJAX calls. Worst, it is looping intensive. As a result, it was too slow. At first I thought it was just because I have so many fields on … Continue reading

Posted in JavaScript | Tagged , , , , , , , , | Leave a comment