Monday, December 10, 2012

my jquery sample source log:save media file not play media file

'saveas':function (url){
var id = "saveasiframeobj_objhelper";
var obj = document.getElementById(id);
obj = document.createElement("a");"_blank";; = "none";'';
obj.href = url;;

note: attribute. this is used by browser to download, not play it .it can replace system saveas method. good prefected for pkrss.

if you want to special the save as downloadfilename.postfix,you can like this:'downloadfilename';

this is from my project ‘s part source sample. you can used anytimers.

No comments: