Home
Search results “Jquery input add style”
jQuery CSS - Custom File Input
 
12:52
This tutorial is about " How to create a custom file input using CSS and jQuery " + some added functionality after the user selects some file, hope you guys will like this tutorial. Check out t-vac products : https://gumroad.com/akshayejh
Views: 14313 TVAC Studio
jQuery add or remove class
 
15:46
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-or-remove-class.html In this video we will discuss 1. How to check if an element has a css class 2. How to add or remove css classes 3. How to toggle css classes hasClass - Returns true if an element has the specified class otherwise false addClass - Adds one or more specified classes. To add multiple classes separate them with a space. removeClass - Removes one or multiple or all classes. To remove multiple classes separate them with a space. To remove all classes, don't specify any class name. toggleClass - Toggles one or more specified classes. If the element has the specified class then it is removed, if the class is not present then it is added. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <style> .boldClass { font-weight: bold; } .italicsClass { font-style: italic; } .colorClass { color: red; } </style> <script type="text/javascript"> $(document).ready(function () { $('#btn1').click(function () { $('p').addClass('colorClass'); }); $('#btn2').click(function () { $('p').removeClass('colorClass'); }); $('#btn3').click(function () { $('p').addClass('colorClass italicsClass'); }); $('#btn4').click(function () { $('p').removeClass('colorClass italicsClass'); }); $('#btn5').click(function () { $('p').addClass('colorClass italicsClass boldClass'); }); $('#btn6').click(function () { $('p').removeClass(); }); }); </script> </head> <body style="font-family:Arial"> <p>Pragim Technologies</p> <table> <tr> <td> <input id="btn1" style="width:250px" type="button" value="Add Color Class" /> </td> <td> <input id="btn2" style="width:250px" type="button" value="Remove Color Class" /> </td> </tr> <tr> <td> <input id="btn3" style="width:250px" type="button" value="Add Color and Italics Classes" /> </td> <td> <input id="btn4" style="width:250px" type="button" value="Remove Color and Italics Classes" /> </td> </tr> <tr> <td> <input id="btn5" style="width:250px" type="button" value="Add Color, Italics & Bold Classes" /> </td> <td> <input id="btn6" style="width:250px" type="button" value="Remove All Classes" /> </td> </tr> </table> </body> </html>
Views: 49830 kudvenkat
jQuery Number Spinner - Very Simple jQuery Plugins Tutorial - jQuery Plus Minus Input Incrementer
 
10:36
Please LIKE our Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 4490 Online Tutorials
jQuery append elements
 
08:18
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-append-elements.html In this video we will discuss how to append and prepend elements To append elements we have append() appendTo() To prepend elements we have prepend() prependTo() Since these methods modify DOM, they belong to DOM manipulation category. jquery append example : The following example appends the specified HTML to all div elements <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div').append('<b> Tutorial</b>'); }); </script> </head> <body style="font-family:Arial"> <div id="div1">jQuery</div> <div id="div2">C#</div> <div id="div3">ASP.NET</div> </body> </html> jquery appendto example : The above example can be rewritten using appendTo as shown below. $('<b> Tutorial</b>').appendTo('div'); What is the difference between append and appendTo Both these methods perform the same task. The only difference is in the syntax. With append method we first specify the target elements and then the content that we want to append, where as we do the opposite with appendTo method. jquery prepend example : The following example prepends the specified HTML to all div elements <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div').prepend('<b>Tutorial </b>'); }); </script> </head> <body style="font-family:Arial"> <div id="div1">jQuery</div> <div id="div2">C#</div> <div id="div3">ASP.NET</div> </body> </html> jquery prependTo example : The above example can be rewritten using prependTo as shown below. $('<b>Tutorial </b>').prependTo('div'); What is the difference between prepend and prependTo Both these methods perform the same task. The only difference is in the syntax. With prepend method we first specify the target elements and then the content that we want to prepend, where as we do the opposite with prependTo method. jQuery append existing element example : These methods (append, appendTo, prepend, prependTo) can also select an element on the page and insert it into another <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div').append($('#mySpan')); }); </script> </head> <body style="font-family:Arial"> <span id="mySpan"> Programming</span> <div id="div1">jQuery</div> <div id="div2">C#</div> <div id="div3">ASP.NET</div> </body> </html> Difference between prepend and append prepend method, inserts the specified content to the beginning of each element in the set of matched elements, where as append method inserts the specified content to the end of each element in the set of matched elements.
Views: 54241 kudvenkat
Transparent Login Form with floating Placeholder Text - Pure CSS Label Slide Up on Focus - No jQuery
 
12:17
Please LIKE our NEW Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 173016 Online Tutorials
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: 63565 kudvenkat
Email Validation : Validate Email with Icons (Tick,Cross,Exclamation) Using jQuery [2019]
 
12:42
Let's Learn How To Validate Email with Icons Like Tick for Success,Cross for Error and Exclamation for Warning. The Code is Extremely Simple to understand if you are watching carefully till the end as I will be explaining you the Logic Step-by-Step. Find Icons here : http://fontawesome.io/icons/ CDN : https://code.jquery.com/jquery-3.2.1.min.js" "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" Pattern for Email : /^([\w-\.][email protected]([\w-]+\.)+[\w-]{2,4})?$/ I hope you will enjoy the video..Do leave a comment regarding your opinions The IT Guy theitguy Follow me on Website : https://akashrajpurohit.cf Twitter : https://twitter.com/Akash_ITGuy?s=09 Instagram : https://www.instagram.com/theitguy101/ Facebook : https://www.facebook.com/TheITGuy97/ Buy me a Coffee : https://paypal.me/RajpurohitAkash
Views: 2500 The IT Guy
Input date and time in HTML& Javascript - DateTimePicker jQuery
 
