Home
Search results “Jquery select all options multiple”
jQuery selected selector
 
07:41
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-selected-selector.html In this video we will discuss jQuery :selected selector. To select all checked checkboxes or radio buttons, we use :checked selector. To select all selected options of a select element use :selected selector. How to get selected option from single select dropdown in jquery : We want to get the selected option text and value Replace < with LESSTHAN symbol and > with GREATERTHAN symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOption = $('#selectCountries option:selected'); $('#divResult').html('Value = ' + selectedOption.val() + ', Text = ' + selectedOption.text()); }); }); </script> </head> <body style="font-family:Arial"> Country: <select id="selectCountries"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> How to get all selected options from multi select dropdown in jquery : We want to get all the selected options text and value. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOptions = $('#selectCountries option:selected'); if (selectedOptions.length > 0) { var resultString = ''; selectedOptions.each(function () { resultString += 'Value = ' + $(this).val() + ', Text = ' + $(this).text() + '<br/>'; }); $('#divResult').html(resultString); } }); }); </script> </head> <body style="font-family:Arial"> <select id="selectCountries" multiple="multiple"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> Please note : Hold down the CTRL key, to select more than one item.
Views: 71880 kudvenkat
Bootstrap Multiselect Dropdown with Checkboxes using Jquery in PHP
 
13:31
In this video tutorial we have create multi select dropdown list box with checkbox select option by using Bootstrap multiselect plugin in PHP and Insert value of multiple select option into database by using Ajax JQuery with PHP. For Source Code and Online Demo - http://www.webslesson.info/2017/05/bootstrap-multi-select-dropdown-with-checkboxes-using-jquery-in-php.html
Views: 32093 Webslesson
Create multiple select with select all and search feature using jquery bootstrap multiselect plugin
 
01:17
Demo/Download Link: http://www.iamrohit.in/create-multiple-select-with-select-all-and-search-feature-using-jquery-bootstrap-multiselect-plugin/ In this post I am going to introduce awesome Jquery Plugin to Create multiple select with select all and search feature using jquery bootstrap multiselect plugin. Bootstrap Multiselect is a JQuery based plugin to provide an intuitive user interface for using select inputs with the multiple attribute present. Instead of a select a bootstrap button will be shown dropdown menu containing the single options as checkboxes width search feature.
Views: 2127 Patel Rohit
Select Multiple Rows With Checkboxes Using jQuery DataTable
 
05:54
Select/Select All Checkbox Using jQuery and DataTable Support Donate for me: https://www.patreon.com/codetube Follow me: https://www.facebook.com/mycodetube/ https://plus.google.com/+kautubecodeghazali My Social Media: https://www.facebook.com/tghazalipidie https://www.twitter.com/tghazalipidie Thank you very much for watching my new video on this channel Code Tube. You can contribute to this channel by giving support, make the subtitle, or comments that are supportive.
Views: 45575 Code Tube
Multiple Selection Dropdown with Select2
 
14:14
How to install and use Select2 The jQuery replacement for select boxes. Download code: https://github.com/ImagineDesignDevelop/select2_tutorial
Views: 8026 Carlos Baston
Insert Dynamic Multi Select Box Data using Jquery Ajax PHP
 
31:22
Make stylish dynamic multi select drop down list by using Light weight Multi Select Jquery Plugin and Insert multiple select drop down list data in Mysql table by using Ajax with PHP. How to create dynamic dependent Multi select drop down list using Ajax in PHP. Dynamic Dependent Multiple Select Box using Jquery Ajax and PHP. For Source Code and online Demo - http://www.webslesson.info/2017/10/insert-dynamic-multi-select-box-data-using-jquery-ajax-php.html
Views: 21822 Webslesson
How To Get Selected Option Value From Drop Down List Using JavaScript [ with source code ]
 
04:46
Display Value Of Selected Option in Select Tag Using Javascript Source Code: http://1bestcsharp.blogspot.com/2017/03/javascript-get-selected-option-value.html Javascript Tutorials For Beginners ➜ http://bit.ly/2k7NMWq Javascript Course ➜ http://bit.ly/2IvBCFC visit our blog https://1bestcsharp.blogspot.com/ subscribe: http://goo.gl/nRjPKk In This Javascript Tutorial we will see How To How to Get the Value of Selected Option in a Select Box In Netbeans Editor . Javascript Tutorials : How to get value of selected radio button https://www.youtube.com/watch?v=uzwUBDQfpkU How to append Value to an array https://www.youtube.com/watch?v=KVdY8n6lCy4 javascript images slider 1 https://www.youtube.com/watch?v=QkcemPr4xaU Convert String To Number https://www.youtube.com/watch?v=JMfZG7o_QtE JavaScript Show And Hide Input Password Text https://www.youtube.com/watch?v=Cmo9sjx5eFE change div class name in js https://www.youtube.com/watch?v=X_SDJxKI6HE using checkbox with js https://www.youtube.com/watch?v=yFYEHSh2iTQ get And Set Value To An Input https://www.youtube.com/watch?v=AfRHl3soLDg calculate two numbers https://www.youtube.com/watch?v=oDUjP4N_MtQ Search Element In Array https://www.youtube.com/watch?v=LIsjSMr9bJU Add Search Remove Array Element https://www.youtube.com/watch?v=ppLbuVWf6zM Add HTML Table Row https://www.youtube.com/watch?v=FVSfp8yT8lA Get Mouse Position https://www.youtube.com/watch?v=LVi5DN2vtdo Show Text Letter By Letter https://www.youtube.com/watch?v=dbdYazO4IZ4
Views: 51831 1BestCsharp blog
How to Select Multiple Elements in jQuery, jQuery Tutorial
 
