I offer a widget where a user can store their links that they have created.
So in other words They:
- Click Add Link
- Modal Pops up and they enter information: Link Title, Link URL, Order
- Saves that to the DB via AJAX and then refreshes the widget to display all of the users links they have created.
What I would like do is when the user clicks on their link, determine if the link exists(Could be not on this domain so I can see a foreseeable issue w/ AJAX) if it does then proceed with normal Open new Window and send them on their merry way.
However if not I would like to generate a Growl Like message that says something like.
I'm sorry that Link Does not exist, please verify your link.
I basically need the method for validating the links existence on a client side basis. Is this even possible ?