VMware Workstation 12.1.1 Player for Windowsの起動方法を起動します。
【手順1】
1.デスクトップに作成された『VMware Workstation 12Player』のショートカットを実行。
1.初回起動時に以下の様に表示されます。
2.『続行』ボタンをクリック。
【手順3】
1.『完了』ボタンをクリック。
【手順4】
1.以下の様に『VMware Player』が起動すれば成功です。
以上です。
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel").attr("size", $("#sel option").length);
});
});
</script>
</head>
<body>
<button id="button">変更</button>
<select id="sel">
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
</select>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel option").prop("selected", false);
});
});
</script>
</head>
<body>
<button id="button">全解除</button>
<select id="sel" multiple>
<option value="aaa" selected>あああ</option>
<option value="iii" selected>いいい</option>
<option value="uuu" selected>ううう</option>
<option value="eee" selected>えええ</option>
<option value="ooo" selected>おおお</option>
</select>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel option").prop("selected", true);
});
});
</script>
</head>
<body>
<button id="button">全選択</button>
<select id="sel" multiple>
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
<option value="eee">えええ</option>
<option value="ooo">おおお</option>
</select>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#sel").change(function(){
var textList = $.map($("#sel option:selected"), function(value, index){
return $(value).text();
});
$("#spn").html(textList.join(", "));
})
.change();
});
</script>
</head>
<body>
<select id="sel" multiple>
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
<option value="eee">えええ</option>
<option value="ooo">おおお</option>
</select>
選択されている項目のラベル=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#sel").change(function(){
$("#spn").html($("#sel option:selected").text());
})
.change();
});
</script>
</head>
<body>
<select id="sel">
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
</select>
選択されている項目は『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
var textList = $.map($("#sel option:selected"), function(value, index){
return $(value).text();
});
$("#spn").html(textList.join(", "));
});
});
</script>
</head>
<body>
<button id="button">表示</button>
<select id="sel" multiple>
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
<option value="eee">えええ</option>
<option value="ooo">おおお</option>
</select>
選択されている項目のラベル=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#spn").html($("#sel").val().join(', '));
});
});
</script>
</head>
<body>
<button id="button">表示</button>
<select id="sel" multiple>
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
<option value="eee">えええ</option>
<option value="ooo">おおお</option>
</select>
選択されている項目のvalue=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array1 = ["aaa", "bbb", "ccc"];
var array2 = ["xxx", "yyy", "zzz"];
var array3 = $.merge(array1, array2);
$("#spn").html(array3.join(", "));
});
</script>
</head>
<body>
結合した配列は『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["a", "bb", "ccc"];
var array2 = $.grep(array, function(value, index) {
if (value.length >= 2) {
return true;
} else {
return false;
}
});
$("#spn").html(array2.join(", "));
});
</script>
</head>
<body>
配列の中身が2文字以上のものは『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["aaa", "bbb", "ccc"];
var array2 = $.map(array, function(value, index) {
return index + ":" + value;
});
$("#spn").html(array2.join(", "));
});
</script>
</head>
<body>
配列に番号を付番すると『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["aaa", "bbb", "ccc"];
var label = "";
$.each(array, function(index, value) {
label += index + ":" + value + "<br />";
});
$("#spn").html(label);
});
</script>
</head>
<body>
『label』は<br />
<span id="spn"></span>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["aaa", "bbb", "ccc"];
$("#spn1").html($.inArray("bbb", array));
$("#spn2").html($.inArray("xxx", array));
});
</script>
</head>
<body>
配列内に『bbb』は『<span id="spn1"></span>』番目<br />
配列内に『xxx』は『<span id="spn2"></span>』番目<br />
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["aaa", "bbb", "ccc"];
$("#spn").html(array.join(", "));
});
</script>
</head>
<body>
配列を『, 』(カンマスペース)で区切って出力すると=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
var array = ["aaa", "bbb", "ccc"];
$("#spn").html(array);
});
</script>
</head>
<body>
配列をそのまま出力すると=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#spn").html($("#sel option:selected").text());
});
});
</script>
</head>
<body>
<button id="button">表示</button>
<select id="sel">
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
</select>
選択されている項目のラベル=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#spn").html($("#sel").val());
});
});
</script>
</head>
<body>
<button id="button">表示</button>
<select id="sel">
<option value="aaa">あああ</option>
<option value="iii">いいい</option>
<option value="uuu">ううう</option>
</select>
選択されている項目のvalue=『<span id="spn"></span>』
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel2").empty();
$("#sel1 > option").clone(false).appendTo("#sel2");
$("#sel2").val($("#sel1").val());
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<select id="sel1" multiple>
<option value="opt1-1">aaa</option>
<option value="opt1-2" selected="selected">bbb</option>
<option value="opt1-3">ccc</option>
<option value="opt1-4" selected="selected">ddd</option>
<option value="opt1-5">eee</option>
</select>
<select id="sel2" multiple>
</select>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel2").empty();
$("#sel1 > option").clone(false).appendTo("#sel2");
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<select id="sel1" multiple>
<option value="opt1-1">aaa</option>
<option value="opt1-2" selected="selected">bbb</option>
<option value="opt1-3">ccc</option>
<option value="opt1-4" selected="selected">ddd</option>
<option value="opt1-5">eee</option>
</select>
<select id="sel2" multiple>
</select>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel2").empty();
$("#sel1 > option").clone(false).appendTo("#sel2");
$("#sel2").val($("#sel1").val());
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<select id="sel1">
<option value="opt1-1">aaa</option>
<option value="opt1-2" selected="selected">bbb</option>
<option value="opt1-3">ccc</option>
</select>
<select id="sel2" />
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#sel2").empty();
$("#sel1 > option").clone(false).appendTo("#sel2");
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<select id="sel1">
<option value="opt1-1">aaa</option>
<option value="opt1-2" selected="selected">bbb</option>
<option value="opt1-3">ccc</option>
</select>
<select id="sel2" />
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#btn1").clone(false).appendTo("#div1");
});
$("#btn1").click(function(){
alert("btn1");
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<button id="btn1">ボタン</button>
<div id="div1" />
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#btn1").clone(true).appendTo("#div1");
});
$("#btn1").click(function(){
alert("btn1");
});
});
</script>
</head>
<body>
<button id="button">コピー</button>
<button id="btn1">ボタン</button>
<div id="div1" />
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#div1").remove();
});
});
</script>
</head>
<body>
<button id="button">削除</button>
<div id="div1" style="background-color: yellow; height: 50px;">
abc
</div>
</body>
</html>
<!doctype html>
<html>
<head>
<script src="jquery-3.1.0.min.js"></script>
<script>
$(function() {
$("#button").click(function(){
$("#div1").empty();
});
});
</script>
</head>
<body>
<button id="button">削除</button>
<div id="div1" style="background-color: yellow; height: 50px;">
<span>abc</span>
</div>
</body>
</html>