Topic awaiting preservation: JS works on my machine.. but not on my bosses machine WHY!!!!! |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: you tell me |
posted 05-30-2007 08:39
Hi guys, something weirds happening with my project at the moment. I've put in a lot of nice ajax and those animated scriptaculous effects but for some weird reason some of the javascript isn't running on my bosses machine - infact it doens't work in any machine in my bosses room? Like I've programmed a page with a user list link - clicking on the link results in an ajax request processed returning details of the user whose link is clicked. It works fine on my pc and in other pcs in teh room Im working. |
Maniac (V) Mad Librarian From: the space between us |
posted 05-30-2007 12:22 |
Paranoid (IV) Inmate From: Madison, Indiana |
posted 05-30-2007 18:22 |
Bipolar (III) Inmate From: you tell me |
posted 05-31-2007 10:49
Well... we're both using the same firefox browser... my boss is running XP while I'm working upon 2000. However this doesn't seem to be the issue for the other machines in my room also run XP and they have no problem with the code running. Whats weird is that I checked using firebug on my bosses machine what was happening from teh ajax call. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-01-2007 00:22
So javascript runs in principle - does the callback function even get called? Maybe something is mangleing its name ( think norton internet security proxy...) |
Bipolar (III) Inmate From: you tell me |
posted 06-02-2007 07:38
Can Norton internet security actually interfere with the javascript in such a case? I don't think that teh call back function is even gettingc alled - I tried to put a couple of alerts in the function but it never gets executed - plus firebug doesn't show any error. I'll have to confirm if my boss has installed Norton on his PC - but how does that mess with the Javascript?? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-02-2007 11:32
Such 'solutions' often have a filtering proxy (ie. it messes with the content being delivered) to block javascript based popups. |
Bipolar (III) Inmate From: you tell me |
posted 06-10-2007 16:36
Yup you were right Tyberias. My code was returning raw HTML with hyperlinks so I guess that explains why itw asn't rendering. So I just passed the html as a JSON encoded string and voila it works. |