JavaScript How to trim string value :: JavaScript Tutorial Aasim Naseem, July 29, 2010April 30, 2025 Hi all.. Hope everything is good at your end. Today, there is a small tip for JavaScript users… Umm, in fact, not a tip but a utility function to trim string values… I was working on a project I had a need to trim user input before submitting to server… Continue Reading
JavaScript Event Object :: JavaScript Tutorial Aasim Naseem, July 23, 2010April 30, 2025 Hello All … Hope enjoying most enjoyable activity .i.e development 🙂 i love it … really love it .. Today i will try to explain something related to javascript event object. By using JavaScript, we have the ability to create dynamic web pages. Events are actions that can be detected… Continue Reading
JavaScript Document Object Model :: JavaScript Tutorial Aasim Naseem, June 30, 2010April 30, 2025 Hello All … Hope everything is going good at your end … today we will explore something about Document Object Model (DOM). From last few days i’m working on javascript and hence i read some good articles about script and dom…i learned alot and now sharing with you … Introduction… Continue Reading
JavaScript Funny JavaScripts :: Aasim Naseem, September 21, 2009April 30, 2025 Hey folks … try these codes in address bar of your browser windows and see what happen … javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i–) {for (j = n; j > 0; j–) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6) </td javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6;… Continue Reading