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

Php versions – Save tracked GPS Data with Java Script

I have written some code that tracks the GPS-Data of a user: index.html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> <title>Document</title> <script type="text/javascript" src="tracking.js"></script> </head> <body> <button class="btn btn-success m-5" onclick="getLocation()">start tracking</button> <button class="btn btn-danger…

VIEW QUESTION
Back To Top
Search