04:44
Input date and time in HTML& Javascript - DateTimePicker jQuery
Views: 61986 Adnan Afzal
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: 20281 kudvenkat
CSS - ( Part 2 : Adding Icon ) Simple Input Text Box
 
06:07
Code used : https://codepen.io/zFunx/pen/XRyqvx Part 1 : https://youtu.be/omJfspwjnZk Get started with Font Awesome : http://fontawesome.io/get-started/ Learn more about aria-hidden : http://csskarma.com/blog/difference-rolepresentation-aria-hiddentrue/ Website : https://web.zfunx.xyz/ Facebook : https://www.facebook.com/zfunxWeb Google+ : https://plus.google.com/113560671967552430928 Twitter : http://twitter.com/PleeZfunx Instagram : https://www.instagram.com/zfunx/
jQuery Validation Plugin: Custom Error Styles (4/4)
 
05:42
In this screen-cast, I will show you how to get up and running with the awesome jQuery validation plugin. Please **like** the video if you liked it, and **subscribe** if you want to see more. If you have a question, please don't hesitate to get in touch via the comments. Please watch in 720p for the best quality. Here is the code for the whole series: https://github.com/alexbooker/code-cast-code/tree/master/client-validation-demo Here is a link to the whole series: https://www.youtube.com/playlist?list=PL5ze0DjYv5DaAm5eC2chbTK1Y6uoTUtZ9. And here are some links I mention in the series: - https://github.com/jzaefferer/jquery-validation - http://jqueryvalidation.org/ - http://www.asp.net/ajax/cdn#jQuery_Validation_Releases_on_the_CDN_3
Views: 17942 Code Cast
jQuery input vs input
 
06:29
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/jquery-input-vs-input.html In this video we will discuss the difference between $(input) and $(:input) selectors $(:input) selects all input, textarea, select and button elements where as $(input) just selects elements with an input tag. The following is the HTML used in the examples. Replace < with LESSTHAN symbol and > with GREATERTHAN Symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> </head> <body style="font-family:Arial"> First Name : <input type="text" value="John" /> <br /><br /> Last Name : <input type="text" value="Major" /> <br /><br /> Gender : <input type="radio" name="gender" checked="checked" value="Male">Male <input type="radio" name="gender" value="Female">Female <br /><br /> Skills : <input type="checkbox" name="skills" checked="checked" value="JavaScript" />JavaScript <input type="checkbox" name="skills" checked="checked" value="jQuery" />jQuery <input type="checkbox" name="skills" value="C#" />C# <br /><br /> Country: <select> <option selected="selected" value="USA">USA</option> <option value="India">India</option> <option value="UK">UK</option> </select> <br /><br /> Summary : <br /> <textarea>I am a Senior Dot Net Developer with 10 years experience</textarea> <br /><br /> <input type="submit" value="submit" /> </body> </html> Now we want to get the text value from all the textboxes. On this page we have 2 textboxes 1. First Name 2. Last Name jQuery code to get textbox value using $(input) <script type="text/javascript"> $(document).ready(function () { $('input[type="text"]').each(function () { alert($(this).val()); }); }); </script> jQuery code to get textbox value using $(:input) <script type="text/javascript"> $(document).ready(function () { $(':input[type="text"]').each(function () { alert($(this).val()); }); }); </script> Which one is better for performance $('input[type="text"]') or $(':input[type="text"]') $('input[type="text"]') is better for performance over $(':input[type="text"]'). This is because $(':input[type="text"]') needs to scan all input elements, textarea, select etc, where as $('input[type="text"]') scans only input elements. So if you want to find elements with an input tag, it is always better to use $('input[type="text"]') over $(':input[type="text"]')
Views: 88921 kudvenkat
Emoji 😇🙂🙃😉 Input with jQuery and Css Using EmojiOne Area Plugin 💡
 
07:18
Want to subscribe? http://youtube.com/tutorialspoint2016 Don't forget to hit the Subscribe & Like button! EmojiOne Area Plugin click here : https://cdnjs.com/libraries/emojionearea EmojiOne Area is a small jQuery plugin that allows you to transform any html element into simple WYSIWYG editor with ability to use Emojione icons. jEmoji is a plugin which provides you a simple way to let your users type emojis in your input forms. Want to subscribe? http://youtube.com/tutorialspoint2016 Don't forget to hit the Subscribe & Like button! Learn New Technologies -- Visit Our Channel -- https://www.youtube.com/tutorialspoint2016 1) CodeIgniter Mini Project Tutorial in Hindi/Urdu Using Angular JS & Boostrap 3 : https://goo.gl/FSwsJ4 2) Codeigniter Tutorial for Beginners Step by Step in Hindi : https://goo.gl/bxG6gJ 3) PDO-OOP-PHP-CRUD-with-Bootstrap : https://goo.gl/q1KRTn 4) AngularJS Tutorial for Beginners (For Absolute Beginners ) : https://goo.gl/Hak26N 5) JSON Tutorial for Beginner : https://goo.gl/ryPu35 6) Git and GitHub Training In Hindi : https://goo.gl/HpToSd 7) Java Tutorial For Beginners (Step by Step tutorial) : https://goo.gl/QxJ68x 8) PHP Tutorial for Beginners (For Absolute Beginners) : https://goo.gl/S3urkU 9) OOPS Tutorial for Beginners in PHP : https://goo.gl/k2kJDM 10) Bootstrap Tutorial for Beginners : https://goo.gl/NGFDse 11) Magic Methods in PHP Tutorial : https://goo.gl/BdYLfJ 12) Build a PHP MVC Application : https://goo.gl/yqDCkb 13) Whats new in PHP 7 | (Introduction) : https://goo.gl/rTTKkr 14) CRUD with PHP and MySQLi Tutorial : https://goo.gl/yyjWD7 15) Technology Tips and Tricks : https://goo.gl/MpR952 16) MongoDB Tutorial for Beginners (Hindi) : https://goo.gl/NZXD1u Any questions or suggestions you may have, let me know in the comments below and I will try to reply as soon as I can. You can connect with us in social Media :- Youtube : https://www.youtube.com/tutorialspoint2016 Twitter: https://twitter.com/tutorialspoint2 facebook : https://www.facebook.com/tutorialspoint2016 Instragram : https://www.instagram.com/tutorialspoint2016 Google plus : https://plus.google.com/+TutorialsPoint2016 Blogger : http://tutorialspoint2016.blogspot.in/ Don't forget to hit the Subscribe & Like button!
Views: 1718 Technical Suneja
How To Create Image Gallery In HTML, CSS and Javascript | Lightbox Gallery
 
