Posted 一月 20th, 2010 by o2ho in category
技术
jQuery 1.4 API Cheat Sheet
printable PDF version
PNG version
Selectors
Basics
#id
element
.class, .class.class
*
selector1, selector2
Hierarchy
ancestor descendant
parent > child
prev + next
prev ~ siblings
Basic Filters
:first
:last
:not(selector)
:even
:odd
:eq(index)
:gt(index)
:lt(index)
:header
Posted 九月 11th, 2009 by o2ho in category
工作,
技术
<script language="javascript" src="jquery-1.3.2.min.js" type="text/javascript">
</script>
<script language="javascript">
function example_reset_html(id) {
$('#'+id).html($('#'+id).html());
}
</script>
<form>
<div style="float: left;" id="example_file"><input type="file" /></div>
<input t