Tag Archives: JavaScript

JavaScript – String Replace

I should not let this pass by. I am recently playing with some JavaScript string manipulation, especially the string replace. All I want is a simple string operation that will replace all occurrences of a certain piece of string contain … Continue reading

Posted in JavaScript | Tagged , , , | 2 Comments

JavaScript – Call Function from Parent Window

Another handy tip for JavaScript : Calling a function from Parent Window. In a web application, there are times that when in a certain window, you’ve clicked a button. That button opens a new window. Now that you are in … Continue reading

Posted in JavaScript, Web Development | 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

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

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