I have a string file path that needs to be passed to jquery function this how it looks."3rd parameter on function viewDocument(extension,filename,filepath)"
<div onclick="viewDocument(doc,APPLICATION FOR POSITION OF HOW2 STUDENT LEADER,/Uploads/2018/Applicant_s219193029/documents/)" class="document info">
<div class="document-body">
<i class="fa fa-file-word-o text-info"></i>
</div>
<div class="document-footer">
<span class="document-name">APPLICATION FOR POSITION OF HOW2 STUDENT LEADER.doc </span> <span class="document-description"> 53KB </span>
</div>
</div>
I have been trying to modify with no luck.
viewDocument(doc,'APPLICATION FOR POSITION OF HOW2 STUDENT LEADER','/Uploads/2018/Applicant_s219193029/documents/')