X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=67dfd6b52c4dde42e14774483531d041f76d90d7;hb=301e2b64937cf1b03899f0583a9c6de1086820a5;hp=cda8fae979abbb44734e43606f4559e50fd67c79;hpb=9203775234e83c48411b8b182df72c41532250d0;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index cda8fae..67dfd6b 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -391,8 +391,8 @@ jQuery.fn = jQuery.prototype = { * ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' ); * ok( $('#name').attr('name') == "name", 'Check for name attribute' ); * ok( $('#text1').attr('name') == "action", 'Check for name attribute' ); - * ok( $('#form').attr('action') == "formaction", 'Check for action attribute' ); - * + * ok( $('#form').attr('action').indexOf("formaction") >= 0, 'Check for action attribute' ); + * * @name attr * @type Object * @param String name The name of the property to access.