<div id="projectThumbs">
<div class="wrapper"> <a class="project">
<div class="intrinsic" style=""></div>
</a>
</div>
</div>
.intrinsic {
background-color: #2A3139;
box-shadow: none;
width: 200px;
height:200px
}
var randomLinks = $('#projectThumbs .intrinsic');
var original = randomLinks.css('background-color');
var colors = ['#f9c213', '#f35c4a', '#3da1bf', '#827287'];
randomLinks.hover(function () { //mouseover
var col2 = Math.floor(Math.random() * colors.length);
var newcolor = '' + colors[col2];
$(this).css('background-color', newcolor);
}, function () { //mouseout
$(this).css('background-color', newcolor);
});
<form oninput="result.value=(Sum.value*0.975).toFixed(2)" name=ShopForm method="POST" action="https://money.yandex.ru/eshop.xml">
<input type=text name="CustomerNumber" size="43"><br><br>
<input type=text name="CustName" size="43"><br><br>
<input type=text name="cps_phone" size="43"><br><br>
<input type=text name="CustEMail" size="43"><br><br>
<b><p style="font-size: 13px;font-family: Arial;margin-bottom: 0px;">Сумма(в рублях):</p>
<input type="text" name="Sum" size="43" autofocus></p>
<p style="font-size: 13px;font-family: Arial;margin-bottom: 0px;">За вычетом комиссии:*</p><output name="result">0</output></p></b>
Способ оплаты:<br><br>
<input name="paymentType" value="PC" type="radio" checked="checked"/>Со счета в Яндекс.Деньгах<br/>
<input name="paymentType" value="AC" type="radio" />С банковской карты<br/>
<input name="paymentType" value="WM" type="radio" />Со счета WebMoney<br/>
<input name="paymentType" value="GP" type="radio" />По коду через терминал<br/><br/>
<input style="width: 300px;background: #365B83;color: #fff;" type=submit value="Оплатить"><br>
<script>
$("#text-input").keyup(function(){
var inputdata = $("#text-input").val();
if(inputdata != ''){
$("#text").text(inputdata);
}else{
}
});
</script>
</form>