Saving Values to Local Storage

I am trying to put a value into local storage that is a hard value not an input value.

The normal method from an input is shown in row 1. My attempt at hard value is in row 2. Row 2 does not get past the debugger.

Row 1
localStorage.setValue("startDate", dateRange1.value.start);
Row 2
localStorage.setValue("RecievRange",'BILLED and NOT BILLED');

Any suggestions?

Mike

I found the answer.

I was writing a mixture of Javascript Code and MySQL code in the same block.
I am out of the woods.

3 Likes