jQuery in Action, 2nd edition*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15376
Play with this:

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: disable hyper links conditionally
Similar Threads
how do i print or draw a URL in a java applet
implementing the windows back button functionality
How to make pagination?
Need help regarding s:select tag list
Staggered search results