but not for the filenames.
this one is working:
[HTML]<a href="javascript:file_down(1001)"><img src="images_store/b_down.jpg" width="21" height="22" border="0" /></a>[/HTML]
this one is Not working:
[HTML]<a href="javascript:file_down(file_name.pdf)"><img src="images_store/b_down.jpg" width="21" height="22" border="0" /></a>[/HTML]
Expand|Select|Wrap|Line Numbers
- function file_down(fid)
- {
- var myvar = fid;
- alert(myvar);
- }