function TaskList(title, wsurl, appType) {
TaskList.prototype.GetTasks = function() {
$(document).ready(function() {
var TaskList = this;
this.Title = title;
this.WSUrl = wsurl;
this.AppType = appType;
}this.Title = title;
this.WSUrl = wsurl;
this.AppType = appType;
TaskList.prototype.GetTasks = function() {
alert("Get Tasks!");
}$(document).ready(function() {
var t = new TaskList("HR Leave System", "http://test.asmx", "Custom Application");
t.GetTasks();
};t.GetTasks();
No comments:
Post a Comment