skip to Main Content

how to get the td id in JavaScript – Jquery ajax

<table class="table" style="margin-bottom:0px!important"> <b> <? if(!empty($channelBase['rep_ids'])) { $s_id=$channelBase['id']; $i=0; $temp=''; $reps_channl=explode(",",$channelBase['rep_ids']); foreach($reps_channl as $k) { $added_reps = $rep_names[$k]; if($i==0){ $temp.='<tr style="border-top:none;">'; } $temp.="<td id='".$s_id."_".$k."' class='repclicked' style='border-top:none;'>$added_reps <a href='#' class='btn btn-xs btn-icon btn-circle ' onclick='delete_repid($k,$s_id);'><i class='fa fa-close'></i></a> </td>"; $i++; if($i==5) {…

VIEW QUESTION

CSP Header and Cross domain Ajax call – Jquery ajax

my server (my.server.com) produces a HTML page that call another service (external.server.com) for load data. For the ajax call i'm using jquery. $.ajax({ url:"https://external.server.com/check", dataType: 'get', success:function(json){ // do stuff with json (in this case an array) $("userContainer").append(json); }, error:function(){…

VIEW QUESTION
Back To Top
Search