Im trying to write a small function which gets a div element from the html, hides it, assigns a value and a variable name and then parse it into the function to check if the month assigned (the value) is equal equal to the current month. The reason I think its not working is that the 'this' is being converted into an object Object and its not storing the value of the variable that im parsing into it.Im trying to write a small function which gets