This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Latest Best Movie FTP Server List All Bangla English Hindi China Movies Ftp Server Link 2022

 

TOP FTP Servers in Bangladesh

 

INFO INTERNET-FTP Server

Dhaka – FTP Server

circleftp.net

CircleNetwork

Samonline FTP Server 

Samonline 2 FTP Server

Movie Haat Ftp Server

FTP IP Server 

FTP IP Server 2

B.Net FTP Server

Cinema Bazar FTP Server 

FTP BD FTP Server 

Stargate FTP Server 1

Stargate FTP Server 2

VdoMela FTP Server 

Media FTP Server

Unique FTP

Ghuri Online FTP Server  

Bdix FTP Server

FTP IP Server 

Movply Hat FTP Server

Movie Hat FTP Server 

FTP IP Server 3

FTP IP Server 4

Dnet Drive FTP Server

BDPLEX FTP Server

AlphaMedia FTP Server 

BossBD FTP Server

 

TOP Software FTP Server BD

AlphaMedia FTP Server

Planet Communications FTP Server

Midiplex FTP Server

BossBD FTP Server 

BDPLEX FTP Server 

DNET DRIVE FTP Server 

SAMONLINE FTP Server 


Best Movie FTP Server BD List:


Talmuri FTP Server

Unique FTP

Net at Home BD

Naturalbd FTP Server

Inspire FTP Server

Movie Box BD

ftpbd.net

bdspeed.com

naturalbd.com

Bokashoka FTP Server

Weblink Communications FTP Server

Chine Bioscope FTP Server

Movie Mela FTP Server

Bdixservers FTP Server

Dekh Vai FTP Server

Timepass BD FTP Server

BD FUN FTP Server

BD FUN EMBY FTP Server

Bongo BD FTP Server

Media FTP Server 2


Best Game FTP Server BD


PC GAME 1 Sam online FTP Servers

PC GAME FTP Server 2

ftp.alphamediazone.com


Live TV FTP BD List:


LIVE TV 5

Live TV FTP Server 1

tv.ihub.live

Live TV FTP Server 02

Ragdhanu TV FTP Server

BossBD Live TV FTP Server

Bdtv TV FTP Server

FASTWAY TV Live FTP Server

LIVE TV FTP Server

Live TV-2 FTP Server

Live TV-3 FTP Server

Jagobd FTP Server

Live_TV FTP Server

Bioscope Live TV FTP Server

Bangla Flix TV FTP Server

Iflix_TV FTP Server

Star flix_TV FTP Server

iTV HD FTP Server

LIVE SPORTS FTP Server

Ebox TV FTP Server

জন্ম নিবন্ধনের বিস্তারিত

 জন্ম নিবন্ধন করার জন্য আমাদের ইউপি সদস্যের পেছনে ঘুরতে ঘুরতে পায়ের সেন্ডেল ক্ষয়হয়।

এখন আর ওনাদের পেছনে ঘুরতে হবে না✅, ভাবনা নয় সত্যি,দেশে এখন ডিজিটাল, ইউ‌নিয়ন সেন্টার, অনলাইন সার্ভিস, চালু করা হয়েছে।
দোকানে বা নিজ মোবাইলে ঘরে বসে আপনি আপনার
নিজের বা শিশুর জন্ম নিবন্ধন করতে পারবেন। আর নয় ঘুরাঘুরি সেবা পাবে নিজ পরিবার✌️, নিচের লিংক গুলোতে ক্লিক করুন, আপনার প্রয়োজনিয় সেবা নিন,
★নতুন জন্ম নিবন্ধন আবেদন
★জন্ম নিবন্ধন তথ্য সংশোধন আবেদন
★জন্ম নিবন্ধন তথ্য অনুসন্ধান
★জন্ম নিবন্ধন আবেদনের বর্তমান অবস্থা
★জন্ম নিবন্ধন আবেদন পত্র প্রিন্ট
★জন্ম নিবন্ধন সনদ পুনঃ মুদ্রন

Duplicate line in Visual Studio Code

 Click File > Preferences > Keyboard Shortcuts:

Search for copyLinesDownAction or copyLinesUpAction in your keyboard shortcuts

Usually it is SHIFT+ALT + 


Update for Ubuntu:

It seems that Ubuntu is hiding that shortcut from being seen by VSCode (i.e. it uses it probably by its own). There is an issue about that on GitHub.

In order to work in Ubuntu you will have to define your own shortcut, e.g. to copy the line using ctrl+shift+alt+j and CTRL +SHIFT + ALT + k 

