I have a input control in my HTML file set week?
I'd like to allow a user to use the control to set week they want. I will then need to get the Julian of that day so I can populate my grid with the 5 workdays of that week. I can't seem to get the week number from the contol. I am somewhat limited because this is in an Extension. I get this error when I try to get the value of the control from my popup.js.
Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem: chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
function set_theweek()
{
var x=document.getElementById("week").value;
var currentTime = new Date();
var week=getWeek(currentTime);
}