01:40
Access the entire course and source code on Zenva Academy https://academy.zenva.com/product/programming-for-entrepreneurs-jquery/?zva_src=youtube jQuery is the world’s most used JavaScript library to create rich web applications that just feel natural to use. In this comprehensive course you’ll learn how to use jQuery to work with the DOM, use events, effects and animations, AJAX, JSON and to create interactive AJAX forms. This course is 100% jQuery 2.x compliant! This course is taught by Pablo Farias Navarro, founder of ZENVA and web application developer. Pablo has been using jQuery since 2007. More than 20,000 students are learning how to code with our courses, in particular our Programming for Entrepreneurs course series. This course builds on our previous HTML and JavaScript free courses and takes you to the next step, which is to make your website or HTML5 interactive and dynamic. Some of the things you will learn in this course: When to use jQuery 1.x or 2.x. CSS selectors and DOM traversing functions in depth to find any element you want. DOM manipulation to add or remove custom HTML content anywhere, whenever you decide. Working with events to create interactive sites. Listen to changes in select dropdowns and checkboxes. jQuery animations and effects. Slide, fade, show, hide. AJAX to load dynamic HTML from the server. Working with JSON from the server. Interactive forms that display extra fields according to the values of other fields. AJAX form submission the easy way. Dealing with cache issues in AJAX requests. Learn jQuery in a 2.x compliant manner. Homepage: http://zenva.com YouTube: http://youtube.com/fariazz2 GameDev Academy: http://gamedevacademy.org HTML5 Hive: http://html5hive.org De Idea A App: http://deideaaapp.org Facebook: http://facebook.com/ZenvaDev Twitter: @ZenvaTweets Medium: https://medium.com/@zenva
Views: 1857 Zenva
Multiple Select tutorial jquery with chosen plugin hindi, urdu
 
06:02
like us on facebook https://www.facebook.com/webtipshindi Download chosen https://harvesthq.github.io/chosen/
Views: 2519 WEB TIPS
JavaScript to select all checkboxes in GridView
 