Learn JavaScript for Beginners step by step in Bangla Most Easy Ever HD ...



For all the Web Developers learning JavaScript Bangla Tutorial is most easy because we all have basic knowledge and we know all the basic step. In this tutorial I will try to show about the JavaScript and why you should learn JavaScript and all the steps are shown in Bangla. So hope all the topic will be covered and will be helpful


Dynamically Add / Remove input fields in Laravel 5.8 using jQuery Ajax

Hi, If you want to use Laravel 5.8 framework for your web development then here we have come with one more advance level of web development topic like How to Add or remove HTML input fields dynamically using jQuery and how to save multiple records in Laravel 5.8 by using Ajax. So, here we have share one more topic on Laravel 5.8 and in this part you can learn how to add more fields using jQuery in Laravel 5.8 application, and for validate dynamically generated input fields we have also implement validation on dynamic generated fields also by using Laravel 5.8 Validator class. So, if you have use Laravel 5.8 for website development purpose and if you add feature like insert or save multiple records at the same time in Laravel 5.8 with Ajax, then this post will help you because in this post we hvae step by step covered How to add or remove textbox dynamically with jQuery and then after by using Ajax with Laravel 5.8 we have save multiple records in Mysql database.

If you are web developer and then in web development we need to sometimes required to insert or save multiple records in Mysql database at the same time. For generate multiple records we want to make multiple fields, for generate dynamic multiple fields here we have use jquery as front-end with Laravel 5.8 application. One of our previous post, we have already covered Add or remove dynamic input fields by using jQuery with PHP. But here we need to do Add or remove dynamically generated fields in jQuery in Laravel 5.8 application. Because this is very useful feature in web application by doing multiple operation in single click or insert or save multiple data into mysql database in single click on Laravel 5.8 application. Here you can also learn how to validate multiple input fields data with same data in Laravel 5.8 validator class. And here also you can learn how to insert or save or add multiple data in Laravel 5.8 application.


Step 1 - Download Laravel 


First we need to download Laravel 5.8 application. For this we have to go to command prompt and write following command. It will download Laravel 5.8 application in your define folder.


composer create-project laravel/laravel=ajax-crud --prefer-dist


Step 2 - Make Database connection


After install of Laravel  application, first we wanted to make Mysql database connection. For this you have to open .env file and in that file you have to define Mysql database configuration.


DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=testing
DB_USERNAME=root
DB_PASSWORD=


Step 3 - Create Table from Laravel 


After making of Mysql database, now we want to create table in Mysql database from Laravel  application. For this we need to go to command prompt and write following command


php artisan make:migration create_dynamic_field --create=dynamic_fields

This command will make migration file under database/migarations folder. In that file you have to define table column defination details, which you can find below.


<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateDynamicField extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('dynamic_fields', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('first_name');
            $table->string('last_name');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('dynamic_fields');
    }
}
Now we want to migrate above table defination from Laravel  application to Mysql database. For this we have to go to command prompt and write following command. This command will make dynamic_fields table under Mysql database.


php artisan migrate


Step 4 - Create Model


For create model under Laravel  application, we have to go to command prompt and write following command. This command will make DynamicField.php modal file under app folder.


php artisan make:model DynamicField -m


In app/DynamicField.php file we have to define table column name on which we need for database operation.


<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class DynamicField extends Model
{
    protected $fillable = [
        'first_name', 'last_name'
    ];
}

Step 5 - Create Controller


Controller is the heart of Laravel 5.8 application because it has handle all http request. First we want to make controller, so we have to go to command prompt and write following command. It will make DynamicFieldController.php file under app/Http/Controllers folder.


php artisan make:controller DynamicFieldController


In this controller file you can see below in which we have add two statement in the header. First is use App\DynamicField is for use DynamicField.php modal file use here and second Validator is for use Laravel  validator class for validate form data. In this controller we have make two method which you can see below.

index() - This is root method of this controller and it will load dynamic_field.blade.php file on web browser as an output.

insert() - This method has received ajax request for insert multiple data. Under this method first it has validate multiple form data of same name. So, here question aris how to validate multiple form data of same name in Laravel , so here we have add * sign with input field name, which has been used when we have validate multiple form data of the same name in Laravel  application. If suppose there is any form validation error has been occur then it will send validation error to ajax request in JSON format by using response() method. But suppose there is no any validation error occur then it will continue execute. After this there one more question aris how to insert multiple data in Laravel 5.8 application. So here we have store multiple data in local variable in array format and by using insert() method of modal class, it will insert or save multiple data in Laravel  application.
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\DynamicField;
use Validator;

