Click here to Skip to main content
15,895,606 members
Home / Discussions / JavaScript
   

JavaScript

 
Questioniphone style switch Pin
AndyInUK30-Aug-11 23:07
AndyInUK30-Aug-11 23:07 
AnswerRe: iphone style switch Pin
AndyInUK2-Sep-11 1:06
AndyInUK2-Sep-11 1:06 
QuestionJavaScript class problem [modified] Pin
Wjousts25-Aug-11 6:09
Wjousts25-Aug-11 6:09 
AnswerRe: JavaScript class problem Pin
Graham Breach25-Aug-11 6:34
Graham Breach25-Aug-11 6:34 
GeneralRe: JavaScript class problem Pin
Wjousts25-Aug-11 7:40
Wjousts25-Aug-11 7:40 
AnswerRe: JavaScript class problem Pin
AspDotNetDev25-Aug-11 7:45
protectorAspDotNetDev25-Aug-11 7:45 
GeneralRe: JavaScript class problem Pin
Wjousts25-Aug-11 8:06
Wjousts25-Aug-11 8:06 
GeneralRe: JavaScript class problem Pin
AspDotNetDev25-Aug-11 8:11
protectorAspDotNetDev25-Aug-11 8:11 
"this" is a keyword. "instance" is just what I named that variable. You could rename "instance" to "donkey" and it would act the same. What my changes are supposed to do are capture the value returned from "this" and store it in the "instance" variable so you can use it in nested functions where "this" changes. I'm not sure why it still chokes. Try replacing the line that chokes with alert("test").
Martin Fowler wrote:
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

GeneralRe: JavaScript class problem Pin
Wjousts25-Aug-11 8:18
Wjousts25-Aug-11 8:18 
AnswerRe: JavaScript class problem Pin
AspDotNetDev25-Aug-11 7:19
protectorAspDotNetDev25-Aug-11 7:19 
GeneralRe: JavaScript class problem Pin
Wjousts25-Aug-11 7:43
Wjousts25-Aug-11 7:43 
AnswerRe: JavaScript class problem Pin
AspDotNetDev25-Aug-11 7:47
protectorAspDotNetDev25-Aug-11 7:47 
GeneralRe: JavaScript class problem Pin
Wjousts25-Aug-11 7:58
Wjousts25-Aug-11 7:58 
Questionjquery dialog autosize [modified] Pin
fififlowertot24-Aug-11 3:05
fififlowertot24-Aug-11 3:05 
AnswerRe: jquery dialog autosize Pin
Gerben Jongerius24-Aug-11 19:50
Gerben Jongerius24-Aug-11 19:50 
QuestionPassing on Javascript array data to a PHP-array Pin
Gert Koetsier18-Aug-11 6:19
Gert Koetsier18-Aug-11 6:19 
AnswerRe: Passing on Javascript array data to a PHP-array Pin
Evan Gallup3-Sep-11 18:49
Evan Gallup3-Sep-11 18:49 
QuestionJavascript data (array) pass on to PHP Pin
Gert Koetsier18-Aug-11 6:15
Gert Koetsier18-Aug-11 6:15 
Questiondynamic progress bar with respect to time Pin
amjadali25516-Aug-11 18:27
amjadali25516-Aug-11 18:27 
AnswerRe: dynamic progress bar with respect to time Pin
Richard MacCutchan16-Aug-11 22:39
mveRichard MacCutchan16-Aug-11 22:39 
QuestionValidation groups with jQuery validation plugin on ASP.NET webforms? Pin
zeego14-Aug-11 19:32
zeego14-Aug-11 19:32 
AnswerCROSS POST Pin
Not Active14-Aug-11 19:40
mentorNot Active14-Aug-11 19:40 
GeneralRe: CROSS POST Pin
zeego14-Aug-11 20:06
zeego14-Aug-11 20:06 
QuestionHow to Know The Selected Date is Previous in javascript Pin
Arunkumar.Koloth13-Aug-11 20:28
Arunkumar.Koloth13-Aug-11 20:28 
AnswerRe: How to Know The Selected Date is Previous in javascript Pin
DaveAuld13-Aug-11 22:21
professionalDaveAuld13-Aug-11 22:21 

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.