[jQuery] Form中会导致IE6崩溃的提交 -- Crash of the form in IE6
2010-06-23 14:22
696 查看
页面代码如下: -- As the code below
代码
代码
<script type="text/javascript"> //<![CDATA[ function sbSearch() { if(jQuery("#sbText").val() == "Search text" || jQuery("#sbText").val() == "") { alert("Please fill the field!"); jQuery("#sbText").focus(); return false; } else { jQuery("#sbSearchForm")[0].submit(); } } //]]> </script>
相关文章推荐
- Float and the form of expression of floating-point number in memory
- bpel 测试遇到“The content of the body cannot be displayed in the form view. Please switch to the source”
- How do you get the length of a string in jQuery?
- 本地提交SVN报错 提交文件 is not known to exist in the repository and is not part of the commit, yet its child
- A heat-filled weekend NBA Feet in the form of air jordan shoes, Foamposites, LeBron and others, so lets right it! Rajon Rondo broke necks with Foampos
- [CareerCup] 12.2 Find the Reason of Crash 找到程序崩溃的原因
- The Essence of Driving – A Crash Course in Project Management
- Jquery组织Form表单提交之Form submission canceled because the form is not connected
- ExtJS中表格控件的使用,属性设置和数据的获取(copyfrom:http://www.itzhai.com/extjs-form-controls-in-the-use-of-property-)
- Struts提交form之后抛出异常java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null
- Item 16: Use the same form in corresponding uses of new and delete.(Effective C++)
- [EffectiveC++]item16:Use the same form in corresponding uses of new and delete
- [jQuery] jQuery IE6中Form.submit不提交的问题
- Effective C++ Item 16 Use the same form in corresponding uses of new and delete
- How to get the query statement of LOV in Oracle Form
- 删除tableview的section遇到crash:The number of rows contained in an existing section after the update
- Print the numbers of form (2^i)*(5^j) in increasing order
- IE6下采用jquery的$("#form").submit()方法提交表单失效
- one of the two jquery Plug-in named "Confirm"
- Changing the layout direction of a form item in Flex