Missing semicolon - Syntax error, insert "}" to

Y_mumu 2013-10-16 05:41:10

<select id="select_id" onchange="changeURL(this.value);">

报错:
Multiple annotations found at this line:
- Missing semicolon
- Syntax error, insert "}" to

最后个分号出有个红线,删除这句,就没错误了。
...全文
1151 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
Defonds 2013-10-21
  • 打赏
  • 举报
回复
引用 5 楼 Y_mumu 的回复:
引用 1 楼 defonds 的回复:
语法没啥问题,运行有问题没
运行没问题,就是看着不舒服
是编译器的问题。运行正常就行了。
Y_mumu 2013-10-19
  • 打赏
  • 举报
回复
引用 1 楼 defonds 的回复:
语法没啥问题,运行有问题没
运行没问题,就是看着不舒服
小灯光环 2013-10-17
  • 打赏
  • 举报
回复
符号问题,要么少分号要么少大括弧,把代码格式化一下好好检查,既然你删了就对了,那目测你是不是没写</select>
xiaozhu1991 2013-10-17
  • 打赏
  • 举报
回复
那就把分号删掉呗,楼主想表达什么啊
无聊找乐 2013-10-17
  • 打赏
  • 举报
回复
Multiple annotations found at this line: - Missing semicolon - Syntax error, insert "}" to 语法错误,少了个 “}” 符号 好好检查代码
Defonds 2013-10-17
  • 打赏
  • 举报
回复
语法没啥问题,运行有问题没
Latest version 7.3.0.651 Released 10/31/2016 7.3.0.651 - 31st October SQL Prompt can now retrieve suggestions using Azure Active Directory password authentication (UserVoice) Formatting off comment tag now applies to itself (forum post) Fix for text being moved inside formatting off comment tags (Forum post) Support ticket 76423: ambiguous columns are now always qualified with their table/alias inside an ORDER BY clause 7.3.0.642 - 27th October Support for user account licensing (More info) 7.3.0.639 - 26th October Fix for insert semicolons error being displayed when trying to format a script in older versions of SSMS2016 (UserVoice and Forum post) Place first item on new line now works for ORDER BY in windowed functions (Forum post) 7.3.0.632 - 24th October Format action added for applying column alias style (UserVoice) Option added to change CREATE/ALTER parentheses separately from the global parentheses options Option added to insert an empty line between JOIN clauses Ole db provider names are now suggested for OPENROWSET and OPENQUERY Fix for incorrectly qualifying a column using the xml "modify" method (Forum post) Fix for syntax error being introduced when wrapping long lines containing multi-line strings 7.3.0.619 - 17th October Fix for script not being formatted if there are errors outside of the selected text (UserVoice) Whitespace at the end of the file is now maintained if "Preserve existing new lines between statements" is checked (UserVoice) Statements inside TRY/CATCH blocks are now formatted the same as BEGIN/END blocks Fix for parentheses alignment inside CASE expression (Forum post) 7.3.0.610 - 11th October Experimental feature added to refresh the SSMS IntelliSense (UserVoice) Fix for IN parentheses not being aligned correctly (Forum post) Fix for parentheses in VALUES clause not being aligned (Forum post) Renaming the file that a style is stored in will now rename the style Support ticket 74368: Fix for a semicolon being incorrectly added on an ALTER table statement with a masked column 7.3.0.598 - 6th October Formatting now indents nested JOIN clauses correctly Fix for formatting issue where line breaks were removed incorrectly after multi-line comments (Forum post) EXEC statements with a return value are now formatted Fix for formatting issue where whitespace was added after aliases (Forum post) Improved formatting for CREATE/ALTER with temporal tables Improved suggestions for ALTER with temporal tables Fix for issue with insert semicolons and temporal tables 7.3.0.587 - 3rd October Tables used in JOIN clauses are now treated as subsequent items (Forum post) 7.3.0.585 - 30th September Added new formatting options for JOINs Fix for formatting failing when right aligning AS keyword in CTEs Formatting no longer fails with some Azure Data Warehouse -specific statements Fix formatting for negative numbers in CASE expressions (Forum post) Fix for formatting failling with SELECT into variable with += (Forum post) 7.3.0.564 - 22nd September Fix for formatting failing on some scripts (Forum post) Option for adding spaces around parentheses contents is now used in more statements 7.3.0.564 - 20th September Support for formatting scripts containing SQLCMD mode and "GO 10" syntax New format action for adding/removing AS keyword for table/view alias definitions Simplified the parentheses "Place on new line" options ALTER DATABASE statements now respect the "Indent DDL clauses" option (Forum post) Column names in temp tables using quoted identifiers are now suggested Inline EXEC now correctly handles parameters using the DEFAULT value Fix for incorrect indentation when using UNION Fix for missing space in ORDER BY between function call and DESC keyword Fix for extra space being inserted between "<=" Fix for extra space being inserted after minus inside IN clause (Forum post) Support ticket 73192: Fix for Inline EXEC not inlining negative variables correctly Support ticket 73072: Fix for cancel button not responding when using "Open in Excel"

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