我在Azure上运行了<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<header>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</header>
<label class="custom-control "> label1</label>
<div class="col-md-3">
<select data-id="1" onchange="changeUnit(this)" class="labelBlack form-control meas" name="companyType" id="meas1" class="form-control">
<option value="Weight"> Weight</option>
<option value="Length">Length</option>
<option value="Piece"> Piece</option>
</select>
</div>
<div class="col-md-3">
<select data-id="1" onchange="changeMeasure(this)" class="labelBlack form-control unt" name="companyType" id="unt1" required class="form-control nearSelcttxt">
<option value="$/TON">$/TON</option>
<option value="$/FT">$/FT</option>
<option value="$/PIECE">$/PIECE</option>
</select>
</div>
<label class="custom-control "> label2</label>
<div class="col-md-3">
<select data-id="2" class="labelBlack form-control meas" name="companyType" id="meas2" class="form-control">
<option value="Weight"> Weight</option>
<option value="Length">Length</option>
<option value="Piece"> Piece</option>
</select>
</div>
<div class="col-md-3">
<select data-id="2" class="labelBlack form-control unt" name="companyType" id="unt2" required class="form-control nearSelcttxt">
<option value="$/TON">$/TON</option>
<option value="$/FT">$/FT</option>
<option value="$/PIECE">$/PIECE</option>
</select>
</div>
个虚拟机实例。
如何使用datastax nodejs驱动程序与我的nodejs应用程序通信?
更具体地说,
Cassandra certified by bitnami
假设这是我的VM详细信息:
const cassandra = require('cassandra-driver');
const client = new cassandra.Client({ /* What goes in here? */ });