English version これは何? 選択範囲のテキストを操作するための jQuery プラグインです。 テキスト選択(キャレット)位置や、選択テキストを取得したり、選択されているテキストの置き換えや挿入などを行えます。 使い方 jQuery 本体と、このプラグインを読み込んで使用します。 具体的には下記のように使用します。 API API Documentation デモ 入力フォームの選択テキスト操作 デモ1 テキストボックス(1行テキスト)内で選択されているテキストを取得するデモです。 Demo Javascript HTML Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated
//コントローラA側 cotrollerA = function($scope,$rootScope) { $rootScope.$broadcast('hogehoge'); } //コントローラB controllerB = function($scope,$rootScope) { //ブロードキャストを受け取る $scope.$on('hogehoge',function(event,data) { //もちろん$scopeにアクセス可能 }); } Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat
In the interest of following jQuery’s motto of “writing less and doing more,” let’s write a simple slideshow using jQuery, JavaScript and a bit of CSS. Download the complete slideshow here Read the FAQs For starters, our main goal should be keeping the markup as clean as possible: <div id="slideshow"> <img src="img/img1.jpg" alt="" class="active" /> <img src="img/img2.jpg" alt="" /> <img src="img/
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く