- ok( $('#text1').attr('value') == "Test", 'Check for value attribute' );\r
- ok( $('#text1').attr('value', "Test2").attr('defaultValue') == "Test", 'Check for defaultValue attribute' );\r
- ok( $('#text1').attr('type') == "text", 'Check for type attribute' );\r
- ok( $('#radio1').attr('type') == "radio", 'Check for type attribute' );\r
- ok( $('#check1').attr('type') == "checkbox", 'Check for type attribute' );\r
- ok( $('#simon1').attr('rel') == "bookmark", 'Check for rel attribute' );\r
- ok( $('#google').attr('title') == "Google!", 'Check for title attribute' );\r
- ok( $('#mark').attr('hreflang') == "en", 'Check for hreflang attribute' );\r
- ok( $('#en').attr('lang') == "en", 'Check for lang attribute' );\r
- ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' );\r
- ok( $('#name').attr('name') == "name", 'Check for name attribute' );\r
- ok( $('#text1').attr('name') == "action", 'Check for name attribute' );\r
+ equals( $('#text1').attr('value'), "Test", 'Check for value attribute' );\r
+ equals( $('#text1').attr('value', "Test2").attr('defaultValue'), "Test", 'Check for defaultValue attribute' );\r
+ equals( $('#text1').attr('type'), "text", 'Check for type attribute' );\r
+ equals( $('#radio1').attr('type'), "radio", 'Check for type attribute' );\r
+ equals( $('#check1').attr('type'), "checkbox", 'Check for type attribute' );\r
+ equals( $('#simon1').attr('rel'), "bookmark", 'Check for rel attribute' );\r
+ equals( $('#google').attr('title'), "Google!", 'Check for title attribute' );\r
+ equals( $('#mark').attr('hreflang'), "en", 'Check for hreflang attribute' );\r
+ equals( $('#en').attr('lang'), "en", 'Check for lang attribute' );\r
+ equals( $('#simon').attr('class'), "blog link", 'Check for class attribute' );\r
+ equals( $('#name').attr('name'), "name", 'Check for name attribute' );\r
+ equals( $('#text1').attr('name'), "action", 'Check for name attribute' );\r