Forum Moderators: open

Message Too Old, No Replies

javascript in the a href no working

         

proxyHunter

5:32 am on May 19, 2004 (gmt 0)

10+ Year Member



hi i recently got rid of some spyware on my xp operating system but somehow in the process of doing so, all my browsers (ie, netscape)certain javascript functions in a webpage no longer work.

example. <a href="javascript:submitForm();">

wont do anything. has anybody experienced this?

[edited by: tedster at 6:08 am (utc) on May 19, 2004]

DrDoc

6:16 am on May 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure the function exists and is error free. Also make sure you're not using reserved words or keywords for function names. Other than that -- it should work.

Have you tried something like this:

<a href="javascript:alert()">test</a>

If that works, then there's something wrong with your JavaScript.

proxyHunter

6:42 am on May 19, 2004 (gmt 0)

10+ Year Member



its not my own webpages, its any webpage, even on microsoft.com when they use javascript, its not a javascript error, its an operating system bug i think

DrDoc

2:59 pm on May 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does any other JavaScript work?

bumpaw

5:53 pm on May 19, 2004 (gmt 0)

10+ Year Member



What did you use to get rid of your Spyware? Sometimes things like SpyBot can be rolled back to help you figure out if you changed something.

proxyHunter

11:11 pm on May 19, 2004 (gmt 0)

10+ Year Member



bulletproofsoft.com spywareremover

fgth

2:53 pm on May 20, 2004 (gmt 0)

10+ Year Member



Make sure you have java/javascript enabled for your browser.

Also make sure your browser security settings allow for javascript.

proxyHunter

10:56 pm on May 20, 2004 (gmt 0)

10+ Year Member



yes all my setting are correct, most javascript works, its just any using the <a href=""> tag.

its really weired. ive done updates on all browsers and os, the only way i can get it normal is to to a clean reinstall i guess.

but its not that much of an issues but just annoying