javascript - Uncaught RangeError: Maximum call stack size exceeded on jquery dialog -


i have been confusing week eror in javascript. have table 1 column anchor selection code. if view display on screen not problem, java script doing normal. if view display on jquery dialog ajax, when click anchor class "pilih" error: uncaught rangeerror: maximum call stack size exceeded

i sorry can't explain well, because code mixed php , java script.

anyone can access web , page problem in link

http://femiola.com/public/cbarang/#

there plus button > click it, appear bootstrap modal, blue button > click it, appear jquery dialog, when choosed 1 anchor in jquery dialog have error uncaught rangeerror: maximum call stack size exceeded

my code here

vbarang.php (screen page plus button) <script type="text/javascript">     $(document).ready(function() {            $(".plihkel").on('click', function(e){                      e.stopimmediatepropagation();                     var ygdipilih = $(this).attr("id");                     alert(ygdipilih)                   });          });  </script>  vbantuankel.php - jquery dialog      <table id="mytable" class="table table-bordered table-striped" width="40%">     <thead>         <tr>             <th>kode</th>             <th>kelompok</th>             <th>pilih</th>         </tr>     </thead>      <tbody>     <?php foreach($daftarkelbarang $row): ?>         <tr>            <td><a href="#" class="plihkel" id="<?php echo $row['kdkel'];?>"><?php echo $row['kdkel'];?></a></td>             <td><?php echo $row['nmkel'];?></td>             <td>              </td>         </tr>      <?php endforeach ?>      </tbody> </table> 

why on click eror if display on jquery dialog, not eror when display on screen?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -