Topic: jQuery

jQuery Regular Expression Real Time Form Validation Example 0

jQuery Regular Expression Real Time Form Validation Example

Today, We want to share with you jQuery Regular Expression Real Time Form Validation Example.In this post we will show you Jquery Validation with Regular Expressions, hear for password validation in jquery using regular expression we will give you demo and example for implement.In this post, we will learn about Real Time Form Validation using Regular Expressions in jQuery with an example.

jQuery Regular Expression Real Time Form Validation Example

There are the Following The simple About jQuery Regular Expression Real Time Form Validation Example Full Information With Example and source code.

As I will cover this Post with live Working example to develop jquery regular expression validation for special characters, so the some major files and Directory structures for this example is following below.

  • Email
  • URL
  • Username
  • Password
  • Strong Password

Email validation in jquery using regular expression

Email Checking using Regular Expression

Regular Expression with jQuery Validation

function checkLiveEmail(email)
{
    //jQuery Regular Expression Real Time Form Validation Example
    var liveStrongPtrn = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
    if(liveStrongPtrn.test(email)){
        return true;
    } else {
        return false;
    }
}

simple JavaScript regular expression for email validation
var liveStrongPtrn = /^[a-zA-Z0-9._-][email protected][a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;

Output – Results
admin.email.com = Error
[email protected] = Ok

URL validation in jquery using regular expression

URL Check using Regular Expression

http or https with URL

function checkUrl(url)
{
    //regular url expression for URL
    var liveStrongPtrn = /^(http|https)?:\/\/[a-zA-Z0-9-\.]+\.[a-z]{2,4}/;
 
    if(liveStrongPtrn.test(url)){
        return true;
    } else {
        return false;
    }
}

Output – Results
www.pakainfo.com = Error
https://pakainfo.com = Ok
https://www.pakainfo.com = Ok

Username validation in jquery using regular expression

Username Check using Regular Expression

accept 5-15 characters without any symbol or special characters

function checkLiveFirstname(username){
    var liveStrongPtrn = /^[a-z0-9_-]{5,15}$/;
    if(liveStrongPtrn.test(username)){
        return true;
    }else{
        return false;
    }
}

Output – Results
Result:
jaydeep.gondaliya = Error
jaydeep123 = Ok

password validation in jquery using regular expression

Password using Regular Expression

accept 6-18 lowercase, uppercase, characters, numbers

function checkPassword(password){
    var liveStrongPtrn = /^[a-zA-Z0-9_-]{6,18}$/;
    if(liveStrongPtrn.test(password)){
        return true;
    }else{
        return false;
    }
}

Output – Results
Result:
JdPaka = Ok
[email protected] = Error

Strong Password using Regular Expression

  • Must be at least 8 characters
  • At least 1 number, 1 lowercase, 1 uppercase letter
  • At least 1 special character from @#$%&

var liveStrongPtrn = /^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%&]).*$/;

Output – Results
Result:
[email protected] = Ok
[email protected] = Error

jQuery Regular Expression Real Time Form Validation Example – Outout

Regular-Expression-With-jQuery-Validation

Regular-Expression-With-jQuery-Validation

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about jQuery Regular Expression Real Time Form Validation Example.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Laravel 5.7 Jquery Ajax CRUD(insert update delete) 0

Laravel 5.7 Jquery Ajax CRUD(insert update delete)

Today, We want to share with you Laravel 5.7 Jquery Ajax CRUD(insert update delete).In this post we will show you Ajax CRUD example in Laravel 5.7 application, hear for Laravel 5.7 CRUD (Create Read Update Delete) Example from scratch we will give you demo and example for implement.In this post, we will learn about Laravel 5.7 CRUD Insert Update Delete using Jquery Ajax Tutorial example with source code with an example.

Laravel 5.7 Jquery Ajax CRUD(insert update delete)

There are the Following The simple About Laravel 5.7 Jquery Ajax CRUD(insert update delete) Full Information With Example and source code.

As I will cover this Post with live Working example to develop Laravel 5.7 CRUD (Create Read Update Delete) Tutorial Example, so the Simple Laravel 5.7 Jquery Ajax CRUD(insert update delete) tutorial example with source code for this example is following below.

Step : 1 Create articles Table Migration

Laravel Table Migration

php artisan make:migration create_Articles_table

After run this commandd open articles table mimgration file and add foollowing code. migration file create automatic in database/migrations/ this location.

database/migrations/

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

class CreateArticlesTable extends Migration
{
    public function up()
    {
        Schema::create('articles', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title');
            $table->text('article_content');
            $table->timestamps();
        });
    }

    public function down()
    {
        Schema::dropIfExists('articles');
    }
}

And then, Laravel CMD to run following command for run migration.

php artisan migrate

Step : 2 Create articles Table Model

After that, create Article table model usign by following command.

php artisan make:demo Article

And then, open app/Article.php file and past into it following source code.

app/Article.php

namespace App;
use Illuminate\Database\Eloquent\Model;
class Article extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */

    protected $fillable = [
        'title', 'article_content'
    ];
}

Step : 3 Create Laravel Routes

Next, create following routes in routes/web.php file.

routes/web.php

Route::get('web-articles', '[email protected]');
Route::resource('articles','ArticleController');

Step : 4 Make Laravel 5.7 Controller

And then, we need to create ArticleController.php file in app/Http/Controllers/ this path and put into it following source code.

app/Http/Controllers/ArticleController.php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Article;

class ArticleController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function webArticles()
    {
        return view('web-articles');
    }

    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $articles = Article::latest()->paginate(5);
        return response()->json($articles);
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        $Article = Article::create($request->all());
        return response()->json($Article);
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, $id)
    {
        $Article = Article::find($id)->update($request->all());
        return response()->json($Article);
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function destroy($id)
    {
        Article::find($id)->delete();
        return response()->json(['done']);
    }
}

Step : 5 Create Laravel Blade/View File

Now, we will make a web-articles.blade.php file in resources/views/ folder. and then simply put into it following source code. here We are using simple bootstrap layout but you can set accourding to you.

resources/views/web-articles.blade.php

<!DOCTYPE html>
<html>
<head>
  <title>Laravel 5.7 Ajax CRUD Example</title>
  <meta name="csrf-token" content="{{ csrf_token() }}">
  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.css">
</head>
<body>
  <div class="container">
    <div class="row">
        <div class="col-lg-12 margin-tb">
            <div class="pull-left">
                <h2>Laravel 5.7 Ajax CRUD Example Demo</h2>
            </div>
            <div class="pull-right">
        <button type="button" class="btn btn-success" data-toggle="modal" data-target="#create-data-component">Create New Article</button>
            </div>
        </div>
    </div>
    <table class="table table-bordered">
      <thead>
          <tr>
        <th>Title</th>
        <th>article_content</th>
        <th width="200px">Action</th>
          </tr>
      </thead>
      <tbody>
      </tbody>
    </table>

    <ul id="pagination" class="pagination-sm"></ul>

    <!-- Create data-component Modal -->
    @include('create')
    <!-- Edit data-component Modal -->
    @include('edit')
  </div>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twbs-pagination/1.3.1/jquery.twbsPagination.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.5/validator.min.js"></script>
  <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
  <link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet">

  <script type="text/javascript">
    var url = "<?php echo route('articles.index')?>";
  </script>
  <script src="/js/ArticlesAjax.js"></script> 
</body>
</html>

Step : 6 Create JS File

Next, we need to create ArticlesAjax.js JS file in public/js/ path and put into it following source code.

public/js/ArticlesAjax.js

var page = 1;
var active_page = 1;
var total_page = 0;
var ajax_data_call = 0;

manageData();

/* manage data list */
function manageData() {
    $.ajax({
        dataType: 'json',
        url: url,
        data: {page:page}
    }).done(function(data) {
      total_page = data.last_page;
      active_page = data.active_page;
      $('#pagination').twbsPagination({
          totalPages: total_page,
          visiblePages: active_page,
          onPageClick: function (event, pageL) {
            page = pageL;
                if(ajax_data_call != 0){
              fetchAllData();
                }
          }
      });
      handleDatalines(data.data);
        ajax_data_call = 1;
    });
}

$.ajaxSetup({
    headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    }
});

/* Get Page Data*/
function fetchAllData() {
  $.ajax({
      dataType: 'json',
      url: url,
      data: {page:page}
  }).done(function(data) {
    handleDatalines(data.data);
  });
}

/* Add new Article table row */
function handleDatalines(data) {
  var data_lines = '';
  $.each( data, function( key, value ) {
      data_lines = data_lines + '<tr>';
      data_lines = data_lines + '<td>'+value.title+'</td>';
      data_lines = data_lines + '<td>'+value.article_content+'</td>';
      data_lines = data_lines + '<td data-id="'+value.id+'">';
        data_lines = data_lines + '<button data-toggle="modal" data-target="#edit-data-component" class="btn btn-primary edit-data-component">Edit</button> ';
        data_lines = data_lines + '<button class="btn btn-danger remove-data-component">Delete</button>';
        data_lines = data_lines + '</td>';
      data_lines = data_lines + '</tr>';
  });
  $("tbody").html(data_lines);
}

/* Create new Article */
$(".crud-submit").click(function(e) {
    e.preventDefault();
    var actions_crud = $("#create-data-component").find("form").attr("action");
    var title = $("#create-data-component").find("input[name='title']").val();
    var article_content = $("#create-data-component").find("textarea[name='article_content']").val();
    $.ajax({
        dataType: 'json',
        type:'Article',
        url: actions_crud,
        data:{title:title, article_content:article_content}
    }).done(function(data){
        fetchAllData();
        $(".modal").modal('hide');
        toastr.success('Article Created Successfully.', 'Success Alert', {timeOut: 5000});
    });
});

/* Remove Article */
$("body").on("click",".remove-data-component",function() {
    var id = $(this).parent("td").data('id');
    var c_obj = $(this).parents("tr");
    $.ajax({
        dataType: 'json',
        type:'delete',
        url: url + '/' + id,
    }).done(function(data) {
        c_obj.remove();
        toastr.success('Article Deleted Successfully.', 'Success Alert', {timeOut: 5000});
        fetchAllData();
    });
});

/* Edit Article */
$("body").on("click",".edit-data-component",function() {
    var id = $(this).parent("td").data('id');
    var title = $(this).parent("td").prev("td").prev("td").text();
    var article_content = $(this).parent("td").prev("td").text();
    $("#edit-data-component").find("input[name='title']").val(title);
    $("#edit-data-component").find("textarea[name='article_content']").val(article_content);
    $("#edit-data-component").find("form").attr("action",url + '/' + id);
});

/* Updated new Article */
$(".crud-submit-edit").click(function(e) {
    e.preventDefault();
    var actions_crud = $("#edit-data-component").find("form").attr("action");
    var title = $("#edit-data-component").find("input[name='title']").val();
    var article_content = $("#edit-data-component").find("textarea[name='article_content']").val();
    $.ajax({
        dataType: 'json',
        type:'PUT',
        url: actions_crud,
        data:{title:title, article_content:article_content}
    }).done(function(data){
        fetchAllData();
        $(".modal").modal('hide');
        toastr.success('Article Updated Successfully.', 'Success Alert', {timeOut: 5000});
    });
}); 

Last I am ready to Laravel Project run our example Therefor run bellow command ro quick run:

Laravel 5.7 run our example

php artisan serve

Finnally Step We can open bellow simple URL on your Browsers run:

http://localhost:8000/web-articles

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Laravel 5.7 Jquery Ajax CRUD(insert update delete).
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

laravel ajax csrf tokens Example jQuery Ajax Call 0

laravel ajax csrf tokens Example - jQuery Ajax Call

Today, We want to share with you laravel ajax csrf tokens Example.In this post we will show you csrf token laravel form, hear for Laravel 5 csrf tokens in ajax calls we will give you demo and example for implement.In this post, we will learn about CSRF Protection with Ajax and Laravel with an example.

laravel ajax csrf tokens Example

There are the Following The simple About laravel ajax csrf tokens Example Full Information With Example and source code.

As I will cover this Post with live Working example to develop get csrf token in controller laravel, so the some major files and Directory structures for this example is following below.Laravel 5 csrf tokens in ajax calls

Pass the token in your Ajax headers

laravel ajax csrf, CSRF stands for simple meanning “cross site request forgery” as well as is a type of more some attack where as like a malicious website or any email, some instant message, as well as some program causes a web browser like a mozila, chrome to perform an unwanted some events action on a more website for which the get user is currently users authenticated.

$.ajaxSetup({ headers: { 'csrftoken' : '{{ csrf_token() }}' } });

In Laravel 5 version or any more Like Laravel 5.4, Laravel 5.5, Laravel 5.6, or Laravel 5.7, all laravel csrf token ajax requests must pass through server request the Middleware which will not allow any some json or any object POST requests without the correct(CSRF Protection) CSRF token.

CSRF (Cross Site Request Forgery)

Now, csrf token laravel ajax simple prevents the web site fetching requests from browser side means clients that it has not any types of the established a data connection with. IE a simple defination of the random post request from a any third party.

Example 1: laravel ajax post csrf

$.ajax({
  type: "POST",
  url: "/userinfoStatus",
  data: {   lastname: datalastname,
			firstresults: getfirstresults,
			bearing: 90,
			'_token': '{!! csrf_token() !!}'
		}
})

Example 2: laravel csrf token ajax

   
      <title>csrf token laravel ajax - Ajax Example</title>
      
      
      
      
      
         function getMessage() {
            $.ajax({
               type:'POST',
               url:'/userinfoStatus',
               data:'_token = ',
               success:function(data) {
                  $("#results").html(data.results);
               }
            });
         }
      
   
   
   
      <div id='results'>This message(laravel csrf token ajax) will be replaced using Ajax. 
         Click the button to Append the message.</div>
      'getMessage()']);
      ?>
   


Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about laravel ajax csrf tokens Example.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Toggle Switches Laravel, Ajax and jQuery example 0

Toggle Switches Laravel, Ajax and jQuery example

Today, We want to share with you Toggle Switches Laravel, Ajax and jQuery example.In this post we will show you Multiple JQuery Toggle Buttons with on off events in Laravel 5.7, hear for store value from on/off button in mysql database using Laravel ajax we will give you demo and example for implement.In this post, we will learn about JQuery/AJAX Toggle Switch POST to Laravel file without navigation with an example.

Toggle Switches Laravel, Ajax and jQuery example

There are the Following The simple About Toggle Switches Laravel, Ajax and jQuery example Full Information With Example and source code.

As I will cover this Post with live Working example to develop Create Radio Button Toggle Switch with Bootstrap and Laravel, so the Bootstrap Toggle switch with ajax update to mysql in Laravel 5.7 for this example is following below.

Laravel switchClass and toggleClass in jQuery

HTML Part for store value from on/off button in mysql database using Laravel ajax

<input type="checkbox" name="live_response" checked>
$("[name='live_response']").bootstrapSwitch('state');

JavaScript Source Code

$("[name='live_response']").bootstrapSwitch();
$(document).ready(function() {
    $("[name='live_response']").on('switchChange.bootstrapSwitch',function(){
        var mode_value = $(this).attr("value");
        var station = $(this).attr("id");
        $.ajax({
            url: 'statusUpdate',
            method: 'post',
            data: {id: mode_value, _token: $('input[name="_token"]').val(), reply_flag: mode_value, station: station},
            success: function(data){
                alert("Auto Canneded Response has been Turned On");
            },
            error: function(){}
        });
    });
});

Laravel Controller method

public function statusUpdate()
    {
        $data = Input::all();

        if(Request::ajax())
        {
            $station = Input::get('station');
            $live_response = AutoReply::where('station', $station)->all();
            $live_response->reply_flag = $data['reply_flag'];
            $live_response->update();
        }
    }

Example 2: Laravel Bootstrap Toggle switch

Laravel Bootstrap Toggle switch Update DB field using Ajax

Example 3: Laravel 5.7 Toggle switch

Laravel 5.7 Toggle switch Update DB field using Ajax

Example 4: Toggle Switch Inside Bootstrap Laravel

Laravel Toggle Switch Inside Bootstrap Ajax Example

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Toggle Switches Laravel, Ajax and jQuery example.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Laravel Bootstrap Toggle switch Update DB field using Ajax 0

Laravel Bootstrap Toggle switch Update DB field using Ajax

Today, We want to share with you Laravel Bootstrap Toggle switch Update DB field using Ajax.In this post we will show you Bootstrap Toggle switch Update Database field using Ajax, hear for Create Stylish Toggles Checkboxes & Use in Form with Laravel Ajax we will give you demo and example for implement.In this post, we will learn about bootstrap toggle switch with ajax update to mysql in Laravel 5.7 with an exampleLaravel 5.7 Toggle switch Update DB field using Ajax.

Laravel Bootstrap Toggle switch Update DB field using Ajax

There are the Following The simple About Laravel Bootstrap Toggle switch Update DB field using Ajax Full Information With Example and source code.

As I will cover this Post with live Working example to develop Bootstrap Toggle to Update Database in Laravel 5.7, so the some major files and Directory structures for this example is following below Laravel Toggle Switch Inside Bootstrap Ajax Example.

Step 1: Include CDN and HTML Code

laravel-toggle-switch-button

<script defer src="https://use.fontawesome.com/releases/v5.0.4/js/all.js"></script>

<h2>Manage data using switch/toggle button on html with Laravel</h2>
<button class="btn" onclick="save">
  @if ($saved == true)
    <i id="save-icon" class="fas fa-star"></i><span id="save">Saved!</span>
  @else
    <i id="save-icon" class="far fa-star"></i><span id="save">Save</span>
  @endif
</button>

Step 2: JavaScript Function

function save() {
    var saveEl = document.getElementById("save-icon");
    var iconType = saveEl.getAttribute("data-prefix");
}

Step 3: Ajax Http Call in jQuery

if ( iconType === 'fas' ) {
  $.ajax({
    url: "/unsave-product",
    cache: false,
    data: {
        slug: productSlug,
        userId: {{ $userId }}
    }
  })
  .done(function (response) {
      document.getElementById("save-icon").classList.add("far");
      document.getElementById("save").innerHTML="Save";
  })
  .fail(function () {
      console.log('failure');
  });
} else {
    $.ajax({
        url: "/save-product",
        cache: false,
        data: {
            slug: productSlug,
            userId: {{ $userId }}
        }
    })
        .done(function (response) {
            document.getElementById("save-icon").classList.add("fas");
            document.getElementById("save").innerHTML = "Saved!";
        })
        .fail(function () {
            console.log('failure');
        });
}