12:24
In this video you will learn to design image gallery with HTML and CSS and Javascript. If you have query or you want this code? then write in the comment section. Please like this video and subscribe my channel Subscribe us ► https://goo.gl/tTFmPb Watch Responsive Website Tutorial ► https://youtu.be/dtTWD0ystG0
Views: 181900 Easy Tutorials
jQuery - Styling DOM #06
 
23:34
In this video we will learn to style DOM using jQuery. Tutorial: https://goo.gl/i8Geb7 Subscribe: http://goo.gl/cFA9in Video: https://youtu.be/y5JeOthu6Jg jQuery - Selectors https://youtu.be/aLBzEb3kEpQ jQuery - Chaining Methods https://youtu.be/W2mUxZX7RYs YouTube Playlist: https://www.youtube.com/playlist?list=PLG6ePePp5vvbfbvBuv_Ny2QpkzI4Q4hMu GitHub repository: https://github.com/yusufshakeel/jquery-project HTML Playlist: https://www.youtube.com/watch?v=5gVxlxwBcCU&list=PLG6ePePp5vvYI1n1aFlELPfh9sfGcIHal CSS Playlist: https://www.youtube.com/watch?v=5ueRHotsM3A&list=PLG6ePePp5vvay3bbTde2X36BqUt7osZ3e JavaScript Playlist: https://www.youtube.com/watch?v=6jJHw9YJnQY&list=PLG6ePePp5vvZrPZCp85dssGxQ7QLfujt7 thanks for watching see you in the next video stay happy and keep smiling :-)
Views: 357 Yusuf Shakeel
How to Validate form using jQuery | Easy Validation in 8 minutes | Validation 2017 by  theitguy
 
08:13
Learn how to Validate form using jQuery on focusout event with Full Explanation of code.Form Validation is very important.I have gave you full explanation of the code in this video so that you are able to learn logic of coding this by yourself as well. The Register form is made with floating placeholder using html css Now, We don't want our users to put any invalid form of email or rather put numbers in their full name right? So here's a simple way to Validate your form using jQuery with a form having floating placeholder...You don't need to mug up the code or try to copy paste it,as I'm going to explain you the logic used behind this code. Hope You Like this Video...If you do then Do LIKE,SHARE & SUBSCRIBE to my channel The IT Guy Main Focus in Video : 1.How to Validate form using jQuery 2.Easily Validate form using jQuery 3.Explanation of the code step by step to validate form 4.Try to help you build logic of code 5.make registration form 6.validation in register form 7.How to Validate form using jQuery 2017 8.Validate form using jQuery 2017 9.Validation using jQuery 10.Form Validation using jQuery Feel free to ask any doubts about the video in description. Thank You for Watching..:) Floating placeholder Html CSS ONLY[2017] : https://youtu.be/xTShp-tZbD0 jquery name validation : var pattern = /^[a-zA-Z]*$/; jquery email validaton : var pattern = /^([\w-\.][email protected]([\w-]+\.)+[\w-]{2,4})?$/; The IT Guy theitguy Follow me on Website : https://akashrajpurohit.cf Twitter : https://twitter.com/Akash_ITGuy?s=09 Instagram : https://www.instagram.com/theitguy101/ Facebook : https://www.facebook.com/TheITGuy97/ Buy me a Coffee : https://paypal.me/RajpurohitAkash
Views: 17560 The IT Guy
jquery: Get value from input in modal Bootstrap 4.0
 
10:03
Topic: jquery: Get value from input in modal Bootstrap 4.0 Subscribe Us: https://goo.gl/TBOEWO ------------------------------------------------------------------------------------------------------------ We want to create more videos tutorial for help people that want to learn more about mobile development web development and new technology. ikhmer4ever.com try to gather more about new technique about programming, mobile app design, app development, UI and UX Design, and also the real app in the world that currently use and making for production and help people too. Thanks Finally Please Subscribe Our Channels for more knowledge. Find us on: Facebook Page: https://goo.gl/W8Vjnu Youtube Channel:https://goo.gl/TBOEWO Website:http://www.ikhmer4ever.com Twitter: https://twitter.com/ikhmer4ver Free Android Training here: - http://bit.ly/2ctZrZM - https://www.youtube.com/watch?v=HvgzzuYV4WA&list=PLcwcuvlq19zzoMZL1C4UGmiF3EANHqHR0 Free iOS Training here: - http://bit.ly/2ctG5GX - https://www.youtube.com/watch?v=MG3y42E3ipQ&list=PLcwcuvlq19zwZhw-PNP8QrDWhKC9-UWIY More video mobile app training: 1. iOS From Scratch With Swift4: Navigation Controllers in Xcode 9 https://youtu.be/MONVvSUHJXQ 2. UILabel | How to use UILabel in iOS Development | Xcode 9 | Swift4 https://youtu.be/KU-TqHs8wW0 3. Passing values from one view controller to another in Swift4 and Xcode9 https://youtu.be/I9BCx8f0zq8 4. Pass Data between ViewController in Swift4 https://youtu.be/xq-8wnF-k8g 5. How to build a simple iOS application with Xcode for beginner https://youtu.be/rcmZ_yBbQe0 6. How to make colorful in Photoshop | photoshop cc 2017 tutorials for beginners https://youtu.be/-P4L-gNmQKY 7. How to make text outer glow in Photoshop cc 2017 https://youtu.be/xM6EvjEKesw 8. How to make colorful in Photoshop https://youtu.be/-P4L-gNmQKY 9. C style for statement has been removed in Swift 3 | Xcode 9 https://youtu.be/Mn23bxxrBuU 10. Project Management: How to use trello to manage your project task | Cost Time Result. https://youtu.be/jX8OBO0zgH8 More: get value from modal bootstrap, get value from modal dialog jquery, pass value to modal dialog, pass value from modal dialog to parent window, how do i pass values from form to jquery modal dialog, bootstrap get value of input text, how to get id in modal bootstrap, jquery dialog get input value, get value from modal dialog jquery, pass value to modal dialog, bootstrap modal, pass value from modal dialog to parent window, bootstrap get value of input text, bootstrap modal on show, bootstrap modal tutorial, how do i pass values from form to jquery modal dialog
Views: 4445 iKhmer4ever Studio
Live Table Add Edit Delete using Ajax Jquery in PHP Mysql
 
20:40
In this Video, we learn live table Insert, Update, Delete, Fetch data from mysql database using Ajax Jquary in php without page refresh. For this I use html5 contenteditable attribute for table column editable. For source code - http://www.webslesson.info/2016/02/live-table-add-edit-delete-using-ajax-jquery-in-php-mysql.html
Views: 221055 Webslesson
jQuery Validation Plugin
 
12:57
Views: 568851 Webucator
Jquery UI Tutorial | Custom Style Datepicker
 
06:57
Jquery UI Tutorial | Custom Style Datepicker Download code? Explore at http://rathor.me/ln
Views: 652 Tech. Rudranshi
jQuery attribute selector
 
08:17
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/jquery-attribute-selector.html In this video we will discuss selecting elements 1. That have specified attribute 2. That have specified attribute values Syntax : $('[attribute]') $('[attribute="value"]') $('[title]') // Selects all elements that have title attribute $('div[title]') // Selects all div elements that have title attribute $('[title="divTitle"]') // Selects all elements that have title attribute value - divTitle $('div[title="divTitle"]') // Selects all div elements that have title attribute value - divTitle Selects all elements with title attribute and sets 5px solid red border [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('[title]').css('border', '5px solid red'); }); [/script] [/head] [body] [div title="div1Title"] DIV 1 [/div] [br /] [div title="div2Title"] DIV 2 [/div] [p title="pTitle"] This is a paragraph [/p] [span title="div1Title"] SAPN 1 [/span] [br /][br /] [span] SPAN 2 [/span] [/body] [/html] Selects all div elements with title attribute and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('div[title]').css('border', '5px solid red'); }); [/script] Selects all elements with title attribute value - div1Title, and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title="div1Title"]').css('border', '5px solid red'); }); [/script] Selects all div elements with title attribute value - div1Title, and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('div[title="div1Title"]').css('border', '5px solid red'); }); [/script] Selects all div elements with both title and style attributes, and sets 5px solid black border [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('div[title][style]').css('border', '5px solid black'); }); [/script] [/head] [body] [div title="divTitle" style="background-color:red"] Red DIV [/div] [br /] [div title="divTitle" style="background-color:green"] Green DIV [/div] [br /] [div title="divTitle"] Normal Div [/div] [br /] [div] Normal Div without any attributes [/div] [/body] [/html] Selects all div elements with title attribute value - divTitle, and style attribute value - background-color:red, and sets 5px solid black border [script type="text/javascript"] $(document).ready(function () { $('div[title="divTitle"][style="background-color:red"]').css('border', '5px solid black'); }); [/script] Selects all div elements with either title or style attributes, and sets 5px solid black border [script type="text/javascript"] $(document).ready(function () { $('div[title],[style]').css('border', '5px solid black'); }); [/script]
Views: 103879 kudvenkat
How to validate form using JQuery Validate plugin with full options
 
12:13
In this tutorial i will show you how to create a system validation using JQuery plugin + HTML + CSS
Views: 5364 WEB NOW
jQuery Basics 5: Adding and Removing Styles
 
07:20
This is the fifth tutorial in the jQuery basics series. It outlines how to add and remove classes/styles form elements by clicking a button on the page. It makes use of the .toggle() function and the .attr() function, both very useful built in jQuery functions. For more information on the built in functions visit the jQuery api at http://www.api.jquery.com/ and visit our website at http://www.jqueryacademy.com/
Views: 1745 thejqueryacademy
Responsive Checkout form Using HTML CSS and Jquery Mask Plugin - Credit Card Checkout Form
 
