次のコードは、ユーザーがクリックしたときに自動的にcaptchaイメージを更新するJQuery JavaScriptです。

 $(function(){
      $('#kaptchaImage').click(function () {
        $(this).hide()
          .attr('src', 'kaptcha.jpg?' + Math.floor(Math.random()** 100) )
          .fadeIn();
      })
 });

このコードはFireFoxで正常に動作しています。しかし、私はインターネットでそれをテストするとき
エクスプローラ6または7、私は次のActive Xコントロール警告を打つ。
**

セキュリティ設定では、WebサイトでコンピュータにインストールされているActiveXコントロールを使用できません。このページは正しく表示されない場合があります。オプションについては、ここをクリックしてください。 + **

解決策

......

The above code is call “Mark of the Web (MOTW)”, this is a feature of
Windows Internet Explorer that enhances security by enabling Internet
Explorer to force Web pages to run in the security zone of the location
the page was saved from.

Please visit

http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx

to
understand more about Mark of the Web (MOTW).