Vai al contenuto
jQuery Italia
jQuery Italia

La community italiana di jQuery

  • HOME
  • IMPARA
    • Tutorials jQuery Italia
    • Tutorials dal web
    • Supporto ed Aiuto
  • CONTRIBUISCI
    • Nuovo Articolo
    • Nuovo Tutorial
  • SVILUPPA
    • Snippets
    • Tools
    • Download
    • Plugins
    • Links
  • NOTIZIE
    • jQuery
    • jQuery UI
    • Projects
  • CONTATTI
  • LOGIN
  • REGISTRATI

jquery-ui.js:12794 Uncaught TypeError: Cannot read property ‘_focusTabbable’ of

Home › Forum › Supporto ed Aiuto › Richieste di aiuto, script e tutorial

Scrivi le tue richieste di aiuto nella sezione relativa.
Richieste di aiuto generiche o riguardanti script o tutorial creati dalla community jQuery Italia.
  • Questo topic ha 0 risposte, 1 partecipante ed รจ stato aggiornato l'ultima volta 3 anni, 4 mesi fa da ans66.
Stai visualizzando 1 post (di 1 totali)
  • Autore
    Post
  • 4 Gennaio 2019 alle 18:33 #7249
    ans66
    Partecipante

    Buon giorno a tutti,

    Questo errore che mi appare quando clicco su un textbox di una tabella dopo aver chiuso una UI DialogBox. Prima di chiedere aiuto ho provato a trovare tutte le possibile soluzioni in rete ma purtroppo senza esito.

    Di seguito codice della UI DialogBox (che credo sia incriminata):
    function QualeDB (url){
    var divFordialog='<div><input type="checkbox" name="db" id="db" value="db" checked /> Data Base Anno Corrente <br /><input type="checkbox" name="dbst" id="dbst" value="dbst"/> Data Base Anni Passati <br /></div>';
    
    var mydialog=$(divFordialog)
    .dialog({
    autoOpen: false,
    modal: true,
    title: "In quale data base vuoi cercare",
    closeOnEscape: false,
    open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); },
    buttons: [
    {
    text: "OK",
    id: "okbtnid",
    click: function() {
    DB_AnnoCorrente_Is_Checked( $('#db').is(":checked"),url );
    $( this ).dialog( "destroy" ).remove();
    }
    }
    ],
    position: {
    my: "center",
    at: "center",
    of: $("body"),
    within: $("body")
    }
    
    });
    
    return mydialog;
    
    }
    
    funzione avviata dal dialog:
    
    <pre class="lang:js decode:true " title="funziona che lancia la ricerca records nel database appropriato">function DB_AnnoCorrente_Is_Checked(Ischecked, url) {
    if (Ischecked==true) {DbStorico=false; GetData("trova", url);} else { DbStorico=true; url +="&db=entusc_stor"; GetData("trova", url)};
    }
    Tabella in php con TextBox:
    
    <pre class="lang:php decode:true " title="tabella con textBox"><!DOCTYPE html>
    <html>
    <head>
    
    <title>Tabella Entrate Uscite</title>
    <link rel="stylesheet" href="css/styles.css">
    <link rel="stylesheet" href="css/jquery-ui.css">
    <link rel="stylesheet" href="css/tabGEU_style.css">
    <script src="js/jquery.js"></script>
    <script src="js/jquery-ui.js"></script>
    <script src="js/tabentusc.js"></script>
    <script src="js/menu.js"></script>
    
    </head>
    <body>
    
    
    
    
    <div class="tabelle" align="center" >
    <table id="tab" width="55%" height="8%" border="1" >
    <tr >
    <td align="left" width="100%" >
    
    <font>Tabella Entrate Uscite </font>
    
    </td>
    </tr>
    </table>
    <table id="tab" width="55%" height="40%" border="1" >
    <tr >
    <td align="left" >
    <p>Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="datepicker" value="<?php if(!empty($array)){ $res=explode('-',$array[$nrRec][0]) ; echo $res[2]."/".$res[1]."/".$res[0]; } ?>" />
    <input id="mese" type="text" name="mese" size="6" value="<?php if(!empty($array)) echo MonthName($res[1]); ?>">
    <input id="anno" type="text" name="anno" size="2" value="<?php if(!empty($array)) echo $res[0]; ?> "></p>
    </td>
    </tr>
    <tr >
    <td align="left" >
    <font>Soggetti: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="soggetto" name="soggetto" value="<?php if(!empty($array)) echo $array[$nrRec][1]; ?>">
    <select id="soggetti" name="soggetti">
    <option value="inserisci">inserisci</option>
    <?php
    if(!empty($resultSog)) {
    
    $options="";
    $max = sizeof($resultSog);
    for($i = 0; $i < $max;$i++)
    {
    if ($resultSog[$i][1]!=trim($array[$nrRec][1])) {
    $options.= '<option value="' . $resultSog[$i][0] . '">' . $resultSog[$i][1] . '</option> ';
    } else {
    $options.= '<option value="' . $resultSog[$i][0] . '" selected>' . $resultSog[$i][1] . '</option> ';
    }
    }
    
    $options.='<option value="'.strtoupper("nuovo soggetto").'">'.strtoupper("nuovo soggetto").'</option>';
    echo $options;
    
    }
    ?>
    </select>
    </td>
    </tr>
    <tr >
    <td align="left" >
    <font>Valore: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="valore" name="valore" value="<?php if(!empty($array)){ setlocale(LC_MONETARY, 'it_IT'); $val=$array[$nrRec][2]; echo "&euro; ".sprintf("%01.2f", $val); } ?>">
    </td>
    </tr>
    <tr >
    <td align="left" >
    <font>Categoria: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="categoria" name="categoria" value="<?php if(!empty($array)) echo $array[$nrRec][3]; ?>">
    <select id="categorie" name="categorie">
    <option value="categorie">inserisci</option>
    <?php
    if(!empty($resultCat)) {
    $max = sizeof($resultCat);
    for($i = 0; $i < $max;$i++)
    {
    if ($resultCat[$i][1]!=trim($array[$nrRec][3])) {
    $options.= '<option value="' . $resultCat[$i][0] . '">' . $resultCat[$i][1] . '</option> ';
    } else {
    $options.= '<option value="' . $resultCat[$i][0] . '" selected>' . $resultCat[$i][1] . '</option> ';
    }
    }
    
    $options.='<option value="'.strtoupper("nuova categoria").'">'.strtoupper("nuova categoria").'</option>';
    echo $options;
    }
    ?>
    </select>
    </td>
    </tr>
    <tr >
    <td align="left" >
    <font>Dove Acquistato: </font><input type="text" id="doveacquis" name="doveacquis" value="<?php if(!empty($array)) echo $array[$nrRec][4]; ?>">
    <select id="doveacq" name="doveacq">
    <option value="doveacquistato">inserisci</option>
    <?php
    if(!empty($resultDove)) {
    $max = sizeof($resultDove);
    for($i = 0; $i < $max;$i++)
    {
    if ($resultDove[$i][1]!=trim($array[$nrRec][4])) {
    $options.= '<option value="' . $resultDove[$i][0] . '">' . $resultDove[$i][1] . '</option> ';
    } else {
    $options.= '<option value="' . $resultDove[$i][0] . '" selected>' . $resultDove[$i][1] . '</option> ';
    }
    }
    
    $options.='<option value="'.strtoupper("nuovo doveacquistato").'">'.strtoupper("nuovo doveacquistato").'</option>';
    echo $options;
    }
    ?>
    </select>
    </td>
    </tr>
    </table>
    <table id="tab" width="55%" height="8%" border="1" >
    <tr >
    <td id="one" align="center" width="3%" >
    <div class="uno" title="Primo" >
    
    </div>
    </td>
    <td id="two" align="center" width="3%" >
    <div class="due" title="Indietro" >
    
    </div>
    </td>
    <td id="three" align="center" width="3%" >
    <div class="tre" >
    <input id="nrrec" name="nrrec" type="text" size="3" value="<?php if(!empty($array)) echo $nrRec+1; else echo "0"; ?>">
    </div>
    </td>
    <td id="four" align="center" width="6%" >
    <div class="quattro" >
    <font id="totrec">di [<?php echo $num_rows; ?> ] </font >
    <input type="hidden" id="totR" name="totR" value="<?php echo $num_rows; ?>" />
    </div>
    </td>
    <td id="five" width="3%" >
    <div class="cinque" title="Avanti" >
    
    </div>
    </td>
    <td id="six" width="3%" >
    <div class="sei" title="Ultimo" >
    
    </div>
    </td>
    <td id="seven" width="3%" >
    <div class="sette" title="Inserisci" >
    
    </div>
    </td>
    <td id="eight" width="3%" >
    <div class="otto" title="Conferma" >
    
    </div>
    </td>
    <td id="nine" width="3%" >
    <div class="nove" title="Cancella" >
    
    </div>
    </td>
    <td id="ten" width="3%" >
    <div class="dieci" title="Aggiorna" >
    
    </div>
    </td>
    <td id="eleven" width="3%" >
    <div class="undici" title="Modifica">
    
    </div>
    </td>
    <td id="twelve" width="3%" >
    <div class="dodici" title="Cerca" >
    
    </div>
    </td>
    <td id="thirteen" width="3%" >
    <div class="tredici" title="Vai al Record" >
    
    </div>
    </td>
    <td id="fourteen" width="3%" >
    <div class="quattordici" title="Delete" >
    
    </div>
    </td>
    <td id="fifteen" width="3%" >
    <div class="quindici" title="Chiudi" >
    
    <?php
    if(!empty($array))$id=$array[$nrRec][5]; else $id=0;
    echo ' <input type="hidden" id="IdGEU" name="IdGEU" value="'.$id.'" />
    <input type="hidden" id="server" name="server" value="'.$server.'" />
    <input type="hidden" id="user" name="user" value="'.$user.'" />
    <input type="hidden" id="passw" name="passw" value="'.$passw.'" />
    <input type="hidden" id="nrRsalvato" name="nrRsalvato" value="" />';
    ?>
    
    </div>
    </td>
    
    </tr>
    </table>
    
    </div>
    
    <div id="indivphp" style="visibility: hidden">
    <div id="dialogPHP" title="" value="" >
    </div>
    </div>
    <div id="indivphp2" style="visibility: hidden">
    <div id="dialogPHP2" title="" value="" >
    </div>
    </div>
    <div id="indivphp3" style="visibility: hidden">
    <div id="dialogPHP3" title="" value="" >
    </div>
    </div>
    
    <span id="div_hidden" style="visibility: hidden">
    <div id="scelta"></div>
    <div id="scelta2"></div>
    <div id="input" title="Parola da cercare" value=""></div>
    <div id="data" title="Data da cercare" value=""></div>
    
    <div id="dialog" title="Data da trovare">
    <input type="text" id="datepicker2" /><input type="submit" value="|||" id="btnDate">
    </div>
    <input type="submit" id="opener" style="visibility: hidden" >
    </span>
    
    <div id="spin"> </div>
    
    </body>
    </html>

    Grazie davvero per l’aiuto che mi potrete dare. Fatemi sapere se necessitate visionare ulteriore codice.

     

  • Autore
    Post