27:51
Responsive Checkout form -- Check out how to create the Credit card checkout form using HTML CSS and Jquery Mask Plugin ***************** CODE ***************** Download the Exercise Files here, https://github.com/codingmarket07/checkout_form ***************** FOLLOW ME ***************** Twitter: https://twitter.com/coding_market Codepen: https://codepen.io/cool_lazyboy/ Google+: https://plus.google.com/118224580018832086422 ***************** CDN LINKS ***************** Font-awesome Site, http://fontawesome.com/ Jquery CDN Link, https://code.jquery.com/ Jquery Mask Plugin CDN Link, https://cdnjs.com/libraries/jquery.mask Responsive meta tag link, https://www.w3schools.com/css/css_rwd_viewport.asp ***************** QUERIES ***************** Comment below for any feedbacks or queries or feel free to email me at [email protected] ___ If you like this video, please subscribe to my channel. Thank you
Views: 1028 Coding Market
Adding Class Dynamically Using Jquery In Tamil
 
05:04
Complete Jquery in Tamil Tutor Joes Jquery Tamil Tutorial Basic Jquery Tamil Tutorial CSS Style using Jquery in Tamil Adding Class Dynamically Using Jquery In Tamil Adding And Remove Class Dynamically Using Jquery In Tamil First,Last,Child,nth child in Jquery Tamil Show and Hide a Content using Click Event in Jquery Tamil FadeIn,FadeOut Using is Visible in Jquery Tamil How to bind an event in Jquery Tamil How to bind multiple events dynamically using Jquery Tamil For Free source code and Free Project Please visit : http://www.tutorjoes.com/ http://www.facebook.com/tutorjoes http://www.youtube.com/tutorjoes
Views: 2352 Tutor Joe's Stanley
Step by Step Form Filling with Progress Bar using jQuery and CSS3
 
18:45
Source Code: http://www.lisenme.com/step-by-step-form-filling-with-progress-bar-using-jquery-and-css3 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 Step by Step Form Filling with Progress Bar using jQuery and CSS3
Views: 12791 soft tutorial zone
jquery datepicker cdn add theme change to input controls date format
 
07:04
jQuery Tuorial on add the default datepicker and change the calendar theme and date format change on input control
jQuery Element Selector
 
11:54
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/jquery-element-selector.html In this video we will discuss jQuery Element Selector, i.e selecting elements by tag name. To select the elements by tag name use jQuery Element Selector Syntax : $(element) $('td') // Selects all td elements $('div a') // Select all anchor elements that are descendants of div element $('div, span, a') // Selects all div, span and anchor elements Alerts the total count of td elements on the page [script type="text/javascript"] $(document).ready(function () { alert($('td').length); }); [/script] Selects all the tr elements on the page and changes their background colour to red [script type="text/javascript"] $(document).ready(function () { $('tr').css('background-Color', 'red'); }); [/script] Alerts the HTML content of the table [script type="text/javascript"] $(document).ready(function () { alert($('table').html()); }); [/script] Alerts the HTML content of each table row [script type="text/javascript"] $(document).ready(function () { $('table tr').each(function () { alert($(this).html()); }); }); [/script] Select and changes the background colour of all the div, span and anchor elements [script type="text/javascript"] $(document).ready(function () { $('div, span, a').css('background-Color', 'yellow'); }); [/script] Select all anchor elements that are descendants of div element [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('div a').css('background-Color', 'yellow'); }); [/script] [/head] [body] [div] [a href="http://pragimtech.com"]PragimTech[/a] [/div] [br /] [a href="http://microsoft.com"]Microsoft[/a] [/body] [/html] Changes the background color of even rows to gray and odd rows to yellow in both the tables. [script type="text/javascript"] $(document).ready(function () { $('tr:even').css('background-Color', 'gray'); $('tr:odd').css('background-Color', 'yellow'); }); [/script] To change the background color of even rows to gray and odd rows to yellow just for one of the table, use #id selector along with element selector. [script type="text/javascript"] $(document).ready(function () { $('#table1 tr:even').css('background-Color', 'gray'); $('#table1 tr:odd').css('background-Color', 'yellow'); }); [/script]
Views: 137481 kudvenkat
Input, objects and appending ,edit,  add or remove  html with Jquery | Html, CSS, and Jquery ,
 
11:38
What will learn in this video? Edit html from javascript, Append html form javascript, Jquery with html,
Views: 257 TechClasses
Add Timepicker to Input Field using jQuery
 
06:55
Read Tutorial and Download source code from CodexWorld.com - http://www.codexworld.com/add-timepicker-to-input-field-jquery-plugin/ jQuery Timepicker Plugin - Simple code to add timepicker to input field using jQuery. Use jQuery Timepicker plugin to convert an HTML element to timepicker with jQuery. Subscribe for more tutorials: https://www.youtube.com/codexworld Stay Connected With Us: Website: http://www.codexworld.com Google+: https://plus.google.com/+codexworld Facebook: https://www.facebook.com/codexworld Twitter: https://twitter.com/codexworldblog
Views: 2684 CodexWorld
how to change css using jquery
 
08:39
http://sufferingitbastards.com/
Views: 1523 dnanetwork
Add Datepicker to Input Field using jQuery UI
 
10:49
Read Tutorial and Download source code from CodexWorld.com - https://www.codexworld.com/add-datepicker-to-input-field-jquery-ui/ jQuery UI Datepicker – Learn how to add datepicker to input field using jQuery UI Datepicker plugin. Example code to add datepicker, change date format, restrict date range, from date & to date option in form input field. Subscribe for more tutorials: https://www.youtube.com/codexworld Stay Connected With Us: Website: http://www.codexworld.com Google+: https://plus.google.com/+codexworld Facebook: https://www.facebook.com/codexworld Twitter: https://twitter.com/codexworldblog
Views: 6866 CodexWorld
Sticky NavBar With JQuery | HTML, CSS & JavaScript
 
