In addition, I tried putting the linking inside , but the problem is still there.... How to delete folder with strange name? preventDefault() works only, when the event listener is attached using addEventListener(). The people above are perfectly sane and very frustrated like I am from having to chase down the solution to this problem. this contact form
But if he had tested what he had before he posted it he would not have found that it did not exhibit the behaviour attributed to it, and instead of having What has changed? [...] Testcase: -----------------------
Problems with Attributes.Add("onclick",.... Find an algorithm that finds a minimal hitting set for sets limited in size Chess : The Lone King Do n and n^3 have the same set of digits? and could get it fine in ff and opera using return false in the on click but in ie it would still follow the link. Munchkin: Charity: Giving cards to someone who has 5 already How do I deal with my current employer not respecting my decision to leave?
I dunno its probably common knowledge but i spent a while trying to solve it Code: //IE uses the event object so you set that to return false... //FF the event Event.preventdefault() Not Working In Firefox This is happening only in IE9. if yes, it is a problem with your Windows ! share|improve this answer edited Dec 27 '13 at 22:25 answered Dec 23 '13 at 21:04 Teemu 16.5k52649 1 Given his post content - this fixing the issue would surprise me
Try taking out the newline and it works fine. Here's the design code:
and this is Event.preventdefault() Not Working In Ie 10 It is not about being unobstrusive but at least wrap it as a function. Onclick Return False Not Working In Ie Improbable for an actual user.
How to delete folder with strange name? Object Doesn't Support Property Or Method 'preventdefault' However, this is not the case with the IE7 I am using. If you happen to be running a BHO like FlashGet, then that may be the cause. ‹ Previous Thread|Next Thread › This site is managed for Microsoft by Neudesic, LLC.