this should work:

$("p").click( function() { window.location = 'http://localhost/home'; } );

but why not just use an plain old link?

On 5/9/07, Mario Moura <[EMAIL PROTECTED]> wrote:

Hi all

I am trying

$("p").click( function() { alert("Hello"); } );

but I would like open in same window a page(link) like
http://localhost/home

How can I do that?

I can only receive popups with click() function

Regards

Mario




--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com

Reply via email to