Hi,

Here's how it looks:

<script type="text/javascript">
<!--

$(document).ready(function() {
        $("#send").click(function (){

                event.preventDefault();

        });
});

//-->
</script>

On Jul 17, 4:25 pm, James <james.gp....@gmail.com> wrote:
> Without seeing the context of the rest of your code, it's difficult to
> help. Are you sure 'event' is set to the correct event object?
>
> On Jul 17, 10:18 am, robotwink <robotw...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I'm using IE8 and when I pass: event.preventDefault(); I get an error
> > message:
>
> > Webpage error details
>
> > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/
> > 4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
> > 3.0.30729; .NET CLR 3.5.30729)
> > Timestamp: Fri, 17 Jul 2009 20:07:41 UTC
>
> > Message: Object doesn't support this property or method
> > Line: 256
> > Char: 3
>
> > Please help. Thanks.

Reply via email to