Step 4: Create A Laravel Controller

And Last to update query in Database to Save and unsave Product Details.

public function unsave(Request $request) {
    $product = product::where('slug', $request->input('slug'))->first();
    $savedProduct = savedProducts::where([
        ['user_id', $request->input('userId')],
        ['product_id', $product->id]
    ])->first();

    $savedProduct->delete();
}

public function save(Request $request) {
    $product = product::where('slug', $request->input('slug'))->first();

    $savedProduct = new savedProducts();
    $savedProduct->user_id = $request->input('userId');
    $savedProduct->product_id = $product->id;
    $savedProduct->save();
}

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Laravel Bootstrap Toggle switch Update DB field using Ajax.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

jQuery delay Effects with Animation Example 0

jQuery delay Effects with Animation Example

Today, We want to share with you jQuery delay Effects with Animation Example.In this post we will show you jQuery delay Animation Effects, hear for Delay jQuery animation by few seconds we will give you demo and example for implement.In this post, we will learn about Different time delay in image effects jquery with an example.

jQuery delay Effects with Animation Example

There are the Following The simple About jQuery delay Effects with Animation Example Full Information With Example and source code.

As I will cover this Post with live Working example to develop Apply multiple animation effects, so the jQuery setTimeout: 2 demos including JavaScript/jQuery this example is following below.

jQuery delay Animation Effects

jQuery delay() Syntax:

$(selector).delay (speed, queueName)   

Full Example of the : Apply multiple animation effects

<!DOCTYPE html>
<html>
<head>
    <title>Delay jQuery animation by few seconds - Examples</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $("#card1").delay("slow").fadeIn();
    $("#card2").delay("fast").fadeIn();
    $("#card3").delay(800).fadeIn();
    $("#card4").delay(2500).fadeIn();
    $("#card5").delay(5000).fadeIn();
  });
});
</script>
</head>
<body>

<p>This example Delay jQuery animation by few seconds.</p>
<button>Click to Apply multiple animation effects</button>
<br><br>

<div id="card1" style="width:85px;height:85px;display:none;background-color:black;"></div><br>
<div id="card2" style="width:85px;height:85px;display:none;background-color:green;"></div><br>
<div id="card3" style="width:85px;height:85px;display:none;background-color:blue;"></div><br>
<div id="card4" style="width:85px;height:85px;display:none;background-color:red;"></div><br>
<div id="card5" style="width:85px;height:85px;display:none;background-color:purple;"></div><br>

</body>
</html>

How to wait 5 seconds with jQuery

Simple Call a Function After Some Time in jQuery

setTimeout(
  function() 
  {
    alert("");
  }, 5000);

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about jQuery delay Effects with Animation Example.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Laravel 5.7 Toggle switch Update DB field using Ajax 0

Laravel 5.7 Toggle switch Update DB field using Ajax

Today, We want to share with you Laravel 5.7 Toggle switch Update DB field using Ajax.In this post we will show you Bootstrap Toggle Switch Inside Laravel Examples, hear for Use Ajax Checkbox Toggles To Update The Database we will give you demo and example for implement.In this post, we will learn about Bootstrap Toggle switch Update DB field using Ajax with Laravel 5.7 with an example.

Laravel 5.7 Toggle switch Update DB field using Ajax

There are the Following The simple About Laravel 5.7 Toggle switch Update DB field using Ajax Full Information With Example and source code.

As I will cover this Post with live Working example to develop php Laravel toggle switch with ajax update, so the Simple Laravel Toggle Switch Plugin With jQuery And Bootstrap for this example is following below.Demo – Laravel 5.7 toggle switch

Step 1: Laravel Create a Controller

Laravel – Toggle value in database with checkbox and ajax Example

public function updateProductStatus(Request $request)
{

    $member = User::findOrFail($request->member_id);
    if($member->active == 1){
        $member->active = 0;
    } else {
        $member->active = 1;
    }
    return response()->json([
      'data' => [
        'success' => $member->save(),
      ]
    ]);
}

Step 2: JavaScript Source Code

$(document).ready(function(){
  $("input:checkbox").change(function() {
    var member_id = $(this).closest('tr').attr('id');

    $.ajax({
            type:'POST',
            url:'/updateProductStatus',
            headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}' },
            data: { "member_id" : member_id },
            success: function(data){
              if(data.data.success){
                //do something logic
              }
            }
        });
    });
});    

Related Keywords: laravel toggle button, Laravel 5.7 toggle switch, Laravel 5.7 toggle switch with text, Laravel 5.7 toggle switch, html toggle button, ajax toggle button php, Laravel 5.7 switch options, Laravel 5.7 toggle set value

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Laravel 5.7 Toggle switch Update DB field using Ajax.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Laravel Toggle Switch Inside Bootstrap Ajax Example 0

Laravel Toggle Switch Inside Bootstrap Ajax Example from scratch

Today, We want to share with you Laravel Toggle Switch Inside Bootstrap Ajax Example from scratch.In this post we will show you Toggle Switches using Laravel Ajax and jQuery, hear for Bootstrap switch toggle in Laravel 5.7 example from scratch we will give you demo and example for implement.In this post, we will learn about Laravel Manage data using switch/toggle button on html with an example.

Laravel Toggle Switch Inside Bootstrap Ajax Example from scratch

There are the Following The simple About Laravel Toggle Switch Inside Bootstrap Ajax Example from scratch Full Information With Example and source code.

As I will cover this Post with live Working example to develop How to Create a Toggle Switch using Laravel 5.7, so the Laravel Flip Toggle Switch for this example is following below.

Step 1: Laravel Blade View Files

<div class="material-switch">
  <input id="switch-primary-{{$comments->id}}" value="{{$products->id}}" name="toggle" type="checkbox" {{ $products->product_status === 1 ? 'checked' : '' }}>

  <label for="switch-primary-{{$products->id}}" class="btn-success"></label>
  </div>
 

Step 2: JavaScript Source Code

 
 $('input[name=toggle]').change(function(){
    var mode= $(this).prop('checked');
    var id=$( this ).val();

        var productObj = {};
        productObj.mode = $(this).prop('checked');
        productObj.comment_id = $( this ).val();
        productObj._token = '{{csrf_token()}}';

    $.ajax({
      type:"POST",
      dataType:"JSON",
      url:"{{ url('/updateProductStatus') }}",
      data:productObj,
      success:function(data)
      {
      }
    });
  });  
 

Step 3: Laravel Define a Route

route/web.php

Route::post ( '/updateProductStatus', '[email protected]' ); 

Step 4: Laravel Create a Controller

 
app/Http/Controllers/ProductsController.php 
  
 public function updateProductStatus(Request $request)
{
  //dd($request->mode);
  if($request->mode == "true")
  {
    $affected_products = DB::table('products')->where('id', '=', $request->comment_id)->update(array('product_status' => 1));
  }
  else
  {
     $affected_products = DB::table('products')->where('id', '=', $request->comment_id)->update(array('product_status' => 0));
  }
}

Step 5: Custom Add Css using material

Here Simple Toggle Button material CSS DemoCreate Stylish Toggles Checkboxes & Use in Form with Laravel jQuery Ajax

<style type="text/css">
.material-switch > input[type="checkbox"] {
  display: none;
}

.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  top: 2px;
  width: 40px;
}

.material-switch > label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: '';
  height: 16px;
  margin-top: -8px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.material-switch > label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: '';
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: 20px;
}

</style>

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Laravel Toggle Switch Inside Bootstrap Ajax Example from scratch.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Ajax Image Upload without Refreshing Page using Jquery 0

Ajax Image Upload without Refreshing Page using Jquery

Today, We want to share with you Ajax Image Upload without Refreshing Page using Jquery.In this post we will show you Upload an image without refreshing page in php, hear for PHP Image upload without refreshing page using jquery example we will give you demo and example for implement.In this post, we will learn about Image Upload Without Refreshing Page Using JQUERY, PHP & MYSQLi with an example.

Ajax Image Upload without Refreshing Page using Jquery

There are the Following The simple About Ajax Image Upload without Refreshing Page using Jquery Full Information With Example and source code.

As I will cover this Post with live Working example to develop Image Upload without Page Refresh with PHP and jQuery with Demo, so the PHP Image upload without refreshing page using jquery example is following below.

php image upload no refresh script

index.php

In this example Full source code for Image Upload Without Refreshing Page Using JQUERY, PHP & MYSQLi

<html lang="en">
<head>
<title>PHP - Image Uploading with Form JavaScript Example - pakainfo.com</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" >

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> 
<script src="http://malsup.github.com/jquery.form.js"></script> 
<script> 
        $(document).ready(function() { 
            $(".upload-image").click(function(){
            	$(".form-horizontal").ajaxForm({target: '.img_previews'}).submit();
            });
        }); 
</script>
</head>
<body>
	<nav class="pakainfo navbar navbar-default">
		<div class="pakainfo container-fluid">
		<div class="pakainfo navbar-header">
		<a class="pakainfo navbar-brand" href="#">Free Source code For PHP - Image Uploading with Form JavaScript Example</a>
		</div>
		</div>
	</nav>
	<div class="pakainfo container">
	<form action="imageuploadpro.php" enctype="multipart/form-data" class="form-horizontal" method="post">
		<div class="img_previews"></div>
		<input type="file" name="image" class="pakainfo form-control" style="width:50%" />
		<button class="btn btn-success upload-image">Upload</button>
	</form>
	</div>
