Jaqoup’s Weblog

A Blog !!!!

Strings, JavaScript & IE


if u r familiar with Javascript can u tell what will be the output of these lines ?

var src="abcd";
var dest="";
for (var i=0;i<4;i++)
{
          dest+=src[i];
}
alert(dest);

well, it’s obvious that this fragment will produce a message box holding the string “abcd” unless u r used to code Javascript for IE

in Firefox or Chrome it works like a charm

Read more »

May 24, 2009 Posted by Jaqoup | Problems, Programming | , , , , , , , , , | 1 Comment

psssst.. Somebody’s watchin’

well

i’m gonna start with an apologize to google :D

i thought they had a stupid bug in thier chrome

but some how they were not the stupid … neither were I :D

i’m gonna show you what happened every time i use chrome to navigate to any website

Read more »

November 25, 2008 Posted by Jaqoup | Experience, Problems | , , , , , , , | 5 Comments