25:29
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/03/javascript-to-select-all-checkboxes-in.html If the checkbox in the header is checked, all the checkboxes in the GridView should be checked. If we uncheck the checkbox in the header, all the checkboxes in the GridView should be unchecked. When Delete Selected button is clicked the rows that have the checkboxes checked should be deleted. We will continue with the example that we worked with in Part 2 of JavaScript with ASP.NET tutorial. Add a TemplateField to the GridView with checkbox in HeaderTemplate and ItemTemplate. At this point the HTML of the GridView should be as shown below. Notice the checkboxes in the first TemplateField. [asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1" onrowdatabound="GridView1_RowDataBound"] [Columns] [asp:TemplateField] [ItemTemplate] [asp:CheckBox ID="CheckBox1" runat="server" /] [/ItemTemplate] [HeaderTemplate] [asp:CheckBox ID="checkboxSelectAll" runat="server" /] [/HeaderTemplate] [/asp:TemplateField] [asp:TemplateField ShowHeader="False"] [ItemTemplate] [asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete"][/asp:LinkButton] [/ItemTemplate] [/asp:TemplateField] [asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" SortExpression="ID" /] [asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /] [asp:BoundField DataField="Gender" HeaderText="Gender" SortExpression="Gender" /] [/Columns] [/asp:GridView] Include the following 2 JavaScript functions on the page [script type="text/javascript" language="javascript"] function HeaderCheckBoxClick(checkbox) { var gridView = document.getElementById("GridView1"); for (i = 1; i [ gridView.rows.length; i++) { gridView.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = checkbox.checked; } } function ChildCheckBoxClick(checkbox) { var atleastOneCheckBoxUnchecked = false; var gridView = document.getElementById("GridView1"); for (i = 1; i [ gridView.rows.length; i++) { if (gridView.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked == false) { atleastOneCheckBoxUnchecked = true; break; } } gridView.rows[0].cells[0].getElementsByTagName("INPUT")[0].checked = !atleastOneCheckBoxUnchecked; } [/script] Associate HeaderCheckBoxClick() JavaScript function with onclick event of the checkbox in the HeaderTemplate. Associate ChildCheckBoxClick() JavaScript function with onclick event of the checkbox in the ItemTemplate This is all the code that is required for implementing select/deselect all checkboxes in gridview. Now let's see how to delete all the selected rows at once. Include a HeaderTemplate in the TemplateField that has the Delete LinkButton. Place a LinkButton inside the HeaderTemplate. 1. Remove the CommandName attribute 2. Set Text="Delete Selected" 3. Set ID="lbDeleteAll" 4. Set OnClick="lbDeleteAll_Click" At the moment ID column in the GridView is a BoundField. Convert it to TemplateField. Include the following 2 functions in the code-behind file. private void Delete(string employeeIDs) { string cs = ConfigurationManager.ConnectionStrings["SampleDBConnectionString"].ConnectionString; SqlConnection con = new SqlConnection(cs); SqlCommand cmd = new SqlCommand("spDeleteEmployees", con); cmd.CommandType = CommandType.StoredProcedure; SqlParameter parameter = new SqlParameter("@IDs", employeeIDs); cmd.Parameters.Add(parameter); con.Open(); cmd.ExecuteNonQuery(); con.Close(); } protected void lbDeleteAll_Click(object sender, EventArgs e) { StringBuilder sb = new StringBuilder(); foreach (GridViewRow gr in GridView1.Rows) { CheckBox cb = (CheckBox)gr.FindControl("CheckBox1"); if (cb.Checked) { sb.Append(((Label)gr.FindControl("Label1")).Text + ","); } } sb.Remove(sb.ToString().LastIndexOf(","), 1); Delete(sb.ToString()); GridView1.DataBind(); } Finally create the following stored procedure Create Procedure spDeleteEmployees @IDs nvarchar(1000) as Begin EXEC('Delete from Employees WHERE ID IN (' + @IDs+ ')') End
Views: 25059 kudvenkat
JavaScript List Example [ Select and Option ]
 
11:27
Creating a list with single selection and multiple selection. Creating a javascript to find the selected item from the list.
Views: 25084 AshishSingh Bhatia
Multi-Select Custom Dropdown with Checkbox | jQuery
 
09:07
Multi-Select Custom Dropdown with Checkbox | jQuery Source Code: http://www.lisenme.com/multi-select-custom-dropdown-checkbox-jquery/ https://www.facebook.com/lisenme To Get More Follow us …. https://twitter.com/LisenMee To Get More Follow us …. http://www.lisenme.com Get Free Web templates, tutorials, Graphics
Views: 6561 soft tutorial zone
Part 40 - How to Send Multiple checkbox  IDs to the controller using JQuery in Asp. Net MVC
 
26:38
OVERVIEW: In this video I have explained,How to send checkbox IDs to controller or server. In previous video I discussed about how to display multiple checkbox with checked and unchecked value. This part is the continuation of previous one. SOCIAL : Like TechnoTips official Page : http://facebook.com/technotipstutorial Subscribe : http://youtube.com/aapkanigam Follow us on Twitter : @technotipsMVC, @aapkanigam VISIT BLOG HERE : http://technotipstutorial.blogspot.com INTRODUCTION : Please follow below step. 1. Give an unique ID to each checkbox which should contain the ID from coming from server. ex- Check_1 (here check is the extra text and 1 is the actual ID of checkbox coming from server. 2. On update button click call the jquery function then, i.e. iterate through each list item and get the each checkbox ID present in the list. 3. Split checkbox Id by underscore "_" . you will get actual Id at array[1] index. 4. Now you have all information related to checkbox . As you can traverse through each checkbox , you can check if it is checked or not. 5. Check if checkbox is checked then, push its ID to an array . 6. Finally using ajax call you can send this array containing IDs to controller by converting it into comma separated string. 7. YourArray.toString() is the method to convert your array into comma separated string. RECOMMENDATION: 1.Upload image to file server https://www.youtube.com/watch?v=btmJrgRldtk TAGS : Cascading dropdown list using jquery and partial view download image from url and save to SQL upload image to sql sever database upload image to file server upload and show image in asp.net mvc preview image before upload in asp.net mvc Jquery image preview create dynamic menu in asp.net mvc return multiple model create login page in asp.net login page bootstrap create registration form in asp.net mvc create registration page Partial view in mvc html.partial how to create a - website how to create bootstrap popup modal asp. net mvc asp.net mvc interview questions asp.net mvc 5 tutorial model view controller
Views: 7786 Technotips - Ashish
Add Remove Select Box Dynamically using Jquery with Ajax PHP
 
25:02
Add more select box or drop down list box dynamically using jQuery - Learn how to add or remove select box or input fields in a form using jQuery and PHP. How to insert multiple form data into Mysql table using Ajax with PHP. For Source Code and Online Demo - http://www.webslesson.info/2017/10/add-remove-select-box-fields-dynamically-using-jquery-ajax-in-php.html
Views: 25066 Webslesson
Integrate Two side Multi Select Plugin with jQuery multiselect.js
 
01:13
Demo/Download Link: http://www.iamrohit.in/integrate-two-side-multi-select-plugin-with-jquery-multiselect-js/ Here I am going to show you how to Integrate Two side Multi Select Plugin with jQuery multiselect.js on your website and add feature like user can select one or more items and send them to the other side. multiselect.js is a small jQuery plugin that helps you improve the user experience regarding the use of multiple cross selects.It also has a sort function that can be defined in order of your needs for each multiple select.You can fully customize it via CSS, you can extend it and have as many multi selects as you want on the page. For example you can create two select box of skill set where user can select one or more skill set from first select box and send them to the other empty select See example below.
Views: 467 Patel Rohit
jQuery selected selector -  DropDownlist
 
07:37
In this video we will discuss jQuery :selected selector. To select all checked checkboxes or radio buttons, we use :checked selector. To select all selected options of a select element use :selected selector. How to get selected option from single select dropdown in jquery : We want to get the selected option text and value Note: Angle tags removed because it's not accepting while upload this content. html head title /title script src="jquery-1.11.2.js" /script script type="text/javascript" $(document).ready(function () { $('#selectCountries').change(function () { var selectedOption = $('#selectCountries option:selected'); $('#divResult').html('Value = ' + selectedOption.val() + ', Text = ' + selectedOption.text()); }); }); /script /head body style="font-family:Arial" Country: select id="selectCountries" option selected="selected" value="USA" United States /option option value="IND" India /option option value="UK" United Kingdom /option option value="CA" Canada /option option value="AU" Australia /option /select br / br / div id="divResult" /div /body /html How to get all selected options from multi-select dropdown in jquery : We want to get all the selected options text and value. html head title /title script src="jquery-1.11.2.js" /script script type="text/javascript" $(document).ready(function () { $('#selectCountries').change(function () { var selectedOptions = $('#selectCountries option:selected'); if (selectedOptions.length 0) { var resultString = ''; selectedOptions.each(function () { resultString += 'Value = ' + $(this).val() + ', Text = ' + $(this).text() + ' br/ '; }); $('#divResult').html(resultString); } }); }); /script /head body style="font-family:Arial" select id="selectCountries" multiple="multiple" option selected="selected" value="USA" United States /option option value="IND" India /option option value="UK" United Kingdom /option option value="CA" Canada /option option value="AU" Australia /option /select br / br / div id="divResult" /div /body /html Please note : Hold down the CTRL key, to select more than one item.
Views: 190 JQuery
Multiselect Dropdown: jQuery Plugin
 
09:54
In this video we are going to learn about multiselect dropdown jqeury plugin called Chosen, that makes long, unwieldy select boxes much more user-friendly.
Views: 97 Bro Experts
Javascript Form Select Change Options Tutorial Dynamic List Elements HTML5
 
16:08
Lesson Code: http://www.developphp.com/video/JavaScript/Form-Select-Change-Dynamic-List-Option-Elements-Tutorial In this Javascript video lesson you will learn how to program dynamic select form list elements. To demonstrate the logic we will show how to change options of a select list based on the selection the user makes from the first list. A web application developer will definitely need to know how to do this when they get into form programming that involves data intake of categories and subcatories from a user.
Views: 185664 Adam Khoury
How to use Checkbox inside Select Option HTML JavaScript CSS Tutorial
 
04:33
Hi guys, welcome back to Angga Risky, In this video, I want to show you about how to create the checkboxes inside of select option using HTML, CSS, and JavaScript. So, check this out guys: https://youtu.be/yMKTRn_THeA Follow Me ========================================== facebook : @anggariskys twitter: @anggariskys google+: plus.google.com/+anggariskysetiawan instagram: anggariskysetiawan website: www.anggarisky.com blog: www.anggarisky.com/en/blog
Views: 18388 Angga Risky
Select values of checkbox group with jquery
 
12:22
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/03/select-values-of-checkbox-group-with.html In this video we will discuss, how to select values of checked checkboxes that are in different groups using jQuery. Along the way, we will also discuss how to pass a variable to jquery selector. If you have just one group of checkboxes on your page, to get all the checked checkboxes you can use $('input[type="checkbox"]:checked'). However, if you have more than one checkbox group, then $('input[type="checkbox"]:checked') is going to select all checked checkboxes from both the checkbox groups. If you prefer to get checked checkboxes from a specific checkbox group, depending on which button you have clicked, you can use $('input[name="skills"]:checked') or $('input[name="cities"]:checked'). This will ensure that the checked checkboxes from only the skills or cities checkbox group are selected. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol. At the moment to get the checked checkboxes values, we are using a button click event. You can also use the click event of the checkbox to do this. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('input[name="skills"]').click(function () { getSelectedCheckBoxes('skills'); }); $('input[name="cities"]').click(function () { getSelectedCheckBoxes('cities'); }); var getSelectedCheckBoxes = function (groupName) { var result = $('input[name="' + groupName + '"]:checked'); if (result.length > 0) { var resultString = result.length + " checkboxe(s) checked<br/>"; result.each(function () { resultString += $(this).val() + "<br/>"; }); $('#div' + groupName).html(resultString); } else { $('#div' + groupName).html("No checkbox checked"); } }; }); </script> </head> <body style="font-family:Arial"> Skills : <input type="checkbox" name="skills" value="JavaScript" />JavaScript <input type="checkbox" name="skills" value="jQuery" />jQuery <input type="checkbox" name="skills" value="C#" />C# <input type="checkbox" name="skills" value="VB" />VB <br /><br /> Preferred Cities : <input type="checkbox" name="cities" value="New York" />New York <input type="checkbox" name="cities" value="New Delhi" />New Delhi <input type="checkbox" name="cities" value="London" />London <br /><br /> Selected Skills:<br /> <div id="divskills"></div> <br /> Selected Cities:<br /> <div id="divcities"></div> </body> </html>
Views: 88587 kudvenkat
How to Use Bootstrap Select Plugin with Ajax Jquery PHP
 
