I was making an example class inside globals.
globals.js:
- Code: Select all
function AbsOBJECT() {
this.name = "sample";
this.getName = function(){
return this.name;
}
}
then i have a form to test to call the object that i made with
- Code: Select all
var abs_obj = new globals.AbsOBJECT();
abs_obj.---?
the intellisence does not see the variables and the functions that i made inside.
can someone help me how to use globals.js because i want to make objects and functions inside it but i cannot call the properties and funtions
that i made inside my object. Thank you in advance.