Changeset 2013
- Timestamp:
- 05/31/07 16:49:49 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/jquery/coreTest.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/jquery/coreTest.js
r1961 r2013 226 226 227 227 test("attr(String, Object)", function() { 228 expect( 7);228 expect(8); 229 229 var div = $("div"); 230 230 div.attr("foo", "bar"); … … 247 247 $("#text1").attr('readonly', false); 248 248 ok( document.getElementById('text1').readOnly == false, 'Set readonly attribute' ); 249 $("#name").attr('maxlength', '5'); 250 ok( document.getElementById('name').maxLength == '5', 'Set maxlength attribute' ); 249 251 }); 250 252