</body>
</html>

And then, now make a simple another PHP file for fetch php post http request as well as files or image uploading source code, Therefor make a PHP imageuploadpro.php file and put the simple bellow source code:

imageuploadpro.php

here server side Source Code for image upload without refreshing page using jquery Example

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root(username)');
define('DB_PASSWORD', 'My_password');
define('DB_DATABASE', 'pakainfo_database');
$db = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);

if(isset($_POST) && !empty($_FILES['image']['name'])){
	
	$name = $_FILES['image']['name'];
	list($txt, $ext) = explode(".", $name);
	$uploaded_img_name = time().".".$ext;
	$tmp = $_FILES['image']['tmp_name'];


	if(move_uploaded_file($tmp, 'upload/'.$uploaded_img_name)){
		mysqli_query($db,"INSERT INTO items (title)
		VALUES ('".$uploaded_img_name."')");
		echo "<img width='300px' src='upload/".$uploaded_img_name."' class='img_previews'>";
	}else{
		echo "Sorry !!, Your images uploading failed";
	}

}
?>

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Ajax Image Upload without Refreshing Page using Jquery.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Material Design Add icons in Select options 0

Material Design Add icons in Select options

Today, We want to share with you Material Design Add icons in Select options.In this post we will show you Material Design icon in select option, hear for Material Design icons as options of a select field we will give you demo and example for implement.In this post, we will learn about How to add Material Design icons in html select options with an example.

Material Design Add icons in Select options

There are the Following The simple About Material Design Add icons in Select options Full Information With Example and source code.

As I will cover this Post with live Working example to develop Use material icons in Select option, so the add icons in html select options for this example is following below.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Material Design icons as options of a select field</title>
<script>
</script>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://wrappixel.com/demos/free-admin-templates/matrix-admin-bt4/assets/libs/select2/dist/css/select2.min.css" />
<style>
.material-icons {
font-size: 16px;
}
</style>
</head>
<body>
<div class="row">
<div class="col-md-3 col-md-offset-4">
<h3>Material Design Iconic Fonts List:</h3>
<div class="form-group">
<label>Material Design  Icons:</label>
<div class="select2-wrapper">
<select class="input icons_select2 form-control">
<option value="3d_rotation">3d_rotation</option>
<option value="ac_unit">ac_unit</option>
<option value="access_alarm">access_alarm </option>
<option value="access_alarms">access_alarms </option>
<option value="access_time  ">access_time </option>
<option value="accessibility">accessibility</option>
<option value="accessible  ">accessible </option>
<option value="account_balance">account_balance</option>
<option value="account_balance_wallet">account_balance_wallet</option>
<option value="account_box  ">account_box </option>
<option value="account_circle ">account_circle </option>
<option value="adb">adb</option>
<option value="add">add</option>
<option value="add_a_photo">add_a_photo</option>
<option value="add_alarm">add_alarm</option>
<option value="add_alert">add_alert</option>
<option value="add_box">add_box</option>
<option value="add_circle">add_circle</option>
<option value="add_circle_outline ">add_circle_outline</option>
<option value="add_location">add_location </option>
<option value="add_shopping_cart">add_shopping_cart</option>
<option value="add_to_photos ">add_to_photos</option>
<option value="add_to_queue">add_to_queue</option>
<option value="adjust">adjust</option>
<option value="airline_seat_flat ">airline_seat_flat </option>
<option value="airline_seat_flat_angled"> airline_seat_flat_angled</option>
<option value="airline_seat_individual_suite"> airline_seat_individual_suite</option>
<option value="airline_seat_legroom_extra">airline_seat_legroom_extra</option>
<option value="airline_seat_legroom_normal">airline_seat_legroom_normal </option>
<option value="airline_seat_legroom_reduced"> airline_seat_legroom_reduced</option>
<option value="airline_seat_recline_extra ">airline_seat_recline_extra</option>
<option value="airline_seat_recline_normal ">airline_seat_recline_normal </option>
<option value="airplanemode_active">airplanemode_active</option>
<option value="airplanemode_inactive"> airplanemode_inactive</option>
<option value="airplay">airplay</option>
<option value="airport_shuttle">airport_shuttle</option>
<option value="alarm">alarm</option>
<option value="alarm_add">alarm_add</option>
<option value="alarm_off">alarm_off</option>
<option value="alarm_on">alarm_on</option>
<option value="album "> album</option>
<option value="all_inclusive">all_inclusive </option>
<option value="all_out">all_out</option>
<option value="android">android</option>
<option value="announcement ">announcement </option>
<option value="apps">apps</option>
<option value="archive">archive</option>
<option value="arrow_back ">arrow_back</option>
<option value="arrow_downward">arrow_downward</option>
<option value="arrow_drop_down">arrow_drop_down </option>
<option value="arrow_drop_down_circle">arrow_drop_down_circle</option>
<option value="arrow_drop_up">arrow_drop_up</option>
<option value="arrow_forward">arrow_forward</option>
<option value="arrow_upward"> arrow_upward</option>
<option value="art_track">art_track </option>
<option value="aspect_ratio">aspect_ratio</option>
<option value="assessment">assessment </option>
<option value="assignment ">assignment </option>
<option value="assignment_ind ">assignment_ind</option>
<option value="assignment_late">assignment_late</option>
<option value="assignment_return">assignment_return </option>
<option value="assignment_returned">assignment_returned</option>
<option value="assignment_turned_in "> assignment_turned_in</option>
<option value="assistant">assistant</option>
<option value="assistant_photo">assistant_photo </option>
<option value="attach_file">attach_file</option>
<option value="attach_money"> attach_money</option>
<option value="attachment">attachment</option>
<option value="audiotrack">audiotrack</option>
<option value="autorenew">autorenew</option>
<option value="av_timer">av_timer</option>
<option value="backspace">backspace </option>
<option value="backup"> backup</option>
<option value="battery_alert">battery_alert </option>
<option value="battery_charging_full">battery_charging_full</option>
<option value="battery_full"> battery_full</option>
<option value="battery_std">battery_std</option>
<option value="battery_unknown">battery_unknown</option>
<option value="beach_access">beach_access </option>
<option value="beenhere ">beenhere </option>
<option value="block"> block</option>
<option value="bluetooth">bluetooth</option>
<option value="bluetooth_audio">bluetooth_audio </option>
<option value="bluetooth_connected">bluetooth_connected</option>
<option value="bluetooth_disabled"> bluetooth_disabled</option>
<option value="bluetooth_searching ">bluetooth_searching</option>
<option value="blur_circular">blur_circular </option>
<option value="blur_linear"> blur_linear</option>
<option value="blur_off">blur_off</option>
<option value="blur_on">blur_on</option>
<option value="book">book</option>
<option value="bookmark "> bookmark</option>
<option value="bookmark_border "> bookmark_border</option>
<option value="border_all ">border_all</option>
<option value="border_bottom">border_bottom</option>
<option value="border_clear">border_clear </option>
<option value="border_color">border_color </option>
<option value="border_horizontal ">border_horizontal </option>
<option value="border_inner">border_inner </option>
<option value="border_left">border_left </option>
<option value="border_outer"> border_outer</option>
<option value="border_right">border_right </option>
<option value="border_style">border_style</option>
<option value="border_top">border_top </option>
<option value="border_vertical">border_vertical</option>
<option value="branding_watermark">branding_watermark</option>
<option value="brightness_1"> brightness_1</option>
<option value="brightness_2"> brightness_2</option>
<option value="brightness_3"> brightness_3</option>
<option value="brightness_4"> brightness_4</option>
<option value="brightness_5"> brightness_5</option>
<option value="brightness_6"> brightness_6</option>
<option value="brightness_7"> brightness_7</option>
<option value="brightness_auto">brightness_auto </option>
<option value="brightness_high ">brightness_high</option>
<option value="brightness_low">brightness_low</option>
<option value="brightness_medium ">brightness_medium </option>
<option value="broken_image">broken_image </option>
<option value="brush">brush</option>
<option value="bubble_chart">bubble_chart </option>
<option value="bug_report">bug_report </option>
<option value="build"> build</option>
<option value="burst_mode ">burst_mode</option>
<option value="business">business </option>
<option value="business_center">business_center </option>
<option value="cached">cached</option>
<option value="cake">cake</option>
<option value="call ">call</option>
<option value="call_end">call_end </option>
<option value="call_made">call_made </option>
<option value="call_merge">call_merge </option>
<option value="call_missed ">call_missed</option>
<option value="call_missed_outgoing">call_missed_outgoing</option>
<option value="call_received ">call_received </option>
<option value="call_split">call_split</option>
<option value="call_to_action">call_to_action </option>
<option value="camera ">camera </option>
<option value="camera_alt">camera_alt</option>
<option value="camera_enhance "> camera_enhance</option>
<option value="camera_front ">camera_front </option>
<option value="camera_rear"> camera_rear</option>
<option value="camera_roll ">camera_roll</option>
<option value="cancel">cancel</option>
<option value="card_giftcard">card_giftcard</option>
<option value="card_membership ">card_membership</option>
<option value="card_travel">card_travel</option>
<option value="casino">casino</option>
<option value="cast">cast </option>
<option value="cast_connected">cast_connected </option>
<option value="center_focus_strong"> center_focus_strong</option>
<option value="center_focus_weak ">center_focus_weak</option>
<option value="change_history ">change_history </option>
<option value="chat">chat </option>
<option value="chat_bubble">chat_bubble </option>
<option value="chat_bubble_outline">chat_bubble_outline </option>
<option value="check ">check</option>
<option value="check_box">check_box </option>
<option value="check_box_outline_blank">check_box_outline_blank </option>
<option value="check_circle">check_circle</option>
<option value="chevron_left">chevron_left</option>
<option value="chevron_right ">chevron_right</option>
<option value="child_care"> child_care</option>
<option value="child_friendly">child_friendly</option>
<option value="chrome_reader_mode ">chrome_reader_mode</option>
<option value="class">class</option>
<option value="clear">clear </option>
<option value="clear_all"> clear_all</option>
<option value="close">close</option>
<option value="closed_caption">closed_caption</option>
<option value="cloud">cloud</option>
<option value="cloud_circle ">cloud_circle</option>
<option value="cloud_done ">cloud_done </option>
<option value="cloud_download">cloud_download </option>
<option value="cloud_off">cloud_off</option>
<option value="cloud_queue">cloud_queue </option>
<option value="cloud_upload">cloud_upload</option>
<option value="code">code </option>
<option value="collections">collections</option>
<option value="collections_bookmark">collections_bookmark</option>
<option value="color_lens"> color_lens</option>
<option value="colorize "> colorize</option>
<option value="comment"> comment</option>
<option value="compare">compare</option>
<option value="compare_arrows">compare_arrows</option>
<option value="computer">computer</option>
<option value="confirmation_number">confirmation_number</option>
<option value="contact_mail">contact_mail </option>
<option value="contact_phone"> contact_phone</option>
<option value="contacts">contacts</option>
<option value="content_copy "> content_copy</option>
<option value="content_cut ">content_cut</option>
<option value="content_paste">content_paste</option>
<option value="control_point"> control_point</option>
<option value="control_point_duplicate">control_point_duplicate </option>
<option value="copyright">copyright</option>
<option value="create"> create</option>
<option value="create_new_folder"> create_new_folder</option>
<option value="credit_card">credit_card</option>
<option value="crop">crop </option>
<option value="crop_16_9">crop_16_9 </option>
<option value="crop_3_2 ">crop_3_2 </option>
<option value="crop_5_4 ">crop_5_4 </option>
<option value="crop_7_5 ">crop_7_5 </option>
<option value="crop_din">crop_din</option>
<option value="crop_free "> crop_free</option>
<option value="crop_landscape">crop_landscape </option>
<option value="crop_original"> crop_original</option>
<option value="crop_portrait">crop_portrait </option>
<option value="crop_rotate "> crop_rotate</option>
<option value="crop_square">crop_square</option>
<option value="dashboard">dashboard</option>
<option value="data_usage ">data_usage</option>
<option value="date_range ">date_range </option>
<option value="dehaze">dehaze</option>
<option value="delete ">delete</option>
<option value="delete_forever">delete_forever </option>
<option value="delete_sweep">delete_sweep </option>
<option value="description"> description</option>
<option value="desktop_mac ">desktop_mac </option>
<option value="desktop_windows ">desktop_windows</option>
<option value="details">details</option>
<option value="developer_board">developer_board</option>
<option value="developer_mode">developer_mode </option>
<option value="device_hub ">device_hub </option>
<option value="devices ">devices</option>
<option value="devices_other">devices_other</option>
<option value="dialer_sip "> dialer_sip</option>
<option value="dialpad"> dialpad</option>
<option value="directions ">directions</option>
<option value="directions_bike">directions_bike</option>
<option value="directions_boat "> directions_boat</option>
<option value="directions_bus">directions_bus </option>
<option value="directions_car">directions_car</option>
<option value="directions_railway">directions_railway</option>
<option value="directions_run"> directions_run</option>
<option value="directions_subway"> directions_subway</option>
<option value="directions_transit ">directions_transit </option>
<option value="directions_walk "> directions_walk</option>
<option value="disc_full ">disc_full</option>
<option value="dns ">dns</option>
<option value="do_not_disturb"> do_not_disturb</option>
<option value="do_not_disturb_alt">do_not_disturb_alt </option>
<option value="do_not_disturb_off"> do_not_disturb_off</option>
<option value="do_not_disturb_on">do_not_disturb_on </option>
<option value="dock">dock</option>
<option value="domain">domain</option>
<option value="done">done </option>
<option value="done_all"> done_all</option>
<option value="donut_large ">donut_large</option>
<option value="donut_small ">donut_small</option>
<option value="drafts ">drafts </option>
<option value="drag_handle"> drag_handle</option>
<option value="drive_eta ">drive_eta </option>
<option value="dvr ">dvr </option>
<option value="edit">edit </option>
<option value="edit_location">edit_location </option>
<option value="eject">eject</option>
<option value="email">email</option>
<option value="enhanced_encryption">enhanced_encryption</option>
<option value="equalizer">equalizer </option>
<option value="error">error</option>
<option value="error_outline">error_outline </option>
<option value="euro_symbol">euro_symbol </option>
<option value="ev_station">ev_station</option>
<option value="event ">event </option>
<option value="event_available ">event_available</option>
<option value="event_busy "> event_busy</option>
<option value="event_note">event_note</option>
<option value="event_seat">event_seat</option>
<option value="exit_to_app ">exit_to_app</option>
<option value="expand_less">expand_less</option>
<option value="expand_more "> expand_more</option>
<option value="explicit">explicit </option>
<option value="explore">explore</option>
<option value="exposure">exposure</option>
<option value="exposure_neg_1"> exposure_neg_1</option>
<option value="exposure_neg_2"> exposure_neg_2</option>
<option value="exposure_plus_1">exposure_plus_1</option>
<option value="exposure_plus_2">exposure_plus_2</option>
<option value="exposure_zero"> exposure_zero</option>
<option value="extension "> extension</option>
<option value="face">face </option>
<option value="fast_forward">fast_forward</option>
<option value="fast_rewind "> fast_rewind</option>
<option value="favorite ">favorite </option>
<option value="favorite_border ">favorite_border </option>
<option value="featured_play_list ">featured_play_list</option>
<option value="featured_video">featured_video</option>
<option value="feedback">feedback</option>
<option value="fiber_dvr">fiber_dvr </option>
<option value="fiber_manual_record">fiber_manual_record </option>
<option value="fiber_new ">fiber_new</option>
<option value="fiber_pin">fiber_pin</option>
<option value="fiber_smart_record">fiber_smart_record</option>
<option value="file_download ">file_download</option>
<option value="file_upload">file_upload </option>
<option value="filter">filter </option>
<option value="filter_1">filter_1 </option>
<option value="filter_2">filter_2 </option>
<option value="filter_3">filter_3 </option>
<option value="filter_4">filter_4 </option>
<option value="filter_5">filter_5 </option>
<option value="filter_6">filter_6 </option>
<option value="filter_7">filter_7 </option>
<option value="filter_8">filter_8 </option>
<option value="filter_9">filter_9 </option>
<option value="filter_9_plus">filter_9_plus </option>
<option value="filter_b_and_w">filter_b_and_w </option>
<option value="filter_center_focus"> filter_center_focus</option>
<option value="filter_drama ">filter_drama</option>
<option value="filter_frames">filter_frames</option>
<option value="filter_hdr">filter_hdr</option>
<option value="filter_list"> filter_list</option>
<option value="filter_none">filter_none</option>
<option value="filter_tilt_shift ">filter_tilt_shift </option>
<option value="filter_vintage"> filter_vintage</option>
<option value="find_in_page">find_in_page </option>
<option value="find_replace"> find_replace</option>
<option value="fingerprint ">fingerprint</option>
<option value="first_page ">first_page</option>
<option value="fitness_center">fitness_center</option>
<option value="flag ">flag</option>
<option value="flare">flare </option>
<option value="flash_auto">flash_auto</option>
<option value="flash_off">flash_off</option>
<option value="flash_on">flash_on</option>
<option value="flight">flight</option>
<option value="flight_land ">flight_land</option>
<option value="flight_takeoff">flight_takeoff </option>
<option value="flip">flip</option>
<option value="flip_to_back">flip_to_back </option>
<option value="flip_to_front ">flip_to_front</option>
<option value="folder ">folder </option>
<option value="folder_open ">folder_open</option>
<option value="folder_shared ">folder_shared</option>
<option value="folder_special">folder_special </option>
<option value="font_download">font_download</option>
<option value="format_align_center">format_align_center </option>
<option value="format_align_justify "> format_align_justify</option>
<option value="format_align_left">format_align_left </option>
<option value="format_align_right">format_align_right </option>
<option value="format_bold ">format_bold</option>
<option value="format_clear">format_clear</option>
<option value="format_color_fill">format_color_fill </option>
<option value="format_color_reset">format_color_reset</option>
<option value="format_color_text ">format_color_text</option>
<option value="format_indent_decrease">format_indent_decrease </option>
<option value="format_indent_increase ">format_indent_increase </option>
<option value="format_italic"> format_italic</option>
<option value="format_line_spacing">format_line_spacing</option>
<option value="format_list_bulleted "> format_list_bulleted</option>
<option value="format_list_numbered">format_list_numbered</option>
<option value="format_paint">format_paint</option>
<option value="format_quote">format_quote</option>
<option value="format_shapes">format_shapes</option>
<option value="format_size "> format_size</option>
<option value="format_strikethrough">format_strikethrough </option>
<option value="format_textdirection_l_to_r">format_textdirection_l_to_r </option>
<option value="format_textdirection_r_to_l">format_textdirection_r_to_l </option>
<option value="format_underlined">format_underlined </option>
<option value="forum ">forum </option>
<option value="forward ">forward </option>
<option value="forward_10 ">forward_10 </option>
<option value="forward_30 ">forward_30 </option>
<option value="forward_5">forward_5 </option>
<option value="free_breakfast">free_breakfast </option>
<option value="fullscreen ">fullscreen </option>
<option value="fullscreen_exit">fullscreen_exit</option>
<option value="functions"> functions</option>
<option value="g_translate">g_translate</option>
<option value="gamepad">gamepad</option>
<option value="games">games</option>
<option value="gavel">gavel</option>
<option value="gesture ">gesture </option>
<option value="get_app ">get_app</option>
<option value="gif">gif </option>
<option value="golf_course ">golf_course</option>
<option value="gps_fixed ">gps_fixed </option>
<option value="gps_not_fixed">gps_not_fixed </option>
<option value="gps_off">gps_off</option>
<option value="grade ">grade </option>
<option value="gradient ">gradient</option>
<option value="grain">grain </option>
<option value="graphic_eq">graphic_eq</option>
<option value="grid_off ">grid_off </option>
<option value="grid_on">grid_on</option>
<option value="group ">group </option>
<option value="group_add">group_add</option>
<option value="group_work "> group_work</option>
<option value="hd">hd </option>
<option value="hdr_off">hdr_off </option>
<option value="hdr_on">hdr_on </option>
<option value="hdr_strong">hdr_strong</option>
<option value="hdr_weak "> hdr_weak</option>
<option value="headset ">headset</option>
<option value="headset_mic">headset_mic </option>
<option value="healing"> healing</option>
<option value="hearing">hearing</option>
<option value="help">help</option>
<option value="help_outline ">help_outline</option>
<option value="high_quality ">high_quality</option>
<option value="highlight ">highlight</option>
<option value="highlight_off ">highlight_off</option>
<option value="history">history</option>
<option value="home">home</option>
<option value="hot_tub">hot_tub</option>
<option value="hotel">hotel</option>
<option value="hourglass_empty">hourglass_empty</option>
<option value="hourglass_full ">hourglass_full</option>
<option value="http">http </option>
<option value="https">https</option>
<option value="image ">image</option>
<option value="image_aspect_ratio">image_aspect_ratio </option>
<option value="import_contacts">import_contacts </option>
<option value="import_export ">import_export</option>
<option value="important_devices">important_devices</option>
<option value="inbox">inbox</option>
<option value="indeterminate_check_box">indeterminate_check_box </option>
<option value="info">info </option>
<option value="info_outline ">info_outline </option>
<option value="input">input</option>
<option value="insert_chart ">insert_chart</option>
<option value="insert_comment">insert_comment </option>
<option value="insert_drive_file">insert_drive_file </option>
<option value="insert_emoticon">insert_emoticon </option>
<option value="insert_invitation">insert_invitation </option>
<option value="insert_link">insert_link </option>
<option value="insert_photo">insert_photo</option>
<option value="invert_colors">invert_colors</option>
<option value="invert_colors_off">invert_colors_off</option>
<option value="iso ">iso </option>
<option value="keyboard">keyboard</option>
<option value="keyboard_arrow_down">keyboard_arrow_down</option>
<option value="keyboard_arrow_left">keyboard_arrow_left </option>
<option value="keyboard_arrow_right ">keyboard_arrow_right </option>
<option value="keyboard_arrow_up">keyboard_arrow_up </option>
<option value="keyboard_backspace">keyboard_backspace</option>
<option value="keyboard_capslock "> keyboard_capslock</option>
<option value="keyboard_hide">keyboard_hide </option>
<option value="keyboard_return">keyboard_return</option>
<option value="keyboard_tab ">keyboard_tab</option>
<option value="keyboard_voice">keyboard_voice </option>
<option value="kitchen"> kitchen</option>
<option value="label">label</option>
<option value="label_outline">label_outline</option>
<option value="landscape">landscape </option>
<option value="language"> language</option>
<option value="laptop ">laptop</option>
<option value="laptop_chromebook ">laptop_chromebook</option>
<option value="laptop_mac ">laptop_mac </option>
<option value="laptop_windows">laptop_windows </option>
<option value="last_page ">last_page</option>
<option value="launch"> launch</option>
<option value="layers ">layers</option>
<option value="layers_clear">layers_clear</option>
<option value="leak_add"> leak_add</option>
<option value="leak_remove"> leak_remove</option>
<option value="lens">lens</option>
<option value="library_add">library_add</option>
<option value="library_books ">library_books </option>
<option value="library_music">library_music</option>
<option value="lightbulb_outline ">lightbulb_outline</option>
<option value="line_style ">line_style </option>
<option value="line_weight">line_weight</option>
<option value="linear_scale">linear_scale </option>
<option value="link "> link</option>
<option value="linked_camera">linked_camera</option>
<option value="list">list</option>
<option value="live_help">live_help </option>
<option value="live_tv">live_tv</option>
<option value="local_activity">local_activity</option>
<option value="local_airport">local_airport</option>
<option value="local_atm ">local_atm </option>
<option value="local_bar">local_bar</option>
<option value="local_cafe"> local_cafe</option>
<option value="local_car_wash ">local_car_wash</option>
<option value="local_convenience_store"> local_convenience_store</option>
<option value="local_dining ">local_dining</option>
<option value="local_drink">local_drink</option>
<option value="local_florist ">local_florist </option>
<option value="local_gas_station ">local_gas_station</option>
<option value="local_grocery_store"> local_grocery_store</option>
<option value="local_hospital ">local_hospital</option>
<option value="local_hotel">local_hotel </option>
<option value="local_laundry_service ">local_laundry_service </option>
<option value="local_library">local_library </option>
<option value="local_mall ">local_mall</option>
<option value="local_movies">local_movies</option>
<option value="local_offer">local_offer</option>
<option value="local_parking">local_parking</option>
<option value="local_pharmacy ">local_pharmacy</option>
<option value="local_phone">local_phone </option>
<option value="local_pizza">local_pizza </option>
<option value="local_play ">local_play</option>
<option value="local_post_office">local_post_office</option>
<option value="local_printshop">local_printshop</option>
<option value="local_see "> local_see</option>
<option value="local_shipping">local_shipping </option>
<option value="local_taxi ">local_taxi </option>
<option value="location_city">location_city </option>
<option value="location_disabled "> location_disabled</option>
<option value="location_off ">location_off</option>
<option value="location_on "> location_on</option>
<option value="location_searching">location_searching</option>
<option value="lock">lock</option>
<option value="lock_open">lock_open </option>
<option value="lock_outline ">lock_outline</option>
<option value="looks">looks</option>
<option value="looks_3 ">looks_3</option>
<option value="looks_4 ">looks_4</option>
<option value="looks_5 ">looks_5</option>
<option value="looks_6 ">looks_6</option>
<option value="looks_one"> looks_one</option>
<option value="looks_two">looks_two </option>
<option value="loop">loop</option>
<option value="loupe">loupe</option>
<option value="low_priority ">low_priority </option>
<option value="loyalty"> loyalty</option>
<option value="mail">mail</option>
<option value="mail_outline ">mail_outline</option>
<option value="map">map</option>
<option value="markunread ">markunread</option>
<option value="markunread_mailbox">markunread_mailbox </option>
<option value="memory ">memory</option>
<option value="menu">menu</option>
<option value="merge_type ">merge_type</option>
<option value="message">message</option>
<option value="mic ">mic</option>
<option value="mic_none "> mic_none</option>
<option value="mic_off">mic_off</option>
<option value="mms">mms</option>
<option value="mode_comment ">mode_comment</option>
<option value="mode_edit">mode_edit</option>
<option value="monetization_on">monetization_on</option>
<option value="money_off">money_off</option>
<option value="monochrome_photos">monochrome_photos</option>
<option value="mood">mood</option>
<option value="mood_bad">mood_bad</option>
<option value="more">more </option>
<option value="more_horiz">more_horiz</option>
<option value="more_vert">more_vert </option>
<option value="motorcycle"> motorcycle</option>
<option value="mouse">mouse</option>
<option value="move_to_inbox ">move_to_inbox </option>
<option value="movie ">movie</option>
<option value="movie_creation "> movie_creation</option>
<option value="movie_filter "> movie_filter</option>
<option value="multiline_chart">multiline_chart</option>
<option value="music_note ">music_note </option>
<option value="music_video">music_video</option>
<option value="my_location">my_location </option>
<option value="nature">nature </option>
<option value="nature_people">nature_people</option>
<option value="navigate_before">navigate_before</option>
<option value="navigate_next">navigate_next </option>
<option value="navigation"> navigation</option>
<option value="near_me">near_me </option>
<option value="network_cell">network_cell</option>
<option value="network_check">network_check</option>
<option value="network_locked ">network_locked</option>
<option value="network_wifi">network_wifi</option>
<option value="new_releases">new_releases </option>
<option value="next_week">next_week </option>
<option value="nfc ">nfc </option>
<option value="no_encryption"> no_encryption</option>
<option value="no_sim">no_sim</option>
<option value="not_interested">not_interested</option>
<option value="note">note </option>
<option value="note_add">note_add</option>
<option value="notifications">notifications </option>
<option value="notifications_active ">notifications_active</option>
<option value="notifications_none">notifications_none</option>
<option value="notifications_off">notifications_off </option>
<option value="notifications_paused">notifications_paused</option>
<option value="offline_pin">offline_pin </option>
<option value="ondemand_video">ondemand_video</option>
<option value="opacity">opacity</option>
<option value="open_in_browser ">open_in_browser </option>
<option value="open_in_new ">open_in_new </option>
<option value="open_with">open_with </option>
<option value="pages ">pages</option>
<option value="pageview ">pageview </option>
<option value="palette">palette</option>
<option value="pan_tool">pan_tool</option>
<option value="panorama ">panorama</option>
<option value="panorama_fish_eye">panorama_fish_eye </option>
<option value="panorama_horizontal">panorama_horizontal</option>
<option value="panorama_vertical">panorama_vertical </option>
<option value="panorama_wide_angle"> panorama_wide_angle</option>
<option value="party_mode ">party_mode</option>
<option value="pause ">pause</option>
<option value="pause_circle_filled">pause_circle_filled </option>
<option value="pause_circle_outline"> pause_circle_outline</option>
<option value="payment">payment</option>
<option value="people">people</option>
<option value="people_outline">people_outline</option>
<option value="perm_camera_mic">perm_camera_mic </option>
<option value="perm_contact_calendar">perm_contact_calendar</option>
<option value="perm_data_setting">perm_data_setting </option>
<option value="perm_device_information">perm_device_information</option>
<option value="perm_identity ">perm_identity </option>
<option value="perm_media"> perm_media</option>
<option value="perm_phone_msg ">perm_phone_msg</option>
<option value="perm_scan_wifi ">perm_scan_wifi</option>
<option value="person">person </option>
<option value="person_add ">person_add</option>
<option value="person_outline">person_outline </option>
<option value="person_pin">person_pin</option>
<option value="person_pin_circle ">person_pin_circle</option>
<option value="personal_video ">personal_video </option>
<option value="pets">pets </option>
<option value="phone ">phone</option>
<option value="phone_android"> phone_android</option>
<option value="phone_bluetooth_speaker">phone_bluetooth_speaker</option>
<option value="phone_forwarded "> phone_forwarded</option>
<option value="phone_in_talk ">phone_in_talk</option>
<option value="phone_iphone">phone_iphone </option>
<option value="phone_locked ">phone_locked</option>
<option value="phone_missed">phone_missed</option>
<option value="phone_paused">phone_paused </option>
<option value="phonelink">phonelink</option>
<option value="phonelink_erase">phonelink_erase</option>
<option value="phonelink_lock">phonelink_lock </option>
<option value="phonelink_off">phonelink_off</option>
<option value="phonelink_ring">phonelink_ring</option>
<option value="phonelink_setup"> phonelink_setup</option>
<option value="photo ">photo </option>
<option value="photo_album">photo_album </option>
<option value="photo_camera">photo_camera</option>
<option value="photo_filter">photo_filter</option>
<option value="photo_library">photo_library</option>
<option value="photo_size_select_actual">photo_size_select_actual</option>
<option value="photo_size_select_large">photo_size_select_large </option>
<option value="photo_size_select_small"> photo_size_select_small</option>
<option value="picture_as_pdf"> picture_as_pdf</option>
<option value="picture_in_picture">picture_in_picture </option>
<option value="picture_in_picture_alt">picture_in_picture_alt</option>
<option value="pie_chart">pie_chart</option>
<option value="pie_chart_outlined">pie_chart_outlined</option>
<option value="pin_drop">pin_drop</option>
<option value="place">place</option>
<option value="play_arrow">play_arrow</option>
<option value="play_circle_filled">play_circle_filled </option>
<option value="play_circle_outline">play_circle_outline </option>
<option value="play_for_work">play_for_work </option>
<option value="playlist_add ">playlist_add</option>
<option value="playlist_add_check">playlist_add_check</option>
<option value="playlist_play"> playlist_play</option>
<option value="plus_one"> plus_one</option>
<option value="poll ">poll</option>
<option value="polymer ">polymer</option>
<option value="pool">pool</option>
<option value="portable_wifi_off">portable_wifi_off </option>
<option value="portrait"> portrait</option>
<option value="power ">power</option>
<option value="power_input">power_input </option>
<option value="power_settings_new"> power_settings_new</option>
<option value="pregnant_woman">pregnant_woman</option>
<option value="present_to_all"> present_to_all</option>
<option value="print">print </option>
<option value="priority_high"> priority_high</option>
<option value="public ">public </option>
<option value="publish">publish </option>
<option value="query_builder ">query_builder </option>
<option value="question_answer">question_answer</option>
<option value="queue ">queue</option>
<option value="queue_music">queue_music</option>
<option value="queue_play_next">queue_play_next</option>
<option value="radio">radio </option>
<option value="radio_button_checked ">radio_button_checked</option>
<option value="radio_button_unchecked"> radio_button_unchecked</option>
<option value="rate_review ">rate_review</option>
<option value="receipt">receipt </option>
<option value="recent_actors">recent_actors </option>
<option value="record_voice_over">record_voice_over</option>
<option value="redeem ">redeem </option>
<option value="redo"> redo</option>
<option value="refresh"> refresh</option>
<option value="remove ">remove </option>
<option value="remove_circle"> remove_circle</option>
<option value="remove_circle_outline ">remove_circle_outline</option>
<option value="remove_from_queue"> remove_from_queue</option>
<option value="remove_red_eye">remove_red_eye</option>
<option value="remove_shopping_cart">remove_shopping_cart</option>
<option value="reorder">reorder</option>
<option value="repeat"> repeat</option>
<option value="repeat_one ">repeat_one </option>
<option value="replay ">replay</option>
<option value="replay_10 ">replay_10</option>
<option value="replay_30 ">replay_30</option>
<option value="replay_5">replay_5</option>
<option value="reply">reply</option>
<option value="reply_all">reply_all </option>
<option value="report ">report</option>
<option value="report_problem">report_problem</option>
<option value="restaurant">restaurant </option>
<option value="restaurant_menu">restaurant_menu</option>
<option value="restore">restore</option>
<option value="restore_page ">restore_page </option>
<option value="ring_volume">ring_volume </option>
<option value="room">room </option>
<option value="room_service ">room_service</option>
<option value="rotate_90_degrees_ccw"> rotate_90_degrees_ccw</option>
<option value="rotate_left">rotate_left </option>
<option value="rotate_right ">rotate_right </option>
<option value="rounded_corner ">rounded_corner</option>
<option value="router ">router</option>
<option value="rowing">rowing</option>
<option value="rss_feed">rss_feed </option>
<option value="rv_hookup">rv_hookup</option>
<option value="satellite "> satellite</option>
<option value="save">save </option>
<option value="scanner ">scanner</option>
<option value="schedule">schedule </option>
<option value="school">school</option>
<option value="screen_lock_landscape ">screen_lock_landscape </option>
<option value="screen_lock_portrait">screen_lock_portrait </option>
<option value="screen_lock_rotation">screen_lock_rotation </option>
<option value="screen_rotation ">screen_rotation</option>
<option value="screen_share ">screen_share</option>
<option value="sd_card ">sd_card</option>
<option value="sd_storage">sd_storage</option>
<option value="search">search </option>
<option value="security ">security</option>
<option value="select_all ">select_all </option>
<option value="send">send</option>
<option value="sentiment_dissatisfied">sentiment_dissatisfied </option>
<option value="sentiment_neutral ">sentiment_neutral</option>
<option value="sentiment_satisfied ">sentiment_satisfied</option>
<option value="sentiment_very_dissatisfied">sentiment_very_dissatisfied</option>
<option value="sentiment_very_satisfied"> sentiment_very_satisfied</option>
<option value="settings ">settings</option>
<option value="settings_applications">settings_applications </option>
<option value="settings_backup_restore">settings_backup_restore</option>
<option value="settings_bluetooth">settings_bluetooth</option>
<option value="settings_brightness ">settings_brightness</option>
<option value="settings_cell">settings_cell</option>
<option value="settings_ethernet "> settings_ethernet</option>
<option value="settings_input_antenna"> settings_input_antenna</option>
<option value="settings_input_component">settings_input_component</option>
<option value="settings_input_composite">settings_input_composite</option>
<option value="settings_input_hdmi">settings_input_hdmi </option>
<option value="settings_input_svideo ">settings_input_svideo </option>
<option value="settings_overscan">settings_overscan </option>
<option value="settings_phone ">settings_phone </option>
<option value="settings_power ">settings_power </option>
<option value="settings_remote"> settings_remote</option>
<option value="settings_system_daydream">settings_system_daydream </option>
<option value="settings_voice">settings_voice </option>
<option value="share ">share </option>
<option value="shop">shop</option>
<option value="shop_two "> shop_two</option>
<option value="shopping_basket">shopping_basket</option>
<option value="shopping_cart">shopping_cart </option>
<option value="short_text ">short_text</option>
<option value="show_chart "> show_chart</option>
<option value="shuffle">shuffle</option>
<option value="signal_cellular_4_bar">signal_cellular_4_bar </option>
<option value="signal_cellular_connected_no_internet_4_bar">signal_cellular_connected_no_internet_4_bar</option>
<option value="signal_cellular_no_sim"> signal_cellular_no_sim</option>
<option value="signal_cellular_null">signal_cellular_null </option>
<option value="signal_cellular_off">signal_cellular_off </option>
<option value="signal_wifi_4_bar ">signal_wifi_4_bar</option>
<option value="signal_wifi_4_bar_lock">signal_wifi_4_bar_lock</option>
<option value="signal_wifi_off">signal_wifi_off</option>
<option value="sim_card">sim_card</option>
<option value="sim_card_alert"> sim_card_alert</option>
<option value="skip_next ">skip_next </option>
<option value="skip_previous ">skip_previous</option>
<option value="slideshow ">slideshow</option>
<option value="slow_motion_video ">slow_motion_video </option>
<option value="smartphone ">smartphone</option>
<option value="smoke_free ">smoke_free</option>
<option value="smoking_rooms ">smoking_rooms</option>
<option value="sms">sms</option>
<option value="sms_failed">sms_failed </option>
<option value="snooze">snooze</option>
<option value="sort"> sort</option>
<option value="sort_by_alpha"> sort_by_alpha</option>
<option value="spa">spa </option>
<option value="space_bar">space_bar</option>
<option value="speaker ">speaker</option>
<option value="speaker_group">speaker_group</option>
<option value="speaker_notes">speaker_notes</option>
<option value="speaker_notes_off">speaker_notes_off</option>
<option value="speaker_phone "> speaker_phone</option>
<option value="spellcheck">spellcheck</option>
<option value="star"> star</option>
<option value="star_border "> star_border</option>
<option value="star_half">star_half</option>
<option value="stars">stars </option>
<option value="stay_current_landscape ">stay_current_landscape</option>
<option value="stay_current_portrait">stay_current_portrait</option>
<option value="stay_primary_landscape"> stay_primary_landscape</option>
<option value="stay_primary_portrait">stay_primary_portrait</option>
<option value="stop">stop </option>
<option value="stop_screen_share ">stop_screen_share</option>
<option value="storage ">storage </option>
<option value="store"> store</option>
<option value="store_mall_directory">store_mall_directory </option>
<option value="straighten ">straighten</option>
<option value="streetview">streetview</option>
<option value="strikethrough_s ">strikethrough_s </option>
<option value="style">style</option>
<option value="subdirectory_arrow_left">subdirectory_arrow_left </option>
<option value="subdirectory_arrow_right">subdirectory_arrow_right </option>
<option value="subject"> subject</option>
<option value="subscriptions">subscriptions</option>
<option value="subtitles">subtitles </option>
<option value="subway ">subway </option>
<option value="supervisor_account">supervisor_account </option>
<option value="surround_sound">surround_sound </option>
<option value="swap_calls">swap_calls</option>
<option value="swap_horiz">swap_horiz</option>
<option value="swap_vert">swap_vert</option>
<option value="swap_vertical_circle">swap_vertical_circle </option>
<option value="switch_camera">switch_camera</option>
<option value="switch_video">switch_video</option>
<option value="sync">sync</option>
<option value="sync_disabled">sync_disabled</option>
<option value="sync_problem ">sync_problem</option>
<option value="system_update ">system_update </option>
<option value="system_update_alt">system_update_alt</option>
<option value="tab ">tab </option>
<option value="tab_unselected ">tab_unselected </option>
<option value="tablet">tablet</option>
<option value="tablet_android"> tablet_android</option>
<option value="tablet_mac"> tablet_mac</option>
<option value="tag_faces ">tag_faces</option>
<option value="tap_and_play ">tap_and_play </option>
<option value="terrain"> terrain</option>
<option value="text_fields">text_fields </option>
<option value="text_format">text_format</option>
<option value="textsms "> textsms</option>
<option value="texture">texture </option>
<option value="theaters">theaters </option>
<option value="thumb_down">thumb_down</option>
<option value="thumb_up ">thumb_up </option>
<option value="thumbs_up_down ">thumbs_up_down </option>
<option value="time_to_leave"> time_to_leave</option>
<option value="timelapse ">timelapse </option>
<option value="timeline ">timeline </option>
<option value="timer">timer </option>
<option value="timer_10">timer_10 </option>
<option value="timer_3 ">timer_3 </option>
<option value="timer_off">timer_off </option>
<option value="title ">title</option>
<option value="toc ">toc </option>
<option value="today ">today </option>
<option value="toll">toll</option>
<option value="tonality">tonality</option>
<option value="touch_app">touch_app</option>
<option value="toys">toys </option>
<option value="track_changes">track_changes </option>
<option value="traffic ">traffic </option>
<option value="train">train </option>
<option value="tram">tram </option>
<option value="transfer_within_a_station">transfer_within_a_station</option>
<option value="transform ">transform </option>
<option value="translate">translate</option>
<option value="trending_down">trending_down</option>
<option value="trending_flat"> trending_flat</option>
<option value="trending_up "> trending_up</option>
<option value="tune">tune </option>
<option value="turned_in">turned_in</option>
<option value="turned_in_not ">turned_in_not</option>
<option value="tv">tv </option>
<option value="unarchive ">unarchive</option>
<option value="undo">undo</option>
<option value="unfold_less">unfold_less</option>
<option value="unfold_more"> unfold_more</option>
<option value="update">update</option>
<option value="usb ">usb</option>
<option value="verified_user">verified_user</option>
<option value="vertical_align_bottom"> vertical_align_bottom</option>
<option value="vertical_align_center ">vertical_align_center</option>
<option value="vertical_align_top ">vertical_align_top</option>
<option value="vibration">vibration</option>
<option value="video_call">video_call </option>
<option value="video_label ">video_label </option>
<option value="video_library"> video_library</option>
<option value="videocam "> videocam</option>
<option value="videocam_off "> videocam_off</option>
<option value="videogame_asset">videogame_asset </option>
<option value="view_agenda ">view_agenda </option>
<option value="view_array">view_array</option>
<option value="view_carousel">view_carousel</option>
<option value="view_column"> view_column</option>
<option value="view_comfy ">view_comfy</option>
<option value="view_compact">view_compact</option>
<option value="view_day ">view_day </option>
<option value="view_headline">view_headline</option>
<option value="view_list">view_list</option>
<option value="view_module">view_module</option>
<option value="view_quilt ">view_quilt</option>
<option value="view_stream">view_stream </option>
<option value="view_week">view_week</option>
<option value="vignette ">vignette</option>
<option value="visibility ">visibility</option>
<option value="visibility_off ">visibility_off</option>
<option value="voice_chat">voice_chat</option>
<option value="voicemail ">voicemail </option>
<option value="volume_down">volume_down</option>
<option value="volume_mute">volume_mute</option>
<option value="volume_off">volume_off</option>
<option value="volume_up"> volume_up </option>
<option value="vpn_key">vpn_key</option>
<option value="vpn_lock"> vpn_lock </option>
<option value="wallpaper "> wallpaper </option>
<option value="warning ">warning</option>
<option value="watch">watch</option>
<option value="watch_later ">watch_later</option>
<option value="wb_auto"> wb_auto</option>
<option value="wb_cloudy"> wb_cloudy</option>
<option value="wb_incandescent ">wb_incandescent</option>
<option value="wb_iridescent"> wb_iridescent</option>
<option value="wb_sunny"> wb_sunny</option>
<option value="wc"> wc</option>
<option value="web"> web</option>
<option value="web_asset">web_asset</option>
<option value="weekend "> weekend </option>
<option value="whatshot">whatshot</option>
<option value="widgets "> widgets </option>
<option value="wifi"> wifi</option>
<option value="wifi_lock"> wifi_lock</option>
<option value="wifi_tethering"> wifi_tethering </option>
<option value="work "> work</option>
<option value="wrap_text"> wrap_text</option>
<option value="youtube_searched_for">youtube_searched_for</option>
<option value="zoom_in"> zoom_in </option>
<option value="zoom_out">zoom_out</option>
<option value="zoom_out_map">zoom_out_map</option>
</select>
</div>
</div>
</div>
</div>
                                        
<script src="https://codeb.it/fonticonpicker/lib/js/jquery-1.11.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://wrappixel.com/demos/free-admin-templates/matrix-admin-bt4/assets/libs/select2/dist/js/select2.full.min.js"></script>
<script src="https://wrappixel.com/demos/free-admin-templates/matrix-admin-bt4/assets/libs/select2/dist/js/select2.full.min.js"></script>
<script>
$(".select2").select2();
function iformat(icon) {
var originalOption = icon.element;
return $('<span><i class="tiny material-icons">' + icon.text + '</i> ' + icon.text + '</span>');
}
$('.icons_select2').select2({
width: "100%",
templateSelection: iformat,
templateResult: iformat,
allowHtml: true
});
</script>
</body>
</html>

Angular 6 CRUD Operations Application Tutorials

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Material Design Add icons in Select options.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.