assets/script.js
//on click, call function which processes through each text area, grabs the value, and pushes it to the array
on click, call function which processes through each text area, grabs the value, and pushes it to the array
on click call function which processes through each text area grabs the value and pushes it to the array
function addInputArray () {
        todaysList = [];
        $(this).css('border-left', '1px solid red');
        $("textarea").each( function() {
           var t = $(this).val()
           todaysList.push({input: t, time: mNow});
           console.log("value of t is " + t);
        })
        saveToLocal();
    }
function addInputArray ( ) { todaysList = [ ] ; $ ( this ) . css ( 'border-left' , '1px solid red' ) ; $ ( "textarea" ) . each ( function ( ) { var t = $ ( this ) . val ( ) todaysList . push ( { input : t , time : mNow } ) ; console . log ( "value of t is " + t ) ; } ) saveToLocal ( ) ; }
on click, call function which processes through each text area, grabs the value, and pushes it to the array
on click call function which processes through each text area grabs the value and pushes it to the array
//run saveToLocal function below