class DynamicFieldController extends Controller
{
    function index()
    {
     return view('dynamic_field');
    }

    function insert(Request $request)
    {
     if($request->ajax())
     {
      $rules = array(
       'first_name.*'  => 'required',
       'last_name.*'  => 'required'
      );
      $error = Validator::make($request->all(), $rules);
      if($error->fails())
      {
       return response()->json([
        'error'  => $error->errors()->all()
       ]);
      }

      $first_name = $request->first_name;
      $last_name = $request->last_name;
      for($count = 0; $count < count($first_name); $count++)
      {
       $data = array(
        'first_name' => $first_name[$count],
        'last_name'  => $last_name[$count]
       );
       $insert_data[] = $data; 
      }

      DynamicField::insert($insert_data);
      return response()->json([
       'success'  => 'Data Added successfully.'
      ]);
     }
    }
}


Step 6 - Create View file


In this post we have create dynamic_field.blade.php file under resources/views folder. Under this file for generate dynamic input field we have use jQuery code. By using jQuery here it will dynamically generate html input fields. For submit form data here we have use Ajax request, by using ajax request it will send form data to controller method.


<html>
 <head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Laravel 5.8 - DataTables Server Side Processing using Ajax</title>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
 </head>
 <body>
  <div class="container">    
     <br />
     <h3 align="center">Dynamically Add / Remove input fields in Laravel 5.8 using Ajax jQuery</h3>
     <br />
   <div class="table-responsive">
                <form method="post" id="dynamic_form">
                 <span id="result"></span>
                 <table class="table table-bordered table-striped" id="user_table">
               <thead>
                <tr>
                    <th width="35%">First Name</th>
                    <th width="35%">Last Name</th>
                    <th width="30%">Action</th>
                </tr>
               </thead>
               <tbody>

               </tbody>
               <tfoot>
                <tr>
                                <td colspan="2" align="right">&nbsp;</td>
                                <td>
                  @csrf
                  <input type="submit" name="save" id="save" class="btn btn-primary" value="Save" />
                 </td>
                </tr>
               </tfoot>
           </table>
                </form>
   </div>
  </div>
 </body>
</html>

<script>
$(document).ready(function(){

 var count = 1;

 dynamic_field(count);

 function dynamic_field(number)
 {
  html = '<tr>';
        html += '<td><input type="text" name="first_name[]" class="form-control" /></td>';
        html += '<td><input type="text" name="last_name[]" class="form-control" /></td>';
        if(number > 1)
        {
            html += '<td><button type="button" name="remove" id="" class="btn btn-danger remove">Remove</button></td></tr>';
            $('tbody').append(html);
        }
        else
        {   
            html += '<td><button type="button" name="add" id="add" class="btn btn-success">Add</button></td></tr>';
            $('tbody').html(html);
        }
 }

 $(document).on('click', '#add', function(){
  count++;
  dynamic_field(count);
 });

 $(document).on('click', '.remove', function(){
  count--;
  $(this).closest("tr").remove();
 });

 $('#dynamic_form').on('submit', function(event){
        event.preventDefault();
        $.ajax({
            url:'{{ route("dynamic-field.insert") }}',
            method:'post',
            data:$(this).serialize(),
            dataType:'json',
            beforeSend:function(){
                $('#save').attr('disabled','disabled');
            },
            success:function(data)
            {
                if(data.error)
                {
                    var error_html = '';
                    for(var count = 0; count < data.error.length; count++)
                    {
                        error_html += '<p>'+data.error[count]+'</p>';
                    }
                    $('#result').html('<div class="alert alert-danger">'+error_html+'</div>');
                }
                else
                {
                    dynamic_field(1);
                    $('#result').html('<div class="alert alert-success">'+data.success+'</div>');
                }
                $('#save').attr('disabled', false);
            }
        })
 });

});
</script>


Step 7 - Set Route


In Laravel , we need to set route of all controller method which we have make. For this we have to open routes/web.php file and define following code for set route.


Route::get('dynamic-field', 'DynamicFieldController@index');

Route::post('dynamic-field/insert', 'DynamicFieldController@insert')->name('dynamic-field.insert');


Step 8 - Run Laravel  application


For run Laravel  application, we have to go to command prompt and write following command. This command will start Laravel  application and give you base url of your Laravel 5.8 application.


php artisan serve


For check output in browser you have to write following url in your browser tab.


http://127.0.0.1:8000/dynamic-field


Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More