14:18
In this video we have make stylish multiple select dropdown list box by using Bootstrap Select plugin with feature like selection of multiple option, search textbox under dropdown. For Source Code and online Demo - http://www.webslesson.info/2017/04/multiple-select-option-by-using-bootstrap-select-plugin-in-php-ajax.html
Views: 16072 Webslesson
JSON - Dynamic Dependent Dropdown List using Jquery and Ajax
 
14:46
In this video we have create country state city drop down list using jquery ajax with JSON. Here we have make dependent dropdown in jquery ajax using JSON data. It will be Dynamic Dependent select box using Jquery Ajax. We have filled dynamic dependent drop down list by using Ajax Jquery with JSON data. For Source Code and Online Demo - http://www.webslesson.info/2017/05/json-dynamic-dependent-select-box-using-jquery-and-ajax.html
Views: 26345 Webslesson
10 Demos of Bootstrap Multiselect with jQuery
 
03:46
The multiselect dropdown allows the visitors of the website selecting multiple options. Full tutorial: http://www.jquery-az.com/10-demos-of-bootstrap-multiselect-dropdown-by-using-jquery/ In this article, the bootstrap-multiselect plug-in which is based on jQuery is used for creating the dropdowns with multiple select feature that also looks beautiful.
Views: 1077 jquery-az
Load Records on Select box using Ajax Jquery Mysql and PHP
 
