Results 1 to 7 of 7

Thread: Reload

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User zombie13's Avatar
    Join Date: Oct:2012
    Location: Bulgaria - Ruse
    Posts: 63

    Reload

    .



    HTML Code:
    <div id="captcha">
       Enter captcha:<br />
       <img src="captcha.php" />
       <img src="images/reload.png" id="reload" /><br />
       <input type="text" name="captcha" size="5" maxlength="5" />
    </div>
    img id="reload" captcha.php <img src="captcha.php" />
    input type="hidden" !!

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    ( ), iframe - , JS .
    JS, , JS , , .
    - , 2-3 ( - ) - , . , , , .

  3. #3
    Registered User zombie13's Avatar
    Join Date: Oct:2012
    Location: Bulgaria - Ruse
    Posts: 63
    tedych

  4. #4
    Registered User
    Join Date: Mar:2008
    Location: Buglaria
    Posts: 86
    AJAX?! - JavaScript - . JS, - img . ...

  5. #5
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    Quote Originally Posted by kolio0o View Post
    AJAX?! - JavaScript - . JS, - img . ...
    . , , , , .
    img , .
    ( captcha.php captcha2.php ), src- . .

  6. #6
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    Quote Originally Posted by tedych View Post
    ( captcha.php captcha2.php ), src- . .


    Code:
    <div id="captcha">
    <img src="captcha.php">
    <a>reload</a>
    </div>
    
    <script type="text/javascript">
    $('#captcha a').on('click', function () { $('#captcha img').attr('src', 'captcha.php?'+Math.random()); });
    </script>
    Last edited by _ShadoW_; 17th December 2012 at 14:03.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |