Meaningless Drivel is fun!
The moose likes HTML, CSS and JavaScript and the fly likes disable hyper links conditionally 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 "disable hyper links conditionally" Watch "disable hyper links conditionally" New topic

disable hyper links conditionally

Sunetra Sen
Ranch Hand

Joined: Feb 17, 2005
Posts: 43
I have a page in which the results of a search are displayed.
Now results are displayed 10 at a time and users can navigate backwards/forward.
After every 100 records the db is queried again for the next 100 search results.
What i want to do is that when the db is being queried i want to disable the links for the backward/forward navigations. These links are simple hyperlinks attached to images.
Can this be done using javascript?
Please help.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Play with this:

I agree. Here's the link:
subject: disable hyper links conditionally
jQuery in Action, 3rd edition