今天在綁定jquery click事件時,一直會噴Unexpected token的error XD
原來是綁定原始的超連結tag,的href打錯了!! 眼殘的錯誤
I had:
id="register_hyperlink" href="javascript:void();">Register an account
I changed it to:
id="register_hyperlink" href="javascript:void(0);">Register an account
So that explains it :-)