Stai visualizzando 1 post (di 1 totali)
  • Devi essere connesso per rispondere a questo topic.
Accesso
Accedi con Facebook
Accedi con Google
Accedi con Twitter

Login

Accedi con Facebook
Accedi con Google
Accedi con Twitter
  • Registrati
  • Password dimenticata?

SOSTIENI jQuery Italia

Aiuta la Community di jQuery Italia a rimanere in vita per contribuire a diffondere le conoscenze di base ed avanzate di jQuery.

Download in evidenza

  • gmap104.html (3527 download)
  • jquery-1.4.1.min.js (3110 download)
  • tinytips11.html (3087 download)
  • jqueryformwizard-201.html (3072 download)
  • jquery-ui-1.8rc1.zip (2965 download)
  • jquerytools120.html (2890 download)
  • jquery-1.4.2.min.js (2884 download)
  • calendarPicker.html (2872 download)
  • 1.0.0.zip (2867 download)
  • move-background.html (2833 download)

jQuery Links

  • jQuery Howto
  • jQuery Official Site
  • jQuery UI Official Site
  • Learning jQuery
  • Use jQuery

SITO SEGNALATO SU

Sito segnalato da Freeonline.it - La guida alle risorse gratuite Mooseek.com - Web Directory, Download Software, Giochi Online, Video Tecnologici, Siti d'Affari

TAG

aggiornamento (3) ajax (5) Android (5) animazione (49) api (10) BlackBerry (4) calendario (3) canvas (4) css3 (9) form (12) framework (41) gallery (8) google (5) grafici (2) html5 (11) immagini (38) javascript (29) jQuery (160) jQuery UI (15) Linux Day (3) maps (3) menu (6) mobile (10) news (2) open source (4) overlay (3) plugin (93) Plugins (17) presentation cycle (4) projects (11) responsive (5) slider (7) slideshow (18) Smartphones (5) Tablets (4) template (5) testo (2) tooltip (6) tutorial (12) upload (3) utility (18) VELug (3) video (3) widget (3) zoom (3)
jQuery Italia

La community italiana di jQuery

  • Facebook
  • Twitter
  • Linkedin
  • Youtube
Tutti i loghi ed i marchi contenuti e citati in questo sito sono dei rispettivi propietari.
Privacy Policy
Cookies Policy
COPYRIGHT © 2010 - 2022 jQuery Italia
Designed By ZeeTheme
Posting....