09:14
In this video you can learn how to load data from mysql database table when user change item from dropdown box, at that time it load related records of selected item. For this I have use php and mysql with jquery and Ajax. Source Code - http://www.webslesson.info/2016/04/load-records-on-select-box-using-ajax-jquery-mysql-and-php.html
Views: 41163 Webslesson
Live Filter With Multiple Options Using JQuery
 
08:31
Source Code: http://www.lisenme.com/live-filter-with-multiple-options-using-jquery/ https://www.facebook.com/lisenme To Get More Follow us …. https://twitter.com/LisenMee To Get More Follow us …. http://www.lisenme.com Get Free Web templates, tutorials, Graphics
Views: 1482 soft tutorial zone
Part #1 - List of Countries in Select-Box Using jQuery (Ajax/JSON)
 
15:19
Most useful video on how to append all Countries in Select-Box Without Database. Second Part of THIS tutorial : https://youtu.be/UP1R7viLepc Download Code from : http://sagarmore.in/examples.html 1. List of Countries in dropdown using jQuery (JSON,Ajax) without database LIKE,SHARE,SUBSCRIBE,COMMENT
Views: 7193 SagarMore.in
Multiple select list in PHP
 
08:03
This video demonstrates how to create a multi select list in PHP. Html Select tag with multiple attribute makes multi selection possible.
Views: 9837 Gautam Mokal
How to Use Class Selector in jQuery - jQuery Tutorial
 
05:20
he .class selector selects all elements with the specific class. The class refers to the class attribute of an HTML element. The class attribute is used to set a particular style for several HTML elements. Note: Do not start a class attribute with a number. It may cause problems in some browsers jQuery selectors allow you to select and manipulate HTML element(s). jQuery selectors are used to "find" (or select) HTML elements based on their name, id, classes, types, attributes, values of attributes and much more. It's based on the existing CSS Selectors, and in addition, it has some own custom selectors jquery class Selector jquery multiple class selector, jquery find by class name, jquery class selector each, get element by class javascript, jquery class object, jquery id selector, jquery get class of element with multiple classes, jquery get all elements with class, jquery multiple attribute selectors, jquery select multiple elements with same class, jquery find multiple elements, jquery multiple id selectors, css multiple classes selector, jquery select two class names, jquery multiple select dropdown, jquery select multiple options, jquery multiple class selector, jquery find each, jquery get child element by class, jquery find by id, jquery first child
Views: 60 Soft-All
Angular bootstrap select list
 
06:51
Text version of the video http://csharp-video-tutorials.blogspot.com/2018/01/angular-bootstrap-select-list.html Slides http://csharp-video-tutorials.blogspot.com/2018/01/angular-bootstrap-select-list-slides.html Angular CRUD Tutorial https://www.youtube.com/watch?v=rJ9o4TyhSuo&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Angular CRUD Tutorial Text Articles & Slides http://csharp-video-tutorials.blogspot.com/2017/12/angular-crud-tutorial.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss 1. Working with a select list in Angular Template Driven forms 2. How to have one of the select list option selected by default 3. How to disable select list Let us understand working with a select element in Angular with a simple example. We want to include "Department" select list. For the HTML used in the demo, please refer to my blog using the link below http://csharp-video-tutorials.blogspot.com/2018/01/angular-bootstrap-select-list.html At the moment, we have hard coded the select list options in the HTML. In our next video we will discuss, how to get the select list options from the component class. Notice each option also has a corresponding value. The value is the department id which is what we want to save in the database table when the form is submitted. We will discuss, saving the data to a database table in a later video. At this point, when we select an option, the corresponding option value is included against the "department" property in the Angular auto-generated form model. Also when we click the "Save" button, the "department" property along with the selected option value is logged to the console in browser developer tools. How to have one of the select list option selected by default If we include "selected" attribute on one of the options of the select list, we expect that option to be selected by default when the form initially loads, but when the form reloads, the respective option will not be selected. If you remove the "ngModel" directive from the select list, then the the option gets selected as expected. In Angular, we use "ngModel" directive for two-way data binding. So the moment we put it back in place the "selected" attribute does not work. To make it work include "department" property in the component class and initialise it with one of the option value which you want to have selected by default. In our case, we want the "IT" option to be selected by default. The "IT option value is "3". So, I have initialised "department" property with a value of '3' department = '3' At this point you will have "IT" option selected by default when the form loads. Now, even if we remove the "selected" attribute from the "IT" option, it is still selected by default when the form loads. This is because of the two-way data binding that we get with "ngModel" directive. How to disable a select list : To disable a select element, use the disabled attribute Another important point to keep in mind. By default, disabled form controls are not included in the Angular auto generated form model. Since, the "department" select element is disabled, it will not be included in the Angular generated form model. In our form, we do not want the select element to be disabled, so please remove the disabled attribute. Also, we do not want any option to be selected by default, so remove the "department" property from the component class. In our next video, we will discuss, how to get the select list options from the component class, instead of having them hard-coded in the HTML.
Views: 16937 kudvenkat
jQuery add event handler to dynamically created element
 
