实现这个功能的主要思路是:
编译->生成程序集->反射调用
http://www.codeproject.com/Articles/2160/Runtime-C-Expression-Evaluator[……]
实现这个功能的主要思路是:
编译->生成程序集->反射调用
http://www.codeproject.com/Articles/2160/Runtime-C-Expression-Evaluator[……]
手把手教你估算软件项目成本
[背景]
软件项目一般来说可以分成两种:
A. 客户定制系统
B. 研发产品化系统
目前,国内绝大多数的都是在做A类型的客户定制系统,从接客户的单,到做客户的需[……]
这里是用来做参考的一个综合vsct文件,希望对大家有帮助。同时欢迎有兴趣的朋友一起交流。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 |
<?xml version="1.0" encoding="utf-8"?> <CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- This is the file that defines the actual layout and type of the commands. It is divided in different sections (e.g. command definition, command placement, ...), with each defining a specific set of properties. See the comment before each section for more details about how to use it. --> <!-- The VSCT compiler (the tool that translates this file into the binary format that VisualStudio will consume) has the ability to run a preprocessor on the vsct file; this preprocessor is (usually) the C++ preprocessor, so it is possible to define includes and macros with the same syntax used in C++ files. Using this ability of the compiler here, we include some files defining some of the constants that we will use inside the file. --> <!--This is the file that defines the IDs for all the commands exposed by VisualStudio. --> <Extern href="stdidcmd.h"/> <!--This header contains the command ids for the menus provided by the shell. --> <Extern href="vsshlids.h"/> <!--Definition of some VSCT specific constants. In this sample we use it for the IDs inside the guidOfficeIcon group. --> <Extern href="msobtnid.h"/> <!--Defines VK_INSERT --> <Extern href="virtkeys.h"/> <!--The Commands section is where we the commands, menus and menu groups are defined. This section uses a Guid to identify the package that provides the command defined inside it. --> <Commands package="guidLupinAssistPkg"> <!-- Inside this section we have different sub-sections: one for the menus, another for the menu groups, one for the buttons (the actual commands), one for the combos and the last one for the bitmaps used. Each element is identified by a command id that is a unique pair of guid and numeric identifier; the guid part of the identifier is usually called "command set" and is used to group different command inside a logically related group; your package should define its own command set in order to avoid collisions with command ids defined by other packages. --> <!--This is the sub-section that defines the menus and toolbars.--> <Menus> <!-- To define an element in this group you need an ID, a parent group, a display priority, a menu type, a name and a default text. --> <!--Common Toolbar --> <Menu guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF" priority="0x0000" type="Toolbar"> <CommandFlag>DefaultDocked</CommandFlag> <Strings> <ButtonText>LupinAssist Toolbar</ButtonText> <CommandName>LupinAssistToolbar</CommandName> </Strings> </Menu> <!-- Editor Context Menu --> <Menu guid="guidLupinAssistCmdSet" id="IDMX_RTF" priority="0x0000" type="Context"> <Parent guid="guidLupinAssistCmdSet" id="0"/> <Strings> <ButtonText>LupinAssist Context Menu</ButtonText> <CommandName>LupinAssistContextMenu</CommandName> </Strings> </Menu> <!--Main Menu--> <Menu guid="guidLupinAssistCmdSet" id="IDM_TOPMENU" priority="0x0000" type="Menu"> <Parent guid="guidSHLMainMenu" id="IDG_VS_MM_PROJECT" /> <Strings> <CommandName>&amp;LupinAssist</CommandName> <ButtonText>LupinAssist</ButtonText> </Strings> </Menu> <Menu guid="guidLupinAssistCmdSet" id="IDM_TOOLSMENUGROUP" priority="0x0000" type="Menu"> <Parent guid="guidLupinAssistCmdSet" id="TopMenuGroup" /> <Strings> <CommandName>&amp;Tools</CommandName> <ButtonText>LupinAssist</ButtonText> </Strings> </Menu> </Menus> <!-- In this section you can define new menu groups. A menu group is a container for other menus or buttons (commands); from a visual point of view you can see the group as the part of a menu contained between two lines. The parent of a group must be a menu. --> <Groups> <!--Menus--> <Group guid="guidLupinAssistCmdSet" id="TopMenuGroup" priority="0x0600"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TOPMENU"/> </Group> <Group guid="guidLupinAssistCmdSet" id="BottomMenuGroup" priority="0x0601"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TOPMENU"/> </Group> <Group guid="guidLupinAssistCmdSet" id="ToolsMenuGroup" priority="0x0602"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TOOLSMENUGROUP"/> </Group> <!--Editor menu group --> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_EDITOR_CMDS" priority="0xFE00"> <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_EDIT"/> </Group> <!-- Toolbar groups --> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT1" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF"/> </Group> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT2" priority="0x0200"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF"/> </Group> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_INDENT" priority="0x0300"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF"/> </Group> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_BULLET" priority="0x0400"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF"/> </Group> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT_COMBOS" priority="0x0040"> <Parent guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF"/> </Group> <!--Context menu groups --> <Group guid="guidSHLMainMenu" id="IDG_VS_EDIT_CUTCOPY" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDMX_RTF"/> </Group> <Group guid="guidLupinAssistCmdSet" id="IDG_RTF_CTX_PROPS" priority="0x0200"> <Parent guid="guidLupinAssistCmdSet" id="IDMX_RTF"/> </Group> <Group guid="guidSharedMenuGroup" id="IDG_VS_FORMAT_FONTFACE" priority="0x0300"> <Parent guid="guidLupinAssistCmdSet" id="IDMX_RTF"/> </Group> </Groups> <!--Buttons section. --> <!--This section defines the elements the user can interact with, like a menu command or a button or combo box in a toolbar. --> <Buttons> <!--To define a menu group you have to specify its ID, the parent menu and its display priority. The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use the CommandFlag node. You can add more than one CommandFlag node e.g.: <CommandFlag>DefaultInvisible</CommandFlag> <CommandFlag>DynamicVisibility</CommandFlag> If you do not want an image next to your command, remove the Icon node or set it to <Icon guid="guidOfficeIcon" id="msotcidNoIcon" /> --> <Button guid="guidLupinAssistCmdSet" id="cmdidSwitchCommand" priority="0x0101" type="Button"> <Parent guid="guidLupinAssistCmdSet" id="BottomMenuGroup" /> <Icon guid="guidImages" id="bmpPic1" /> <Strings> <CommandName>cmdidLupinCommand</CommandName> <ButtonText>Enable/Disable LupinAssist</ButtonText> </Strings> </Button> <Button guid="guidLupinAssistCmdSet" id="cmdidOptionsCommand" priority="0x0102" type="Button"> <Parent guid="guidLupinAssistCmdSet" id="BottomMenuGroup" /> <Icon guid="guidImages" id="bmpPicArrows" /> <!--<CommandFlag>TextOnly</CommandFlag>--> <Strings> <CommandName>cmdidOptionsCommand</CommandName> <ButtonText>&amp;Options</ButtonText> </Strings> </Button> <!--子菜单--> <Button guid="guidLupinAssistCmdSet" id="cmdidOptionToolWindow" priority="0x0100" type="Button"> <Parent guid="guidLupinAssistCmdSet" id="ToolsMenuGroup"/> <Icon guid="guidImages" id="bmpPic2" /> <Strings> <CommandName>cmdidOptionTool</CommandName> <ButtonText>ToolWindow</ButtonText> </Strings> </Button> <Button guid="guidLupinAssistCmdSet" id="cmdidToolBarCommand" priority="0x0100" type="Button"> <Parent guid="guidLupinAssistCmdSet" id="ToolsMenuGroup" /> <Strings> <CommandName>cmdidLupinCommand</CommandName> <ButtonText>Toolbars</ButtonText> </Strings> </Button> <Button guid="guidLupinAssistCmdSet" id="commandIDStrike" priority="0x0400" type="Button"> <Parent guid="guidSharedMenuGroup" id="IDG_VS_FORMAT_FONTFACE"/> <Icon guid="guidOfficeIcon" id="msotcidStrikethrough"/> <CommandFlag>DefaultInvisible</CommandFlag> <CommandFlag>DefaultDisabled</CommandFlag> <CommandFlag>DynamicVisibility</CommandFlag> <Strings> <CommandName>&amp;Strike-through</CommandName> <CanonicalName>Strike-through</CanonicalName> <ButtonText>&amp;Strike-through</ButtonText> <ToolTipText>Strikes through text</ToolTipText> </Strings> </Button> </Buttons> <!--The bitmaps section is used to define the bitmaps that are used for the commands.--> <Bitmaps> <!-- The bitmap id is defined in a way that is a little bit different from the others: the declaration starts with a guid for the bitmap strip, then there is the resource id of the bitmap strip containing the bitmaps and then there are the numeric ids of the elements used inside a button definition. An important aspect of this declaration is that the element id must be the actual index (1-based) of the bitmap inside the bitmap strip. --> <Bitmap guid="guidImages" href="Resources\Images_32bit.bmp" usedList="bmpPic1, bmpPic2, bmpPicSearch, bmpPicX, bmpPicArrows"/> </Bitmaps> </Commands> <!-- Within this section you can specify the set of commands defined somewhere else that your packages uses; for instance if your package uses the standard ‘Copy’ command, you don’t need to define it, because it is defined by the shell, but you have to use this section of the VSCT file to notify the shell that your package uses it using this section. --> <!-- Note that with combo boxes we have effectively two commands in one. Below we have two pairs of commands; 1st pair commandIDFontName and commandIDFontNameHandler, 2nd pair commandIDFontSize and commandIDFontSizeHandler. Note that: - commandIDFontName and commandIDFontSize handle the displaying and setting of the font name and font size respectively - commandIDFontNameHandler and commandIDFontSizeHandler fill the drop down menus with the available font names and font sizes respectively --> <!-- Note also that VS will call QueryStatus only on commandIDFontName and commandIDFontSize, but not on cmdFontNameHandler and commandIDFontSizeHandler whereas Exec will be called on all four commands. Note also that Exec will be called for commandIDFontName and commandIDFontSize for two cases; first to get the current font name or size and second to set the font name or size whereas the Exec call for commandIDFontNameHandler and commandIDFontSizeHandler always have the same meaning - fill the drop down menu. Finally, note that placement for the combo boxes is defined in the combo section below by the priority and not in the CommandPlacements section. --> <UsedCommands> <UsedCommand guid="guidVSStd97" id="cmdidBold"/> <UsedCommand guid="guidVSStd97" id="cmdidItalic"/> <UsedCommand guid="guidVSStd97" id="cmdidUnderline"/> <UsedCommand guid="guidVSStd97" id="cmdidJustifyLeft"/> <UsedCommand guid="guidVSStd97" id="cmdidJustifyCenter"/> <UsedCommand guid="guidVSStd97" id="cmdidJustifyRight"/> <UsedCommand guid="guidVSStd97" id="cmdidFontName"/> <UsedCommand guid="guidVSStd97" id="cmdidFontSize"/> <UsedCommand guid="guidVSStd97" id="cmdidCut"/> <UsedCommand guid="guidVSStd97" id="cmdidCopy"/> <UsedCommand guid="guidVSStd97" id="cmdidPaste"/> <UsedCommand guid="guidVSStd97" id="cmdidDelete"/> <UsedCommand guid="guidVSStd2K" id="ECMD_INSERT"/> <UsedCommand guid="guidVSStd2K" id="ECMD_BULLETEDLIST"/> </UsedCommands> <!--Inside this section, we have the ability to place menu groups inside some other menu or menu / commands inside other groups. For instance, it is possible to place one of VisualStudio's menus or commands inside one of our groups or one of our groups inside a menu defined somewhere else. --> <CommandPlacements> <!--Editor Toolbar --> <CommandPlacement guid="guidVSStd97" id="cmdidFontName" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT_COMBOS"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidFontSize" priority="0x0200"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT_COMBOS"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidBold" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT1"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidItalic" priority="0x0200"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT1"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidUnderline" priority="0x0300"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT1"/> </CommandPlacement> <CommandPlacement guid="guidLupinAssistCmdSet" id="commandIDStrike" priority="0x0400"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_FONT1"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidJustifyLeft" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_INDENT"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidJustifyCenter" priority="0x0200"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_INDENT"/> </CommandPlacement> <CommandPlacement guid="guidVSStd97" id="cmdidJustifyRight" priority="0x0300"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_INDENT"/> </CommandPlacement> <CommandPlacement guid="guidVSStd2K" id="ECMD_BULLETEDLIST" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_TLB_BULLET"/> </CommandPlacement> <!-- Editor context menu --> <CommandPlacement guid="guidVSStd2K" id="ECMD_BULLETEDLIST" priority="0x0100"> <Parent guid="guidLupinAssistCmdSet" id="IDG_RTF_CTX_PROPS"/> </CommandPlacement> </CommandPlacements> <!-- This section is where you can associate a command with a keyboard shortcut; this association is valid within a specific UI context, that is when the shell is inside a specific mode, e.g. during debugging, editing a file or when the user is using a specific designer. --> <!--<VisibilityConstraints> <VisibilityItem guid="guidLupinAssistCmdSet" id="IDM_TLB_RTF" context="guidLupinAssistEditorFactory" /> </VisibilityConstraints>--> <KeyBindings> <!--Keybindings To define a binding, you have to specify the sequence of keys to press to activate the command (keystate); Notice that Visual Studio has a lot of components and commands, so it can be difficult to find a key binding not used by somebody else; if the key bindings are conflicting only one will be used and one problem is that the shell will not inform the user that a conflict was found. The only way to detect the problem is to start Visual Studio under debugger, try to execute any command and look if there is a message in the output window about a duplicated accelerator found.--> <KeyBinding guid="guidVSStd97" id="cmdidBold" editor="guidLupinAssistEditorFactory" key1="B" mod1="Control"/> <KeyBinding guid="guidVSStd97" id="cmdidItalic" editor="guidLupinAssistEditorFactory" key1="I" mod1="Control"/> <KeyBinding guid="guidVSStd97" id="cmdidUnderline" editor="guidLupinAssistEditorFactory" key1="U" mod1="Control"/> <KeyBinding guid="guidVSStd97" id="cmdidJustifyLeft" editor="guidLupinAssistEditorFactory" key1="L" mod1="Control"/> <KeyBinding guid="guidVSStd97" id="cmdidJustifyCenter" editor="guidLupinAssistEditorFactory" key1="E" mod1="Control"/> <KeyBinding guid="guidVSStd97" id="cmdidJustifyRight" editor="guidLupinAssistEditorFactory" key1="R" mod1="Control"/> <KeyBinding guid="guidVSStd2K" id="ECMD_INSERT" editor="guidLupinAssistEditorFactory" key1="VK_INSERT"/> </KeyBindings> <Symbols> <!-- This is the package guid. --> <GuidSymbol name="guidLupinAssistPkg" value="{06e13938-3f41-49a3-bfe0-f6f6d2282a03}" /> <!-- This is the guid used to group the menu commands together --> <GuidSymbol name="guidLupinAssistCmdSet" value="{d21acfa5-eae6-495f-8739-7e7aa1541bab}"> <IDSymbol name="IDM_TLB_RTF" value="0x0001" /> <IDSymbol name="IDMX_RTF" value="0x0002" /> <IDSymbol name="IDM_RTFMNU_ALIGN" value="0x0004" /> <IDSymbol name="IDM_RTFMNU_SIZE" value="0x0005" /> <IDSymbol name="IDM_TOPMENU" value="0x0006" /> <IDSymbol name="IDM_TOOLSMENUGROUP" value="0x0007" /> <IDSymbol name="IDG_RTF_FMT_FONT1" value="0x1000" /> <IDSymbol name="IDG_RTF_FMT_FONT2" value="0x1001" /> <IDSymbol name="IDG_RTF_FMT_INDENT" value="0x1002" /> <IDSymbol name="IDG_RTF_FMT_BULLET" value="0x1003" /> <IDSymbol name="IDG_RTF_TLB_FONT1" value="0x1004" /> <IDSymbol name="IDG_RTF_TLB_FONT2" value="0x1005" /> <IDSymbol name="IDG_RTF_TLB_INDENT" value="0x1006" /> <IDSymbol name="IDG_RTF_TLB_BULLET" value="0x1007" /> <IDSymbol name="IDG_RTF_TLB_FONT_COMBOS" value="0x1008" /> <IDSymbol name="IDG_RTF_CTX_EDIT" value="0x1009" /> <IDSymbol name="IDG_RTF_CTX_PROPS" value="0x100a" /> <IDSymbol name="IDG_RTF_EDITOR_CMDS" value="0x100b" /> <IDSymbol name="TopMenuGroup" value="0x1020" /> <IDSymbol name="BottomMenuGroup" value="0x1021" /> <IDSymbol name="ToolsMenuGroup" value="0x1022" /> <IDSymbol name="cmdidSwitchCommand" value="0x0100" /> <IDSymbol name="cmdidOptionsCommand" value="0x0101" /> <IDSymbol name="cmdidOptionToolWindow" value="0x0102" /> <IDSymbol name="cmdidToolBarCommand" value="0x103" /> <IDSymbol name="commandIDStrike" value="0x0104" /> </GuidSymbol> <GuidSymbol name="guidLupinAssistEditorFactory" value="{0fcbb9b5-06c2-4a18-a21d-b787adedda42}" /> <GuidSymbol name="guidImages" value="{01c7d20a-85d5-449b-be64-37fd155ff694}" > <IDSymbol name="bmpPic1" value="1" /> <IDSymbol name="bmpPic2" value="2" /> <IDSymbol name="bmpPicSearch" value="3" /> <IDSymbol name="bmpPicX" value="4" /> <IDSymbol name="bmpPicArrows" value="5" /> </GuidSymbol> </Symbols> </CommandTable> |
[……]
最近用InstallShield12作了一个安装包,遇到一些新手问题,在这里分享一下。
问题描述:
1.卸载时无法正常删除安装目录下的dll和ocx文件,也不能进行反注册。
2.我用的是Self Register,根本没进行注册表操作,在测试安装包时确报了注册表SOFTWARE[……]
每个人有各种各样很多种选择,如果你属于我说到的一直从事团队开发的人员,而你又不太甘心安心只做一个螺丝钉,那么我根据个人的一些经验,可以给你一些建议,不过事先说明,仅供参考!
现象和后果:
长时间的团队开发工作,会一天天消磨自己独立应对问题的耐心和能力,当你发现哪天你要单独给自己或朋[……]
错误信息:
中文:fatal error C1190: 托管目标代码需要“/clr”选项
英文:fatal error C1190: managed targeted code requires a '/clr' option
日文:fatal erro[……]
最近对开发VS插件和OFFICE等插件这个方面产生了兴趣,所以先来踩个脚印,慢慢学习一下。
VSX解释:
VSX:Visual Studio Extensibility
扩展VS有以下几种方法:
1.宏:(marco)
用命令方式记录下每个操作,然后用于重复[……]
最近在项目中发现一个问题,组里的人对DropDownList的设置默认选中状态的问题不是很明了,经过我的分析,最主要的原因应该还是对MSDN中的方法理解不够的原因吧。
起初他们是这样使用的:
<% Html.DropDownListFor(m[……]
今天一个同事问到一个表格<table>里的单元格<td>遍历问题,所以用到了jQuery的each方法。
在使用过程中,为了不进行多余的查找,需要找到后立马跳出来,我开始说加个break就好了吧,结果没用,汗!
查找了一下jQuery Api,发现eac[……]
做网站类项目时,正则表达式
对于后面补充的常用表达式,我会不断收集,保持更新,希望能方便到大家^_^
正则表达式简介
正则表达式是一种文本模式,包括普通字符(例如,a 到z 之间的字母)和特殊字符[……]
今天在操作jQuery的Ajax时,突然遇到个问题,返回的时候总是error,看了HTTP返回状态都是200的,所以百思不得其解。
原来错误的代码贴出来供大家参考一下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
var xmlStr="……"; $.ajax({ type:"POST", url:"abc.php", dataType:"xml", data:xmlStr, error:function(XMLHttpRequest, textStatus, errorThrown){ //一直是回到error这里…… //调试的时候通过上面几个参数分析错误类型,以前都用firefox调试的,一开始居然不知道怎么看返回的内容…… alert("error!"); }, success:function(html){ alert(html); }); |
后面看了一下官方的说明:jquery1.[……]