Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

file is not opening when clicking on hyperlink

  • 13-02-2009 5:21am
    #1
    Closed Accounts Posts: 2


    I am inserting files in database manually using sql query,the file name are in the form.'C:/Documents and Settings/Administrator/Desktop/check.js'.there is a list of files.now in front end in javascript I wrote:
    "<table><tr><td><b>Attachments: </b></td><td><a href='"+link+"'> click here</a></td></tr>";here in the link the value 'C:/Documents and Settings/Administrator/Desktop/check.js' is coming.I have checked it using alert.
    But when I am clicking on the link nothing happens,no error comes.and when I right click the link the same file which is in giving specified location is getting saved....I tried many options but all in vain.
    Can somebody help me.I am totally confused what to do now????


Comments

  • Registered Users, Registered Users 2 Posts: 2,494 ✭✭✭kayos


    Head hurts trying to read your post.

    Off the top of my head clicking the link will try open the file location on the local pc are you sure the files are there and not on the server?


  • Closed Accounts Posts: 2 kadambari


    yes the files are there in the same location I have checked the path also and the files are getting saved also when I am right click that link and save the files as target


Advertisement