php jquery
$10-30 USD
Paid on delivery
<?php ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
// session_start();
include '../[login to view URL]';
include '../[login to view URL]';
?>
<div class="container-fluid">
<span><input type="text" id="number" placeholder="number">
<input type="text" id="desc" placeholder="desc">
<input type="button" class="add-row" value="Add Row"></span>
<div class="row">
<div class="col-sm-3">
<table class="table table-bordered table-sm">
<tbody class="mytables"></tbody>
</table>
</div>
<div class="col-sm-9"></div>
</div>
</div>
<script>
// here i like to display table side by side and addclass uniqe itemRow-number and .block-number
$(".add-row").click(function() {
var number = $("#number").val();
var desc = $("#desc").val();
var quantity = $("#number").val();
var j = 1;
for (var i = 0; i < quantity; i++) {
var markups = "<tr class='itemRow'><td class='block'>" + j + "</td><td>" + "1 X " + desc + "</td><td><a class='btn btn-xs btn-danger delete' href='#'>X</a></td></tr>";
$('.mytables').append(markups);
j++;
}
});
// here i like to delete specific itemRow-number and reorder .block-number
$('.mytables').on('click', '.delete', function(e) {
[login to view URL]();
if ($('.mytables tr').length > 0) {
$(this).closest('.itemRow').remove();
}
return false;
});
// $('.mytables .itemRow').addClass(function (i) {
// return 'itemRow-' + ++i
// })
</script>
Project ID: #37537660
About the project
Awarded to:
Hi. I will finish it in a short time. I am a good fit for this job. PHP, JavaScript and jQuery Expert Here!!! I will help you perfectly and I can finish it in a short time. Thanks for considering. Looking forward to he More
47 freelancers are bidding on average $25 for this job
Hi There, Thank you for considering our services for your project. Based on the details provided, we have carefully reviewed your requirements and have come up with a comprehensive proposal for your consideration. We More
I am very happy to get this opportunity to bid for your project. I have just read your requirements carefully and I am sure I can give you greatest result. I am very much interested in working with you as skill sets me More
Hi, I've reviewed your project requirements and I'm confident that I can assist you in achieving your goals. With extensive experience in PHP and jQuery, I can efficiently create the functionality you need. Here's a More
===== AVAILABLE FOR IMMEDIATE WORKING ======= Hi! I have gone through your job details and understood them. I can fix the isssues. I'm working(part-time) as a full-stack developer for E-Vision Software Ltd, one of th More
Hi Ismail, I can fix your issues on this script in few minutes only. I have 8 years of experience in PHP and Jquery
Hi, I can add or remove your dynamic row by making changes in your given jQuery. As i understand the core requirement is that you wanted to add row on click add row button and wanted to delete a row on click delete but More
Hello, Dear I am JavaScript and jQuery Expert. I can complete your project today. Please contact me. Thank you.
Hey there, I've experience good with PHP and jQuery. Let's talk over chat about the project details further and get started.
Hello sir i can solved your php and jquery issue plz give me one chance i can do my best thank you....................
Hi, I have see the code. you want display table side by side when delete specific item row it reorder itself. I am php , javaScript developer from 3 years. I have make ready the solution for this. let implement this
I can help you with the functionality you want to add to this script. I have the necessary skills to complete what you have requested.