Visualizzazione dei risultati da 1 a 5 su 5

Hybrid View

  1. #1

  2. #2
    Utente bannato
    Registrato dal
    Sep 2016
    Messaggi
    53
    Quote Originariamente inviata da Vincent.Zeno Visualizza il messaggio
    il codice tasto aggiorna è questo :


    <INPUT TYPE="button" VALUE="aggiorna" onClick="document.location.reload()">






    in che posizione va messo all'interno del codice ajax? che è questo sotto ?


    <!DOCTYPE html>
    <html>
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script>
    $(document).ready(function(){
    $("button").click(function(){
    $.ajax({url: "demo_test.txt", success: function(result){
    $("#div1").html(result);
    }});
    });
    });
    </script>
    </head>
    <body>


    <div id="div1"><h2>Let jQuery AJAX Change This Text</h2></div>


    <button>Get External Content</button>


    </body>
    </html>




    ---


    il codice dove inserire il tasto aggiorna per singola scheda è questa:


    <div id="JPM" class="tabcontent">
    <!-- Start TC2000 widget -->
    <iframe width="280" noresize="noresize" scrolling="no" height="75" frameborder="0" src="https://widgets.tc2000.com/WidgetServer.ashx?id=96383"></iframe>
    <!-- END TC2000 Widget -->
    <p><img src="http://bigcharts.marketwatch.com/kaavio.Webhost/charts/big.chart?nosettings=1&symb=aapl&uf=0&type=4&size= 3&sid=609&style=330&freq=9&entitlementtoken=0c3337 8313484ba9b46b8e24ded87dd6&time=1&rand=279455334&c ompidx=aaaaa%3a0&ma=0&maval=9&lf=1&lf2=0&lf3=0&hei ght=510&width=720&mocktick=1"></p>
    </div>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.