task

CREATE-article# #

[previously]

  1. [2017-11-07][00:00] NEW task IN ?
    1. [x] # 7412 - CREATE-article# # - plan-today-2017-11-04
  2. [00:00] NEW article IN 
    1. [] # # - 
  3. [2017-11-04] NEW task IN 
    1. [x] # # -  TEST .org =  - add/task - RESULT = ERROR CS0103: The name 'task' does not exist in the current context, task.photo=filename 
    2. [] # # - close - ] best-of-hn-2017-04 ] 
  4. [09:00] NEW task IN research
    1. [x] # 7410 - CREATE-article# # - RESEARCH-2017-11
  5. [10:30] NEW task IN find
    1. [x] FIND = comment on garth turners real estate blog(greaterfool.ca), on why RE is a good investment even IF it seems overpriced
    2. [x] search safari history on mb = 0
    3. [x] search safari history on (3) ] 10-22 no escape - ] 10-09 Thankfully 
  6. [00:00] NEW task
    1. [i] # 7409 - CREATE-article#  - housing prices - why so high? - 
    2. [x] found/added comment by Ace Goodheart from greaterfool blog post{No Escape 10-}
  7. [2017-11-05][09:00] UPDATE task IN research
    1. [x] # 7410 - CREATE-article# # - RESEARCH-2017-11 - ] why do we still commute?, ] gas is $147.9 , ] what did you do in 2017-10
  8. [00:00] NEW task IN 
    1. [x] ### - this. - add ref to PLAN-prj-no  = ] root, wk, ] wk-art-lj
  9. [00:00] NEW taskgroup IN doc/period 
    1. [x] # 606 - 2017-07 - 
    2. [x] # 607 - 2017-08 - 
    3. [x] # 608 - 2017-09 - 
    4. [x] # 609 - 2017-10 - 
    5. [x] # 610 - 2017-11 - 
    6. [x] # 611 - 2017-12 - 

[next]

<!DOCTYPE html>
<html>
<body>

<h2>TEST - t5 - </h2>
<p>] reading a json file that contains an array of 'Employee Requirement Items' records</p>

<p id="totalCount" style="text-indent:50px"></p>

<p>] every Booking Seat aka (Entity Booking) record has a reference to the Emp Req Template Id and the ? Emp Req Item Id ?</p>

<p id="demo" style="text-indent:50px"></p>

<p>] Now, lets create a subset of records that all contain the same Req Template Id </p>

<p id="subset1Count" style="text-indent:50px"></p>

<script>
//
var xmlhttp = new XMLHttpRequest();

xmlhttp.onreadystatechange = function() {
// alert(this.readyState + "- " + this.status); // returns 1, 4, returns 0, 0
if (this.readyState == 4 && this.status == 200) {
 
var myArr = JSON.parse(this.responseText);
// alert(myArr); // Object object
// var list = null;
var myArr2 = [];
var count = 0;
 
// document.getElementById("demo").innerHTML = myArr[0];
myArr2 = myArr.map(function(elm,idx){
    count++;
return elm = elm + "-" + count;
})
var maxCount = count;

document.getElementById("demo").innerHTML = myArr2 ;//+ "Total:" + maxCount;
document.getElementById("totalCount").innerHTML = "There are " + maxCount +" records in this file/these file(s)";
document.getElementById("subset1Count").innerHTML = "There are " + myArr2.length +" records in this subset";

}
};

xmlhttp.open("GET", "json_demo_array.txt", true);
xmlhttp.send();

</script>


</body>
</html>
Details Photos Edit more

Details

ID: 7412

NAME: plan-today-2017-11-04

DESCRIPTION: 2017-11-04 -

START DATE TIME: 2017-11-07 07:04:44

EST DURATION: 01:00:00

END DATE TIME: 2017-11-07 08:04:44

STATUS: To-Do

PRIORITY: -5

OWNER ID: 1

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities