Click here to Skip to main content
14,773,361 members
Home » Discussions » JavaScript
   

JavaScript

 
QuestionJavascript Pin
April957-Aug-15 3:03
MemberApril957-Aug-15 3:03 
AnswerRe: Javascript Pin
Richard MacCutchan7-Aug-15 7:25
mveRichard MacCutchan7-Aug-15 7:25 
AnswerRe: Javascript Pin
Blikkies11-Aug-15 6:24
professionalBlikkies11-Aug-15 6:24 
AnswerRe: Javascript Pin
PrTk Gupta71213-Aug-15 0:34
MemberPrTk Gupta71213-Aug-15 0:34 
GeneralRe: Javascript Pin
jsc4221-Aug-15 5:18
professionaljsc4221-Aug-15 5:18 
QuestionWhat is the difference between compile and link function in angularjs ? Pin
protekconsulting4-Aug-15 20:04
Memberprotekconsulting4-Aug-15 20:04 
AnswerRe: What is the difference between compile and link function in angularjs ? Pin
Richard MacCutchan4-Aug-15 23:23
mveRichard MacCutchan4-Aug-15 23:23 
AnswerRe: What is the difference between compile and link function in angularjs ? Pin
Mukesh Pr@sad6-Aug-15 0:42
professionalMukesh Pr@sad6-Aug-15 0:42 
Compiler is an angular service which traverses the DOM looking for attributes. The compilation process happens into two phases.

Compile: traverse the DOM and collect all of the directives. The result is a linking function.
Link: combine the directives with a scope and produce a live view. Any changes in the scope model are reflected in the view, and any user interactions with the view are reflected in the scope model. Making the scope model a single source of truth.
Some directives such ng-repeat clone DOM elements once for each item in collection. Having a compile and link phase improves performance since the cloned template only needs to be compiled once, and then linked once for each clone instance.

QuestionJson Restriction while posting large data through ajax Pin
Member 116922503-Aug-15 1:24
MemberMember 116922503-Aug-15 1:24 
AnswerRe: Json Restriction while posting large data through ajax Pin
Kornfeld Eliyahu Peter4-Aug-15 21:52
professionalKornfeld Eliyahu Peter4-Aug-15 21:52 
GeneralRe: Json Restriction while posting large data through ajax Pin
Member 116922504-Aug-15 22:11
MemberMember 116922504-Aug-15 22:11 
AnswerRe: Json Restriction while posting large data through ajax Pin
Kornfeld Eliyahu Peter4-Aug-15 22:14
professionalKornfeld Eliyahu Peter4-Aug-15 22:14 
General'undefined' is a flaw in JavaScript Pin
le_top1-Aug-15 1:17
Memberle_top1-Aug-15 1:17 
GeneralRe: 'undefined' is a flaw in JavaScript Pin
Kornfeld Eliyahu Peter3-Aug-15 4:58
professionalKornfeld Eliyahu Peter3-Aug-15 4:58 
GeneralRe: 'undefined' is a flaw in JavaScript Pin
le_top3-Aug-15 5:54
Memberle_top3-Aug-15 5:54 
AnswerRe: 'undefined' is a flaw in JavaScript Pin
Kornfeld Eliyahu Peter3-Aug-15 8:37
professionalKornfeld Eliyahu Peter3-Aug-15 8:37 
GeneralRe: 'undefined' is a flaw in JavaScript Pin
le_top3-Aug-15 9:09
Memberle_top3-Aug-15 9:09 
AnswerRe: 'undefined' is a flaw in JavaScript Pin
Kornfeld Eliyahu Peter4-Aug-15 22:16
professionalKornfeld Eliyahu Peter4-Aug-15 22:16 
SuggestionRe: 'undefined' is a flaw in JavaScript Pin
camycentsolutions6-Aug-15 0:40
Membercamycentsolutions6-Aug-15 0:40 
QuestionSimple Slideshow Pin
Alex Mander30-Jul-15 7:20
MemberAlex Mander30-Jul-15 7:20 
QuestionJava Script Pin
jubayer30-Jul-15 4:15
Memberjubayer30-Jul-15 4:15 
AnswerRe: Java Script Pin
Afzaal Ahmad Zeeshan30-Jul-15 5:07
mveAfzaal Ahmad Zeeshan30-Jul-15 5:07 
QuestionIncrementing/Decrementing not by 1 Pin
Member 1184785029-Jul-15 20:14
MemberMember 1184785029-Jul-15 20:14 
AnswerRe: Incrementing/Decrementing not by 1 Pin
Peter_in_278029-Jul-15 21:27
professionalPeter_in_278029-Jul-15 21:27 
QuestionOK, Javascript gurus, why is "if" not evaluating as true or false ? Pin
Marc Clifton28-Jul-15 16:19
mvaMarc Clifton28-Jul-15 16:19 

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.