View Single Post
  #5 (permalink)  
Old Jun 21st, 2006, 10:00
Code_breaker Code_breaker is offline
New Member
Join Date: Jun 2006
Location: kuwait
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: javascript checking for broken links

I already thought before of what you told me but the problem is that it is not static , I mean every day they statistics and report department is publishing their reports and update the links in a deffirent time and that's what makes it difficult to use javascirpt for time in additon to date ,

but going back to try ..catch and exception .... u gave me agreat idea

now , let us see it this way ... the date will change and according to the date javascript I have the File path will be changed and the links will be updated even if the reports r not thier yet ..... now when we click on the un-updated links this will arise exception .... so we might use the try and catch to catch these exceptions and instead of getting the browser alert message we can use the javascript window.alert ........ I hope that what am saying is correct

I really do appreciate your help , thank you
Reply With Quote