CentOS7.4に「Another app is currently holding the yum lock」の解決方法
エラーメッセージ
Another app is currently holding the yum lock; waiting for it to exit…
The other application i ...
Macにphp7+xdebugをインストールするメモ
インストール手順
brew install php70
brew install php70-xdebug
php -i | grep xdebug.ini
vim/usr/local/etc/php/ ...
「Jquery入門」return falseとpreventDedault() でformのsubmitを止める方法
1.「return false」のサンプル
$(‘#cftForm’).submit(function(event){
if (!$(‘#name’).val()) { ...
JavaScriptで指定idのdomを操作する方法
サンプルコード
$(“#nameId”).html();
$(“#nameId”).innerHTML;
$(“#nameId”).eq( ...
「jQuery入門」each()でそれぞれのliの要素を取得する
サンプルコード:
<script type=”text/javascript” src=”/jquery/jquery.js”></script>