kadambari
02-13-2009, 05:40 AM
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????
"<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????