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" );  $("#select1").val("3"); ok( $("#select1").val() == "3", "Check for modified (via val(String)) value of select element" ); 
add: ok( $("#text1").val() == "Test", "Check for value of input element" ); ok( !$("#text1").val() == "", "Check for value of input element" );  ok( $("#first").val() == "", "Check a paragraph element to see if it has a value" ); 
context: test("val(String)", function() {	expect(3);	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" );		$("#select1").val("3");	ok( $("#select1").val() == "3", "Check for modified (via val(String)) value of select element" );});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/76e3a901530609d3c4a695ccb8a48251445c6861/core.js/clean/test/unit/core.js