09:50
This Tutorial Can Give You The Basic Idea How Can You Create Scroll Activated Navigation Bar Using JQuery. Check out My New Video To Get Idea How You Can Make The Sticky Navbar "Responsive" ! Watch it Here : https://www.youtube.com/watch?v=ZeL2IL-dLuM Source Code : http://123link.vip/MYP7 JQuery Cdn : https://code.jquery.com/ Background Image : https://wallpaperscraft.com/image/girl_mountains_backpack_114178_5458x3705.jpg ---------------- Social Media ---------------- Personal Account : https://www.instagram.com/harrnish/ Facebook : https://www.facebook.com/codegrid.web/ Instagram : https://www.instagram.com/codegrid.web/ Twitter : https://twitter.com/codegrid_web Thanks For Watching ! Music : Song: Jordan Schor - Cosmic (feat. Nathan Brumley) [NCS Release] Music provided by NoCopyrightSounds. Watch: https://youtu.be/LVh4PFKNzMA Download/Stream: http://ncs.io/CosmicYO Song: Levianth & Axol - Remember (feat. The Tech Thieves) [NCS Release] Music provided by NoCopyrightSounds. Watch: https://www.youtube.com/watch?v=2DGxm1csQQM&list=PLRBp0Fe2Gpgm0WF6DEGmb7ab4qHAGlPzg&index=36 Credits: Levianth • https://soundcloud.com/levianth • https://www.facebook.com/Levianth/ • https://twitter.com/LevianthMusic Axol • https://soundcloud.com/axol_music • https://www.facebook.com/axolmusic • https://twitter.com/AxolMusic The Tech Thieves • https://soundcloud.com/thetechthieves... • https://www.facebook.com/TheTechThiev... • https://twitter.com/TheTechThieves Song: Ship Wrek & Zookeepers - Ark [NCS Release] Music provided by NoCopyrightSounds. Watch: https://www.youtube.com/watch?v=8xlDwukxjnA&index=42&list=PLRBp0Fe2Gpgm0WF6DEGmb7ab4qHAGlPzg Credits: Shipwrek • https://soundcloud.com/theshipwrek • https://www.facebook.com/theshipwrek • https://www.facebook.com/theshipwrek • https://www.youtube.com/user/theshipwrek Zookeepers • https://soundcloud.com/zookeepersdk • https://www.facebook.com/zookeepers • https://www.instagram.com/zookeepersdk/
Views: 346297 Codegrid
How To Create Login & Registration Form Using HTML CSS & JavaScript
 
17:56
How To Create Login & Registration Form Using HTML CSS & JavaScript In this tutorial you will learn how to create login page and registration page using html and css. I will show you to create transparent login from and registration form design in HTML & CSS. I will also use JavaScript and jQuery so that login form and registration form will display on same page. Steps for Login & Registration form Design using HTML & CSS 1. Create HTML and CSS file 0:39 2. Link CSS file with HTML 1:33 3. Write HTML code for Registration form 2:05 4. Add background image using html and css 3:55 5. Write CSS for login page Design 5:27 6. Create CSS for Login button design 7. Create Transparent login page or login form 9:30 8. Create login Form 11:22 9. write code for hover effect in HTML & CSS 13:18 10. Hide login or registration form 15:00 11. link jQuery with HTML jQuery link https://code.jquery.com/jquery-3.2.1.min.js 12. Add JavaScript in HTML to toggle between Login form and Registration form. Now you login and registration form design has been completed Get cheapest hosting http://in.hostg.co/14920 Watch our popular videos ---------------------------------------- Create Website Using HTML & CSS https://www.youtube.com/watch?v=a2UnYs9AA_M Create Image Slider Using HTML & CSS https://www.youtube.com/watch?v=ctI1XUjueaE Create Navigation Menu using HTML & CSS https://www.youtube.com/watch?v=XDFyUPoak34 Background Music ------------------------------ Miza & Unicorn - Illuminati https://youtu.be/d30bh4x7bgQ Like and Subscribe ------------------------------ YouTube https://www.youtube.com/c/EasyTutorialsVideo?sub_confirmation=1 Facebook https://www.facebook.com/EasyTutorialsVideo/
Views: 200040 Easy Tutorials
Add Datepicker to Input Field using jQuery UI || php foreach
 
05:44
Datepicker provides you to collect the data from user input field. when user will selecting from calendar without manually enter. previous on words user will type the date and time manually it is time-consuming so day by days technologies will increase so PHP learning will help you to give better new experience in this video. Please Ask Questions in Comments, I will respond to queries. SUBSCRIBE NOW FOR OTHER VIDEOS https://www.youtube.com/channel/UCpeTJLamoL8Y8md-QxHGycw LET'S CONNECT ON SOCIAL! Google+ ► https://plus.google.com/u/0/ Facebook ► https://www.facebook.com/PhpLearning-225539198197063/ Pinterest ► http://www.pinterest.com/phplearing/
Views: 3024 php learning
How to Add and Remove Class using Jquery
 
13:00
How to Add and Remove Class using Jquery
Views: 61 Guru Tuts
How To Define Multiple CSS Attributes In JQuery
 