09:15
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-add-event-handler-to-dynamically.html In this video we will discuss, how to add event handlers to dynamically created elements. Let us understand this with an example. The following example, allows us to dynamically create new list item (li), attach a click event handler and add it to the unordered list (ul). This happens when you click "Add a New List Item" button. The problem with this approach is that we are binding a click event handler to every list item. This means if you have 500 list items, then there will be 500 event handlers in the memory and this may negatively affect the performance of your application. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('li').on('click', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { var newListItem = $('<li>New List Item</li>').on('click', function () { $(this).fadeOut(500); }); $('ul').append(newListItem); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html> A better way of doing the same from a performance standpoint is shown below. In this example, the click event handler is attached to the listitem (li) parent element (ul). Even if you have 500 list items, there is only one click event handler in memory. So how does this work 1. When you click on a list item (li), the event gets bubbled up to its parent (ul) as the list item (li) does not have an event handler 2. The bubbled event is handled by the the parent (ul) element, as it has a click event handler. 3. When a new list item is added dynamicaly, you don't have to add the click event handler to it. Since the newly created list item (li) is added to the same parent element (ul), the click event of this list item also gets bubbled upto the same parent and will be handled by it. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('ul').on('click', 'li', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { $('ul').append('<li>New List Item</li>'); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html>
Views: 55664 kudvenkat
Dropdown Select and Search Using jQuery and Bootstrap
 
07:52
How to Dropdown Select and Search Using jQuery and Bootstrap
Views: 37774 Code Tube
How to get selected checkbox values display into textbox jquery
 
07:51
display the selected checkbox values into html control input textbox or textarea using jquery script
Remove selected item from dropdownlist or select list using JQuery
 
07:21
In this JQuery Tutorial, I will teach you, How to remove selected item from DropdownList or Html select list. The basic logic applied here. First to get the selected item of DropdownList using JQuery then use remove method to remove the item.
Views: 2222 JQUERY
jquery attribute selectors - Multiple Attribute filter - part 56
 
02:42
This video explains Multiple Attribute filter in jquery attribute selectors. The Multiple Attribute filter will select the element based on the list of attribute name specified and based on the combination, jquery will find the match . please note, no values are compared here. I will try cover all the possible attribute selector as much as possible. rest you can take it as a homework :-) 1. :containsPrefix = Done 2. :contains = Done 3. :word = Done 4. :endswith = Done 5. :equals = Done 6. :notequal = Done 7. :startswith = Done 8. :hasattribute = Done 9. :multipleattribiute = Done I need you to try these cases on your machine and also do try few crazy scenarios if you can. If you get stuck or if you have any query then please do comment below and let me know. I will try to reply you as soon as possible.
Views: 212 dnanetwork
Dynamic Dependent Select Box using jQuery, Ajax and PHP
 
07:19
Dynamic Dependent Select Box using jQuery, Ajax and PHP Source Code: http://www.lisenme.com/dynamic-dependent-select-box-using-jquery-ajax-php/ https://www.facebook.com/lisenme To Get More Follow us …. https://twitter.com/LisenMee To Get More Follow us …. http://www.lisenme.com Get Free Web templates, tutorials, Graphics
Views: 36338 soft tutorial zone
Use a JavaScript For Loop to Generate Select Options
 
06:29
Use a JavaScript For Loop to Generate Select Options: Populate expiration years for a credit card expiration selection menu based on the current year. Demo file: http://www.sixminutessmarter.com/demofiles/webdev/js-loop-fill-years.html
Views: 7193 Ralph Phillips
AutoComplete Select Box Using jQuery and Bootstrap
 
07:39
How to AutoComplete Select Box Using jQuery and Bootstrap
Views: 35586 Code Tube
Datatables Individual column searching using PHP Ajax Jquery
 
21:19
How to make jquery Datatables individual column search or filter by using PHP script with Ajax. Video tutorial on Datatables individual column filtering at server side using PHP. For Source and online Demo - http://www.webslesson.info/2017/07/datatables-individual-column-searching-using-php-ajax-jquery.html
Views: 22400 Webslesson
Add multiple selected items from ListBox into database in ASP NET C#
 
13:31
In this video Tutorial we will learn: --How to select multiple items from ListBox. --How to save multiple selected items into database table. --How to modify CommandText using StringBuilder class. --How to add selected item into another list . --how to add multiple items one by one into database table using asp.net c#
Views: 27269 Computer Programming
Select and deselect all checkbox using jQuery
 
05:00
I found some codes only work for the first and second click, failed for third click after. This code works for no matter how many times to check in select all check box. JavaScript function selectAll is used function selectAll(status) { $('input[name=selectedId]').each(function(){ $(this).prop('checked', status); }); } called by selected input box: input type="checkbox" id="selectall" onclick='selectAll(this.checked)' More about this video and code: http://jiansenlu.blogspot.ca/2013/09/select-and-deselect-all-checkbox-using.html
Views: 2448 Jiansen Lu
jQuery 13 - Selectors - Selected selector
 
14:11
jQuery :selected selector. To select all selected options of a select element use :selected selector. ankpro ankpro training Asp.net MVC C# C sharp Bangalore Rajajinagar Selenium Coded UI Mobile automation testing Mobile testing JQuery JavaScript .Net Components of the .Net framework Hello World Literal Keywords Variable Data types Operators Branching Loops Arrays ArrayList Strings String Builder Structures Enums Functions Classes Inheritance Polymorphism Properties Indexers Events Nested Classes Delegates Anonymous methods Labda expressions Abstract classes Exception Handling Linq Interfaces Extension methods Anonymous types Generics Collections Garbage Collection Reflection Attributes Input and output statements Type casting Partial Methods Partial Classes Boxing and Unboxing Var vs Dynamic vs Object using Static. Auto property initializer. Dictionary Initializer. nameof Expression. New way for Exception filters. await in catch and finally block. Null – Conditional Operator. Expression – Bodied Methods Easily format strings – String interpolation Parameterless constructors in structs. Creating a custom exceptions class.
Views: 131 Ankpro Training
jQuery get selected checkbox text
 
09:04
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-get-selected-checkbox-text.html In this video we will discuss how to get the checked checkbox text along with the value. This is continuation to Part 12, please watch Part 12 from jQuery tutorial before proceeding. Here is what we want to do. As we check the checkboxes, we want to display the count of checkboxes checked and their text and values. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('input[name="skills"]').click(function () { getSelectedCheckBoxes('skills'); }); $('input[name="cities"]').click(function () { getSelectedCheckBoxes('cities'); }); var getSelectedCheckBoxes = function (groupName) { var result = $('input[name="' + groupName + '"]:checked'); if (result.length > 0) { var resultString = result.length + " checkbox checked<br/>"; result.each(function () { var selectedValue = $(this).val(); resultString += selectedValue + " - " + $('label[for="option-' + selectedValue + '"]').text() + "<br/>"; }); $('#div' + groupName).html(resultString); } else { $('#div' + groupName).html("No checkbox checked"); } }; }); </script> </head> <body style="font-family:Arial"> Skills : <input type="checkbox" name="skills" value="js" /> <label for="option-js">JavaScript</label> <input type="checkbox" name="skills" value="jq" /> <label for="option-jq">jQuery</label> <input type="checkbox" name="skills" value="cs" /> <label for="option-cs">C#</label> <input type="checkbox" name="skills" value="vb" /> <label for="option-vb">VB</label> <br /><br /> Preferred Cities : <input type="checkbox" name="cities" value="ny" /> <label for="option-ny">New York</label> <input type="checkbox" name="cities" value="nd" /> <label for="option-nd">New Delhi</label> <input type="checkbox" name="cities" value="ln" /> <label for="option-ln">London</label> <br /><br /> Selected Skills:<br /> <div id="divskills"></div> <br /> Selected Cities:<br /> <div id="divcities"></div> </body> </html>
Views: 68729 kudvenkat
How to Style and Customize HTML Select Box Created by Select Element using CSS
 
