I use microsoft visual studio to debug errors on IE. it will point out the error at the exact place. I hope it helps you.
On Sat, Oct 4, 2008 at 4:32 AM, Eric Martin <[EMAIL PROTECTED]> wrote: > > Actually, the error is being caused by the issue mentioned: > > http://groups.google.com/group/jquery-dev/browse_thread/thread/aabf160d9980e52d/c74b19cc8c63f996 > > In SimpleModal, you can get around the issue by adding persist:true : > $('#modalwikivideo').modal({persist:true}); > > That will prevent SimpleModal from cloning your video object and > prevent the error. > > -Eric > > On Oct 3, 10:18 am, ricardobeat <[EMAIL PROTECTED]> wrote: > > IE events do not support the preventDefault method. > > > > With jQuery you can simply return false to cancel the event: > > > > $('.signup').click(function (e) { > > $('#modalwikivideo').modal(); > > return false; > > }); > > > > - ricardo > > > > On Oct 3, 7:28 am, willard <[EMAIL PROTECTED]> wrote: > > > > > Hi folks.. I can't fathom this out. > > > I have an image which looks like this: > > > <img src="/images/commoncraft.jpg" class="signup floatleft" /> > > > > > and a bit of javascript with simplemodal that looks like this: > > > > > $(document).ready(function () { > > > $('.signup').click(function (e) { > > > e.preventDefault(); > > > $('#modalwikivideo').modal(); > > > }); > > > > > }); > > > > > The problem is it works fine in safari, firefox but Not IE. On > > > clicking the image, IE gives the rather unuseful error: Object doesn't > > > support this property or method > > > > > (It can be seen at:http://otwikiflash.net/action/wikipedia) > > > > > Any ideas what IE is moaning at?? > > > > > Thanks! This is doing my head in..! > > > W >