I want to make a function where div will load silently with the help of ajax and jquery
I want if the link == 404 error then the alert will show “Page not Found” and if the internet not available then the alert show “Net Lost” when clicking on the link.
I created a code but I don’t know to implement the alert function as I request above.
Please help me on how to make the code.
Well after returning from the function the following code won’t get executed, so there is no need for an else block here… also why do you specifically return false? But anyway yes this should work, or does it not?