22:11
How to Style and Customize HTML5 Select Box Created by Select Element using CSS https://youtu.be/lRFsCYDk4Vw WHAT WILL YOU LEARN? Learn to style an HTML select box using CSS and replace the default arrow for the dropdown applied by the browser with your own custom arrow. You will learn to create cross-browser custom css3 select box dropdown using the HTML5 select tag. It means the select box arrows will be supported in all the major browsers including ie10 or above. Here you also will learn three different methods to create a custom select box dropdown without using any external javascript library or bootstrap. We will simply use few css3 advance properties to get the effect of the custom arrow in your select dropdown box or what you call HTML combo box. I will show you how easily you can hide the default arrow from selectbox and apply your own custom arrow. ===============DOWNLOAD SOURCE CODEs============== *Code to Follow Along: https://goo.gl/MTXSFT *Click on the Fork Button on Codepen After Opening the Link to Start following Finished Final Code: https://goo.gl/ERqNWJ ===================================================== =================Navigate to Specific part============= 1:30 - Applying common styles to all select elements 3:58 - #1 Background Image Technique to Style HTML5 Select Box 7:15 - #2 Using CSS3 Border to Create Downword Arrow 13:27 - #3 Using FontAwesome Glyphicon for the Arrow in our Selectbox Dropdown list ==================================================== HOW WE WILL CREATE OUR CUSTOM SELECTBOX USING CCS3? To create a select box we simply use the html5 document to create our markup for the select box. We will create three different select boxes using the "select" element and the "option" element for creating dropdown lists. To hide the default styling from the select element applied by the browser we will use the css3 appearance property and set its value to none. And then, we will use an another useful rule to hide the default arrows applied by Internet explorer 10; from the select box dropdown. THREE DIFFERENT METHODS THAT WE WILL BE USING Each select box will be using a different method for styling the dropdown arrow inside the combobox. - The first Method will show using an Image Background technique to create custom arrow for the CSS select box. - The second method will use the CSS border property to create a triangular shape that will be used to customize your select element's dropdown arrow. - Finally, the third method will use the fontawesome glyphicon to create our custom arrow for the selectbox dropdown. All, the method will have the cross-browser support for our custom css3 select box. Each method ensures that it works properly in the Internet explorer 10 or above and other older browser. PROVIDE YOUR FEEDBACK If you have any questions, just comment below in comment section. I will try to respond as soon as possible. Like, share and comment! Thanks ============Useful Tutorials============= Creating Simple Horizontal Navigation Bar using Flexbox https://goo.gl/oR0lGf Distributing images evenly in a fluid container https://goo.gl/w2O1kR Creating three column responsive layout https://goo.gl/uj46tI How to create simple css3 preloading animation https://goo.gl/GqjXCr How to add preloader to your webpage using javascript https://goo.gl/JJuclF ================CONTACT and RESOURCES============== Find all the source codes here: https://codepen.io/smashtheshell Follow on Twitter https://twitter.com/amit4kp Add on Facebook https://www.facebook.com/kumaramit24chd Like Page on Facebook https://www.facebook.com/smashtheshell
Views: 16127 smashtheshell
jquery tooltip widget
 