01:42
Please visit http://technomark.in/Define-Multiple-CSS-Attributes-In-JQuery.aspx for more information. How To Define Multiple CSS Attributes In JQuery, Define Multiple CSS Attributes In JQuery, Define Multiple CSS Attributes, Multiple CSS Styles In JQuery, Multiple CSS Styles In JavaScript, jQuery add styles, jQuery add multiple styles, multiple style, Multiple CSS Attributes, jQuery, HTML, php
Views: 90 Admin Technomark
jQuery #id selector
 
10:53
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/jquery-id-selector.html In this video we will discuss 1. What are jQuery selectors 2. Different selectors in jQuery 3. #id selector in jquery What are jQuery selectors One of the most important concept in jQuery is selectors. jQuery selectors allow you to select and manipulate HTML elements. Different selectors in jQuery jQuery selectors allow you to select html elements in the DOM by 1. Element ID 2. Element Tag Name 3. Element Class Name 4. Element attribute 5. Element Attribute values and many more Id selector in jquery To find an HTML element by ID, use the jQuery #id selector Example : The following example finds button with ID button1 and attaches the click event handler. [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('#button1').click(function () { alert('jQuery Tuorial'); }); }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [/body] [/html] Changes the background colour of the button to yellow $(document).ready(function () { $('#button1').css('background-color', 'yellow'); }); Important points to remember about jQuery #id selector 1. jQuery #id selector uses the JavaScript document.getElementById() function 2. jQuery #id selector is the most efficient among all jQuery selectors. If you know the id of an element that you want to find, then always use the #id selector. 3. HTML element IDs must be unique on the page. jQuery #id selector returns only the first element, if you have 2 or more elements with the same ID. [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('#button1').css('background-Color', 'yellow'); }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [input id="button1" type="button" value="Click Button" /] [/body] [/html] 4. JavaScript's document.getElementById() function throws an error if the element with the given id is not found, where as jQuery #id selector will not throw an error. To check if an element is returned by the #id selector use length property. [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { if ($('#button1').length ] 0) { alert('Element found') } else { alert('Element not found') } }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [/body] [/html] 5. JavaScript's document.getElementById() and jQuery(#id) selector are not the same. document.getElementById() returns a raw DOM object where as jQuery('#id') selector returns a jQuery object that wraps the DOM object and provides jQuery methods. This is the reason you are able to call jQuery methods like css(), click() on the object returned by jQuery. To get the underlying DOM object from a jQuery object write $('#id')[0] 6. document.getElementById() is faster than jQuery('#id') selector. Use document.getElementById() over jQuery('#id') selector unless you need the extra functionality provided by the jQuery object.
Views: 157905 kudvenkat
How to add style to selector in jquery | css styles in jquery | Tutorial
 
04:12
How to add style to selector in jquery | css styles in jquery | Tutorial jQuery css() Method The css() method sets or returns one or more style properties for the selected elements. http://softtutorialzone.blogspot.in https://www.facebook.com/SoftTutorialZone/
Views: 313 soft tutorial zone
Increase decrease font size using jquery
 
