Hi JavaRanchers, I want find the alert() itself in a javascript file(i.e how many alerts are there in one .js file) and also the line number of that string.Please can anybody help me how to solve this problem?. [ May 06, 2008: Message edited by: kademane guru ]
why don't read the js file into some text file and loop through text file counting alert() statements and keeping track on the counter as the line number?