Solved

KnockoutJS Array

Posted on 2012-12-31
3
351 Views
Last Modified: 2013-01-07
Please checkout this JS Bin
http://jsbin.com/iqikuf/3/edit


When the below is run in the console, the result shown makes sense to me.
statement: vd.tools.push(dataItem);
resuelt: 2

But why do we get the below results when run in the console?
statement: vd.tools.length
result: 0
0
Comment
Question by:GriffisJ
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Sar1973
ID: 38734288
Does the command .isNullo exist? I knew .isNull instead...and .IsNullOrEmpty
0
 

Accepted Solution

by:
GriffisJ earned 0 total points
ID: 38739074
parentheses needed

vd.tools().length
0
 

Author Closing Comment

by:GriffisJ
ID: 38750316
simple concise answer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery Validate 4 36
how can i test my code? 1 34
filter portfolio grid display on page load (wordpress) 7 14
tiny glitch in my main slider 3 19
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question