wood burning stoves 2.0
The moose likes HTML, CSS and JavaScript and the fly likes invoke a link in JS ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "invoke a link in JS ?" Watch "invoke a link in JS ?" New topic

invoke a link in JS ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
how to invoke a link in JS ?

I don't want to submit it using form. I just like clicking a link.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
something like using onclick and document.location.href = "foo.html";

Animesh Saxena
Ranch Hand

Joined: Jan 15, 2006
Posts: 62
or maybe AJAX for sending to server side

Animesh Saxena<br /> <br />Open Source Developer
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Originally posted by Animesh Saxena:
or maybe AJAX for sending to server side

Please don't over-complicate the discussion. Ajax has nothing to do with original poster's question.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: invoke a link in JS ?
It's not a secret anymore!