wmag,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
var id = "player1"
var choose = $('[choose=' + id + ']');
choose.html('');
});
</script>
</head>
<body>
<div choose="player1" >всякая хрень</div>
</body>
</html>