Unknown location of SyntaxError: 'Unexpected end of input' Javascript -


in past week, i've trying debug calendar-view widget , i've come across error has left me scratching head few days now.

here's gist of problem:

every time click clickable object in view, browser's console give's me error:

uncaught syntaxerror: unexpected end of input vm131:1

picture of console's output:

picture of console's output

when click on location browser list source of error (the vm###:1), redirected file contents 'void' on first line.

what source of error?

update:

i neglected add link somewhere error seen here's link site tries utilize calendar widget:

http://juanmoo.scripts.mit.edu/timegrid/src/webapp/site/

it's coming lines these:

<a href="javascript:void">month</a> 

and

<a href="javascript:void">week</a> 

void not complete javascript statement. void operator, has required operand. correct should be:

<a href="javascript:void 0">month</a> 

and

<a href="javascript:void 0">week</a> 

see what "javascript:void(0)" mean?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -