All-in-one creative subscription with full AI stack All-in-one creative subscription From $16.50/m

本気でやるならonclick属性は避けてライブラリを活用すべき - 帰ってきたHolyGrailとHoryGrailの区別がつかない日記 を読んで,思うところあって書いてみました(決してカウンターアーティクルではない)。 むかしむかし JavaScript を触っていた むかしむかしに書かれた JavaScript の本で勉強している/した 人向けに。大元記事(そろそろ本気で学びませんか? | Think IT(シンクイット))の想定読者に近いかなと思います。よって以下は JavaScript の初学者にはまったくおすすめできない(余計な知識がついてしまう)です。 Step 1: はじめのいっぽ ボタンを押したらメッセージボックスが出現する HTML を書いてみます。 <html><body> <script type="text/javascript"> function ShowMes
MooTools is a collection of JavaScript utilities designed for the intermediate to advanced JavaScript developer. It allows you to write powerful and flexible code with its elegant, well documented, and coherent APIs. MooTools code is extensively documented and easy to read, enabling you to extend the functionality to match your requirements. Open Source LicenseMooTools libraries are released under
There’s been a lot of interest in yesterday’s release of Google Doctype. The primary focus of the release is on documentation (specifically “documenting the Open Web”) however there’s also two extra, hidden, additions: A Google-released JavaScript library and an Open Web test suite. Let’s break down the parts of this release. Documentation On the main Google Doctype site they provide a link to Bro
Got 15 minutes? Give Ruby a shot right now! Ruby is a programming language from Japan (available at ruby-lang.org) which is revolutionizing the web. The beauty of Ruby is found in its balance between simplicity and power. Try out Ruby code in the prompt above. In addition to Ruby's builtin methods, the following commands are available: help Start the 15 minute interactive tutorial. Trust
あなたにとって重要なトピックや同僚の最新情報を入手しましょう最新の洞察とトレンドに関する最新情報を即座に受け取りましょう。 継続的な学習のために、無料のリソースに手軽にアクセスしましょうミニブック、トランスクリプト付き動画、およびトレーニング教材。 記事を保存して、いつでも読むことができます記事をブックマークして、準備ができたらいつでも読めます。
Security update May 17, 2008 Sanitizer added to prevent eval() of malicious code. The flag sessvars.$.prefs.includeFunctions now defaults to false. I never liked the JavaScript implementation of cookies. The storage space is limited (4 x 20 Kb per domain), the only data format that can be used is a string and the syntax for setting and getting cookies is unnecessarily complicated. On top of that t
JavaScript - サーバー間で双方向のRPC通信を行う技術は「Aerial」(エアリアル)という名前になりました*1。アイディアを出していただいた皆様、ありがとうございましたm(_ _)m Aerialは、通信にFlashを使い、JavaScriptとサーバープログラムとの間で双方向のRPC呼び出しを行う技術です。つまり、サーバー側からJavaScriptのメソッドを呼び出したり、逆にJavaScriptからサーバー側のプログラムを呼び出したりします。 サーバーから直接JavaScriptのコードを呼び出したり、逆にJavaScriptからサーバー側のメソッドを呼び出したりできるので、通信の内容を意識する必要がなく、バグの混入を抑えます。RPC成分入り! ライブラリを開発するときも、HTTPやブラウザ間の実装の違いを意識する必要も無く、ごく普通のTCP接続で通信を行うので、Come
History/Remote - jQuery plugin solution for hijaxing links and enabling history Implement Ajax driven links in a completely unobtrusive and accessible manner (also known as Hijax) with support for the browser's back/forward navigation buttons and bookmarking. Enhance comparable DHTML driven links as well. Find complete documentation in the source javascript file. Download I also use this plugin to
表示中のページから http://www.site-cooler.com/kwl/javascript/15.htm にリダイレクトしようとしています。 このページにリダイレクトしないようにする場合は、前のページに戻ってください。
●任意の文字に一致 書式:/文字/ 例1:"abcdefg".match(/a/) 結果:a 例2:"abcdefg".match(/cde/) 結果:cde 例2:"abcdefg".match(/xyz/) 結果:null ●改行文字を除く任意の1文字にマッチ 書式:/.文字/ 例1:"abcdefg".match(/.f/) 結果:ef ●複数個の文字にマッチ 書式:/../ (.はマッチする個数並べる) 例1:"abcdefg".match(/.f/) 結果:ef ●指定文字のいずれかにマッチ 書式:/[任意文字]/ 例1:"abcdefg".match(/[ahg]/) 結果:a ●指定文字以外のいずれかにマッチ 書式:/[^任意文字]/ 例1:"abcdefg".match(/[^ahg]/) 結果:b ●複数の文字列のいずれかにマッチ 書式:/任意文字列|任意文字列|...|
関数名を文字列で指定して呼び出せる機構 † JavaScriptでは、文字列を組み合わせて実行文を作り、evalで実行できますが、 関数を文字列で呼び出すにあたって、evalを使わなくていい方法があります。 関数もオブジェクトとして扱う(変数のように扱える) 連想配列が使える (文字列をキーとする配列が使える) という2つのJavaScriptの特徴を使えば、evalを使わなくても、 動的な文字列による関数呼び出しができます。 関数名を文字列で指定して呼び出すやりかたが使えます。 グローバルスコープの関数に限っては、window["関数名"](引数)で呼び出せます。 ↑
In this article we’d like to present a list of over 30 hand-picked Ajax and javascript techniques you can use to achieve some special visual effects in your designs. The best thing about this list is how fresh it is, you might have seen some of it but we guarantee not all. jQuery, Mootools, Prototype and script.aculo.us are used in these examples, so every taste has its demos served. You might be
js2-modeがすごい。便利すぎる。 js2-modeって何かというとJavaScript用のEmacs Lisp。 Googleで"javascript-mode"を検索するといくつか出てくるのだけれども、 js2-modeはかなり機能強化がされている。 従来のJavaScript用のelispが持っていたインデントやシンタックスハイライトはもちろん、 リアルタイムの構文解析によるシンタックス"エラー"ハイライティングやいくつかの入力補完機能まで実装されている。 さらにまだ未確認だけれどもJSDocのコメントフォーマットにも対応しているらしい。 とにかくリアルタイム構文チェックが便利すぎる。 間違えるとWarningなら即アンダーライン、Errorなら即ハイライトされる。 いや、ほんと便利これ。構文的なものはFireBugで確認するまでもない。ほんと早い。 そういえば最近Emacsなん
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く