I haven't used Visual Studio in a while, and never for js... But... how would it know it is an event object ? It's just an argument of a function that could be anything...
-- Ariel Flesler http://flesler.blogspot.com On Jan 4, 1:54 am, yww <yww...@gmail.com> wrote: > Hi I am new to this group and also new to Jquery. > So I am just trying the sample in tutorials. Basically it works very > nicely. > But there is a small flaw while I was playing with JQuery, > that I can't get the intellisnse help from visual studio. and I have > captured the screen shot as following: > > http://picasaweb.google.com/lh/photo/i6GxK88a7vxrQR9qS8BARQ?feat=dire... > > so you see I have add reference to jquery-1.2.6-vsdoc.js, but there is > no preventDefault() method for event object. What should I do to > enable that? > > by the way, although the method was not listed, it can be used > correctly and really prevented the click event.