Click here to Skip to main content
15,887,596 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: IIS/Http Compression. Pin
JMummery8-Mar-09 6:16
professionalJMummery8-Mar-09 6:16 
GeneralRe: IIS/Http Compression. Pin
Member 23244839-Mar-09 12:37
Member 23244839-Mar-09 12:37 
GeneralRe: IIS/Http Compression. Pin
JMummery9-Mar-09 12:41
professionalJMummery9-Mar-09 12:41 
QuestionFunky Flash Video Pin
Marc Firth6-Mar-09 0:22
Marc Firth6-Mar-09 0:22 
AnswerRe: Funky Flash Video Pin
Marc Firth15-Mar-09 23:39
Marc Firth15-Mar-09 23:39 
QuestionSet different language Pin
Ha_805-Mar-09 21:28
Ha_805-Mar-09 21:28 
AnswerRe: Set different language Pin
Vasudevan Deepak Kumar6-Mar-09 21:56
Vasudevan Deepak Kumar6-Mar-09 21:56 
Questionhow to get parent property from subclass [modified] Pin
sito425-Mar-09 14:07
sito425-Mar-09 14:07 
I created an instance of a subclass within the parent's constructor. Now in my subclass function, I would like to get the properties of the parent class in my init function. When the subclass object was created, the group property did not exist. It was only after setGroup was called, that it got set. How do I get the property group from the parent class?

parent.prototype.setGroup = function(group) {
    this.group = group;
}

function parent() {
    this.name = "Melanie";
    this.subclassobj = new subclass();
}

var test = new parent();
test.setGroup();

subclass.prototype = new parent;
function subclass {
    this.color = "blue";
    this.init();
}

subclass.prototype.init = function() {
    alert(this.name);
}

I tried many different ways of accessing the group property in the parent but to no avail. Any ideas? Thanks!

modified on Thursday, March 5, 2009 8:48 PM

Questionweb based application Pin
SameerMughal5-Mar-09 5:51
SameerMughal5-Mar-09 5:51 
AnswerRe: web based application Pin
led mike5-Mar-09 6:34
led mike5-Mar-09 6:34 
GeneralRe: web based application Pin
SameerMughal5-Mar-09 7:18
SameerMughal5-Mar-09 7:18 
QuestionRe: web based application Pin
led mike5-Mar-09 8:57
led mike5-Mar-09 8:57 
GeneralRe: web based application Pin
Marc Firth6-Mar-09 0:35
Marc Firth6-Mar-09 0:35 
GeneralRe: web based application Pin
SameerMughal6-Mar-09 0:57
SameerMughal6-Mar-09 0:57 
QuestionPDF from database problem Pin
WvdW5-Mar-09 1:06
WvdW5-Mar-09 1:06 
AnswerRe: PDF from database problem Pin
led mike5-Mar-09 6:30
led mike5-Mar-09 6:30 
AnswerRe: PDF from database problem Pin
Curtis Schlak.5-Mar-09 10:14
Curtis Schlak.5-Mar-09 10:14 
AnswerRe: PDF from database problem Pin
Marc Firth6-Mar-09 0:38
Marc Firth6-Mar-09 0:38 
QuestionNeed some helpful sites on PHP Pin
jrhploto5-Mar-09 0:17
jrhploto5-Mar-09 0:17 
AnswerRe: Need some helpful sites on PHP Pin
WvdW5-Mar-09 1:20
WvdW5-Mar-09 1:20 
GeneralRe: Need some helpful sites on PHP Pin
sarfarazbhat12-Jul-12 21:44
sarfarazbhat12-Jul-12 21:44 
AnswerRe: Need some helpful sites on PHP Pin
Perspx5-Mar-09 7:37
Perspx5-Mar-09 7:37 
JokeRe: Need some helpful sites on PHP Pin
Curtis Schlak.5-Mar-09 10:15
Curtis Schlak.5-Mar-09 10:15 
AnswerRe: Need some helpful sites on PHP Pin
Marc Firth6-Mar-09 0:39
Marc Firth6-Mar-09 0:39 
AnswerRe: Need some helpful sites on PHP Pin
Mohammad Dayyan6-Mar-09 11:07
Mohammad Dayyan6-Mar-09 11:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.