08:32
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/06/jquery-tooltip-widget.html In this video we will discuss jQuery tooltip widget with examples. To get a tooltip without using jQuery all you do is set the title attribute. At this point when we hover over the element the content that is specified as the value for the title attribute will be displayed as the tooltip. jQuery Tooltip widget replaces native tooltip and allows lot of customization 1. Display other content than just the title, like inline footnotes or extra content retrieved via Ajax. 2. Customize the positioning, e.g., to center the tooltip above elements. 3. Add extra styling to customize the appearance, for warning or error fields. In the following example label element display the native tooltip where as the textbox displays jQuery tooltip HTML <label id="lblName" for="txtName" title="Full Name">Name</label> <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip(); In the following example we are calling tooltip() function on the document object, so this will display jQuery tooltip for all the elements that have title attribute $(document).tooltip(); You can also use the content option, to specify the content for tooltip. When both title attribute and content options are specified, the content specified by the content option will override the content specified by the title attribute. HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ content : '<u>content option</u> tooltip overriding title attribute tooltip' }); content option supports multiple types. string or a function. HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $(document).ready(function () { $('#txtName').tooltip({ content: toolTipFunction }); function toolTipFunction() { return 'Tooltip from a function'; } }); Set track option to true to make the tooltip follow the mouse HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ track: true }); show and hide options can be used to animate the showing and hiding of the tooltip. Both of these options support multiple types. For the detailed description please check the following jquery documentation page http://api.jqueryui.com/tooltip In the following example we are using a JavaScript object, to specify the animation duration, effect and delay while the tooltip is being shown and hidden HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ show : {delay:10, duration:500, effect: 'slideDown'}, hide: { delay: 10, duration: 500, effect: 'slideUp' } });
Views: 18548 kudvenkat
How To Display Selected HTML Table Row Values Into Input Text Using JavaScript [ with Source code ]
 
12:52
Show HTML Table Row Data In TextBoxes Using Javascript Source Code: http://1bestcsharp.blogspot.com/2017/03/javascript-display-selected-html-table-row-into-input-text.html Javascript Tutorials For Beginners ➜ http://bit.ly/2k7NMWq Javascript Course ➜ http://bit.ly/2IvBCFC visit our blog https://1bestcsharp.blogspot.com/ subscribe: http://goo.gl/nRjPKk In This Javascript Tutorial we will see How To Get HTML Table Selected Row And Display Cells Value Into Input Text When A Row Is Clicked Using JS In Netbeans Editor . Javascript Tutorials : How to get value of selected radio button https://www.youtube.com/watch?v=uzwUBDQfpkU How to append Value to an array https://www.youtube.com/watch?v=KVdY8n6lCy4 javascript images slider 1 https://www.youtube.com/watch?v=QkcemPr4xaU Convert String To Number https://www.youtube.com/watch?v=JMfZG7o_QtE JavaScript Show And Hide Input Password Text https://www.youtube.com/watch?v=Cmo9sjx5eFE change div class name in js https://www.youtube.com/watch?v=X_SDJxKI6HE using checkbox with js https://www.youtube.com/watch?v=yFYEHSh2iTQ get And Set Value To An Input https://www.youtube.com/watch?v=AfRHl3soLDg calculate two numbers https://www.youtube.com/watch?v=oDUjP4N_MtQ Search Element In Array https://www.youtube.com/watch?v=LIsjSMr9bJU Add Search Remove Array Element https://www.youtube.com/watch?v=ppLbuVWf6zM Add HTML Table Row https://www.youtube.com/watch?v=FVSfp8yT8lA Get Mouse Position https://www.youtube.com/watch?v=LVi5DN2vtdo Show Text Letter By Letter https://www.youtube.com/watch?v=dbdYazO4IZ4
Views: 33232 1BestCsharp blog
Vue JS 2 Tutorial #31 - Select Box Binding
 
05:38
----- COURSE LINKS: + Repo - https://github.com/iamshaunjp/vuejs-playlist + Atom editor - https://atom.io/a + Download GIT - https://git-scm.com/ + Vue docs - https://vuejs.org/v2/guide/ --------------------------------------------------------------------------------------------- You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress, Node.js & more on the channel homepage... SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== PSD to WordPress Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W ============ Node.js for Beginners Playlist ============= https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp ============== The Net Ninja ===================== For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ================== Social Links ================== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 20484 The Net Ninja
Asp.net checkboxlist, select or deselect all list items   Part 24
 
10:32
Text version of the video http://csharp-video-tutorials.blogspot.com/2012/11/aspnet-checkboxlist-select-or-deselect.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-24-select-or-deselect-all-options.html All ASP .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html All ASP .NET Slides http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will learn about 1. Selecting a specific ListItem with-in a CheckBoxList control using SelectedValue and SelectedIndex properties 2. Selecting or De-Selecting all ListItems of a CheckBoxList control
Views: 74623 kudvenkat