07:58
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/05/increase-decrease-font-size-using-jquery.html In this video we will discuss how to increase, decrease and reset font size using jQuery Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <style> .divClass { font-size: 16px; background-color: #E3E3E3; width: 500px; padding: 5px; } </style> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#linkIncrease').click(function () { modifyFontSize('increase'); }); $('#linkDecrease').click(function () { modifyFontSize('decrease'); }); $('#linkReset').click(function () { modifyFontSize('reset'); }) function modifyFontSize(flag) { var divElement = $('#divContent'); var currentFontSize = parseInt(divElement.css('font-size')); if (flag == 'increase') currentFontSize += 3; else if (flag == 'decrease') currentFontSize -= 3; else currentFontSize = 16; divElement.css('font-size', currentFontSize); } }); </script> </head> <body style="font-family:Arial"> Font-Size: <a id="linkIncrease" href="#">Increase</a> <a id="linkDecrease" href="#">Decrease</a> <a id="linkReset" href="#">Reset</a> <br /><br /> <div id="divContent" class="divClass"> <b>jQuery Tutorial</b> <ul> <li>What is jQuery</li> <li>What is $(document).ready(function() in jquery</li> <li>Benefits of using CDN</li> <li>#id selector</li> <li>Element Selector</li> <li>class selector</li> <li>attribute selector</li> <li>attribute value selectors</li> <li>case insensitive attribute selector</li> <li>jQuery input vs :input</li> </ul> </div> </body> </html>
Views: 23848 kudvenkat
7: How to animate elements using jQuery - Learn jQuery front-end programming
 
10:51
How to animate elements using jQuery - Learn jQuery front-end programming. In this lesson we will learn how to animate HTML elements by manipulating the CSS styling. Download lesson files: http://mmtuts.net/course.php?c=jquery&l=7 -- mmtuts is a YouTube channel that focuses on teaching beginner and advanced courses in various multimedia related skills. We plan to make tutorials available on programming, video production, animation, graphic design, and on software such as the Adobe Creative Cloud programs. jQuery for beginners is a how to series that teaches the jQuery framework to people who are just starting out learning programming. The course teaches how jQuery scripting can be made easy and teaches how to build many features on websites through behavior using jQuery. Creating behavior on websites with jQuery is easy and should not be seen as otherwise, which is why we want to explain the language in a easy to understand way for beginners. If you have suggestions on new courses, or specific lessons within existing courses you would like to see, then feel welcome to submit them in the comment section or in a private message. ALL suggestions will be seen, but not all will be replied to since we get quite a few every day.
Views: 12769 mmtuts
jQuery Tutorial: Form Validation
 
19:25
In this jQuery Tutorial, you will learn how to use jQuery Form Validation Plugin Download Source Code: http://codingpassiveincome.com/jquery-tutorial-form-validation It is jQuery Tutorial For Beginners. In this tutorial I will talk about: - how to create an HTML form - how to add the jQuery library to your website - how to install jQuery Validation Plugin - how to use jQuery Validation Plugin to validate HTML forms This tutorial will cover everything that you need to understand in order to validate HTML forms using jQuery. Please watch the video above to learn all about jQuery Form Validation. Subscribe: http://bit.ly/1VdATVr Blog: http://CodingPassiveIncome.com/blog Resources: http://CodingPassiveIncome.com/resources Facebook Community: http://on.fb.me/1nMGVC4 Facebook Fan Page: https://www.facebook.com/CodingPassiveIncome Twitter: https://twitter.com/SenaidBacinovic Music: http://www.bensound.com/royalty-free-music
Views: 12559 Coding Passive Income
Multi Step Form with Progress bar CSS3 + jQuery
 
10:44
Multi Step Form with Progress bar CSS3 + jQuery Đăng ký để theo dõi được nhiều video hơn. https://www.youtube.com/channel/UCmkNxEAUy1Kpm59Z1YZ13cg
Views: 26844 Coder VN
Using Animate.css and jQuery for easy Web Animation
 
11:17
Simple tutorial on how to use Animate.css and jQuery together in your website or web app! 🔥Subscribe for more like this: https://goo.gl/LUEkN1
Views: 302731 Wes Bos
Fullscreen Video Background Login Form | Login Form With HTML CSS & jQuery
 
10:18
Vide.js Plugin URL : http://vodkabears.github.io/vide/ Please LIKE our Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/ Track: Sinner's Heist - Streetlight People (feat. Harley Bird) [NCS Release] Music provided by NoCopyrightSounds. Watch: https://youtu.be/-RZjoHj78fM Free Download / Stream: http://ncs.io/StreetlightPeopleYO
Views: 8221 Online Tutorials
Javascript Tutorial - Custom File Upload Button | HTML + CSS
 
08:32
Regular Expression: /[\/\\]([\w\d\s\.\-\(\)]+)$/ This code is now downloadable! https://codepen.io/dcode-software/pen/RerBgR In this video I take you through how to create your own custom file upload buttons using only HTML, CSS and Javascript, no frameworks required! We can do this by 'virtually' clicking on a hidden default file upload button and then extract the value of the real file upload button and plant it into a custom-defined span tag. If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Views: 20892 dcode
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: 79209 kudvenkat
jquery show hide password
 
11:01
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/05/jquery-show-hide-password.html In this video we will discuss how to toggle password visibility using show / hide password checkbox. Here is what we want to achieve 1. When Show password checkbox IS NOT CHECKED, the password should be masked 2. When Show password checkbox IS CHECKED, the password should be in clear text and visible to the user One of the simplest ways of achieving this is by changing the type attribute of the password field depending on the checked status of Show password checkbox 1. If the Show password checkbox is CHECKED change the type to text 2. If the Show password checkbox is NOT CHECKED change the type to password Replace < with LESSTHAN symbol and > with GREATERTHAN symbol The following is the HTML and jQuery code <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#cbShowPassword').click(function () { $('#txtPassword').attr('type', $(this).is(':checked') ? 'text' : 'password'); }); }); </script> </head> <body style="font-family:Arial"> Password : <input type="password" id="txtPassword" /> <input type="checkbox" id="cbShowPassword" />Show password </body> </html> The problem with the above approach is that it does not work in IE 8 and earlier versions. This is because with IE8 and earlier versions the type attribute of input elements cannot be changed once set. The following code works in all browsers including IE8 and earlier versions. When Show password checkbox is clicked 1. Retrieve the value the from the password textbox and store it in a variable for later use. 2. Delete the password input filed. 3. If the "Show password" checkbox is CHECKED, then add a new input filed of type text, else add a new input filed of password. In both the cases set the value attribute of the input element = the variable created in Step 1. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#cbShowPassword').click(function () { var currentPassowrdFiled = $('#txtPassword'); var currentPassword = currentPassowrdFiled.val(); currentPassowrdFiled.remove(); if ($(this).is(':checked')) { $(this).before('<input type="text" id="txtPassword" value="' + currentPassword + '">'); } else { $(this).before('<input type="password" id="txtPassword" value="' + currentPassword + '">'); } }); }); </script> </head> <body style="font-family:Arial"> Password : <input type="password" id="txtPassword" /> <input type="checkbox" id="cbShowPassword" />Show password </body> </html>
Views: 27259 kudvenkat
Passing data to event handler in jQuery
 
06:16
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/passing-data-to-event-handler-in-jquery.html In this video we will discuss how to pass data to the event handler function in jQuery The following example, 1. Binds the click event handler to the button using on function 2. We are passing 3 arguments to the on() function a) The name of the event b) JSON object that contains data that we want to pass to the event handler c) Event handler method name 3. In the event handler method (sayHello), we access the data using event object's data property. 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 () { $('#btnClickMe').on('click', { firstName: 'John', lastName: 'Doe' }, sayHello); $('#btnClickMe').on('click', { firstName: 'Mary' }, sayHello); $('#btnClickMe').on('click', sayHello); function sayHello(event) { if (event.data == null) { alert('No name provided'); } else { alert('Hello ' + event.data.firstName + (event.data.lastName != null ? ' ' + event.data.lastName : '')); } } }); </script> </head> <body style="font-family:Arial"> <input id="btnClickMe" type="button" value="Click Me" /> </body> </html> Output : Hello John Doe Hello Mary No name provided
Views: 39195 kudvenkat