Skip to main content

Bug Tracker

Side navigation

Ticket #6835: test-6835.html


File test-6835.html, 0.7 KB (added by dmethvin, July 28, 2010 02:07AM UTC)

Test case

<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title></title> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(document).ready(function(){

$('button').each(function(){
 alert($(this).attr('value')+"~"+$(this).val()+"~"+this.value);
})


});
</script> 
</head> 
<body> 


<button id="AUT" value="AUT">Automotive</button> 
<button id="CON" value="CON">Consumer</button>
<button id="ENT" value="ENT">Enabling Technologies</button>
<button type="button" id="IND" value="IND">Industrial</button>
<button type="submit" id="NET" value="NET">Networking</button>


</body> 
</html>

Download in other formats:

Original Format