ok( $('#text2').attr('value', "${this.id}")[0].value == "text2", "Set value from id" ); reset(); $('#text1, #text2').attr({value: "${this.id + 'foobar'}"}); ok( $('#text1')[0].value == "text1foobar", "Set value from id" ); ok( $('#text2')[0].value == "text2foobar", "Set value from id" ); 
test("attr(String, Function|String)", function() {	ok( $('#text1').attr('value', function() { return this.id })[0].value == "text1", "Set value from id" );	ok( $('#text2').attr('value', "${this.id}")[0].value == "text2", "Set value from id" );	reset();	$('#text1, #text2').attr({value: "${this.id + 'foobar'}"});	ok( $('#text1')[0].value == "text1foobar", "Set value from id" );	ok( $('#text2')[0].value == "text2foobar", "Set value from id" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/d0e8a2452ebd30abe403d402e813513cef675694/coreTest.js/buggy/src/jquery/coreTest.js