Demo JQuery .append(), .prepend(), .before() dan .after()
JavaScript
var media = {
data: { files: "dummy object"},
types: function()
{
console.log(this.data.files);//will be able to print the files obj
}
}.types();
var media = {
data: { files: "dummy object"},
types: function()
{
console.log(this.data.files);//will be able to print the files obj
}
}.types();