rem: document.getElementById('text1').value = "bla"; ok( $("#text1").val() == "bla", "Check for modified value of input element" ); $("#text1").val('test'); ok ( document.getElementById('text1').value == "test", "Check for modified (via val(String)) value of input element" ); 
add: var settings = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" }, options =     { xnumber2: 1, xstring2: "x", xxx: "newstring" }, optionsCopy = { xnumber2: 1, xstring2: "x", xxx: "newstring" }, merged = { xnumber1: 5, xnumber2: 1, xstring1: "peter", xstring2: "x", xxx: "newstring" }; jQuery.extend(settings, options); isSet( settings, merged, "Check if extended: settings must be extended" ); isSet ( options, optionsCopy, "Check if not modified: options must not be modified" ); 
context: test("val(String)", function() {	expect(2);	document.getElementById('text1').value = "bla";	ok( $("#text1").val() == "bla", "Check for modified value of input element" );	$("#text1").val('test');	ok ( document.getElementById('text1').value == "test", "Check for modified (via val(String)) value of input element" );});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js