Jump to content

sam1989

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by sam1989

  1. I dont have any idea about php atol and i want to do it with javascript..... If not possible by javascript then tell me how to do it with php..??
  2. I want to check the file exists or not at the path pointing at file..?? <li><a onclick="db_mcmm('../report_data_fe_nldm_completeness/DB_existence_PVT_report.html');"><h3><u>DB NLDM MCMM</u></h3></a></li> Above is snippet of code from html. The path to file is given as argument to the javascript function defined in header section of html. I want to check to if the "DB_existence_PVT_report.html" file exists or not. Javascript function in header section is as follows : <script ="text/javascript"> function db_mcmm(value) { var mcmm_file=document.getElementById('content'); mcmm_file.innerHTML= "<iframe src=" + value + " width=\"79%\" height=\"600px\"></iframe>"; } </script> Can some1 guide how i can check if file exists or not..?? I tried using ajax but didn't got how to use ajax in this.... any help will be thankful
×
×
  • Create New...