Disable links Via jQuery
< script > $ ( function ( ) { //grab all a tags $ ( 'a' ) . each ( function ( ) { //click on a link.... $ ( this ) . click ( function ( ) { alert ( $ ( this ) . attr ( 'href' ) + ' is not available' ) ; //disable link return false ; } ) ; } ) ; } ) ; </ script >