have you tried putting the links in quotes? that way they are just strings and not links?
When i specified the location to a.html to initially load ,it works perfectly fine . When the user clicks on the links in a.html , the page should not get redirected . Is there a way to handle the click and prevent redirecting to the new page when a user clicks on the links inside a.html .