Home
Search results “Add style using jquery”
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
how to change css using jquery
 
08:39
http://sufferingitbastards.com/
Views: 1523 dnanetwork
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
CSS Style using Jquery in Tamil
 
07:46
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: 2723 Tutor Joe's Stanley
How To Apply !important To Style Using Jquery css, addClass, attr, prop
 
01:48
Please visit http://www.technomark.in/How-To-Apply-!important-To-Style-Using-Jquery-Css().aspx for more information. How To Apply !important To Style Using Jquery, Apply !important To Style Using Jquery, Apply !important To Style Using Jquery css(), Apply !important To Style Using Jquery addClass, Apply !important To Style Using Jquery attr prop, !important To Style Using Jquery, HTML, PHP, Asp.Net
Views: 183 Admin Technomark
jQuery Image Slider - Quick & Easy
 
12:15
In this video we will build a very simple jQuery image slider or image switcher. We will use a little css for styling as well. CODE: Code for this video http://www.traversymedia.com/downloads/jqslider/jqslider.zip IMAGES ONLY: http://www.traversymedia.com/downloads/jqslider/imagesforslider.zip VISIT US: http://www.traversymedia.com EDUONIX COURSES: Pleas use affiliate links from website below http://www.traversymedia.com/eduonix-courses SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support: http://www.patreon.com/traversymedia http://www.paypal.me/traversymedia FOLLOW TRAVERSY MEDIA: http://www.facebook.com/traversymedia http://www.twitter.com/traversymedia http://www.linkedin.com/bradtraversy
Views: 45326 Traversy Media
Adding And Remove Class  Dynamically Using Jquery In Tamil
 
02:57
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: 2172 Tutor Joe's Stanley
Table Pagination Using jQuery
 
08:04
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: 31982 Code Tube
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 floating div
 
13:36
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-floating-div.html In this video we will discuss, how to create floating div using jQuery. We want the div element in the sidebar to be floating and always visible as we scroll down the page. Example : In this example we are using position() and scrollTop() functions. The object returned by position() function has top and left properties, which can be used to know the current top and left positions (coordinates). We are using this function to find the top position of the div element that we want to keep floating as we scroll down. To get the current vertical position of the scroll bar, we are using scrollTop() function. As we scroll and when the current vertical position of the scroll bar becomes GREATER THAN the top position of the div element, then we want the div element to start floating. To do this set position style to fixed. A fixed position element is positioned relative to the browser window. So as you scroll down it will be floating in the browser window. If the current vertical position of the scroll bar becomes LESS THAN the top position of the div element, then we don't want the div element to float, so we set position style to relative. A relative position element is positioned relative to itself. So if you set position to relative and top to 0, it will continue to stay where it is without floating. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var floatingDiv = $("#divfloating"); var floatingDivPosition = floatingDiv.position(); $(window).scroll(function () { var scrollPosition = $(window).scrollTop(); if (scrollPosition >= floatingDivPosition.top) { floatingDiv.css({ 'position': 'fixed', 'top' : 3 }); } else { floatingDiv.css({ 'position': 'relative', 'top' : 0 }); } }); }); </script> </head> <body style="font-family:Arial;"> <table align="center" border="1" style="border-collapse:collapse"> <tr> <td style="width:500px"> Main Page Content </td> <td style="width:150px; vertical-align:top"> Side panel content <br /><br /> <div id="divfloating" style="background-color:silver; width:150px; height:150px"> Floating Div - Keeps floating as you scroll down the page </div> </td> </tr> </table> </body> </html>
Views: 31574 kudvenkat
Multiple languages using Jquery and Json
 
05:56
Jquery Library: http://code.jquery.com/jquery-1.11.3.min.js
Views: 29615 Chun Dany
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
Build a responsive navigation with CSS and jQuery - with a bonus dropdown effect using CSS clip-path
 
50:43
In this video I look at how to create a responsive menu using jQuery. It’s a bit of a long video where we build out the menu from scratch with HTML, then styling the menu with CSS, before finally using a bit of jQuery to get it to work. Once it's all set up and working, I use a CSS clipping path to give it a bit of a cool animation for when it toggles in and out. I also create my own hamburger menu using pseudo elements and some CSS, creating a custom animation for it with another CSS class and a bit more jQuery. If you’d like to skip to any specific part, the times for all the steps are below, and if you want to play with the code, it's on Codepen - http://codepen.io/kevinpowell/pen/PWNwZm Starting at 02:20 I look at simply building out a vertical menu. At 12:20 I add the hamburger menu At 19:50 I use a little simply bit of jQuery to get the mobile menu to toggle on and off Starting at 24:50 I look at animating the hamburger menu. Then at 28:46 I look at adding in some icons with Font Awesome With the mobile version done, at 37:50 I add a media query so that it is a normal, horizontal navigation on larger screens. Then at 42:00, with the whole thing wrapped up, I change the animation to use clip-path to make the toggling animation a little more interesting, and then fix up a few little loose ends. --- Music by Chillhop: http://youtube.com/chillhopdotcom Mo Anando - In Bloom: https://soundcloud.com/moanando If you have your own channel, check out Chillhop for some awesome music.
Views: 73345 Kevin Powell
Parallax effect | 2 different ways to add it with jQuery
 
21:33
A look at two ways to add a parallax scrolling effect to your website using jQuery, the first is having a background image scroll at a different speed, and the second is having an element move at a different speed. Parallax scrolling is used a lot these days, and often people are using complicated ways to set it up, but it doesn't have to be complicated at all! Honestly, if you want to have parallax scrolling on your website, you can do it yourself without too much trouble at all. The background version won't work for more than one div on a page... this should fix that - https://codepen.io/kevinpowell/pen/YVOLGz Find this on GitHub - https://github.com/kevin-powell/How-to-build-a-responsive-website-from-scratch --- Music by Chillhop: http://youtube.com/chillhopdotcom Mo Anando - In Bloom: https://soundcloud.com/moanando If you have your own channel, check out Chillhop for some awesome music.
Views: 52477 Kevin Powell
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
how to add class attributes to different elements using jquery
 
07:38
how to add class attributes to different elements using jquery
Views: 317 Go Freelancer
jquery how to add multiple css elements to a div?
 
05:48
how to add multiple css elements to a div using jquery.
Views: 168 Go Freelancer
How to add jquery datatable plugin to your website(with bootstrap)
 
17:47
Part 2 of this video tutorial: https://youtu.be/nypL4xpiuyg ------------------------------ slcoder -- programming sight ------------------------------ ------------------------------------------------------------------ Hello everyone, In this video Im gonna show you how to add jquery datatable to your web app ------------------------------------------------------------------ 1. Create folder 'any name you want' 2. download bootstrap 'https://getbootstrap.com/' --- Im downloading version 3 3. open bootstrap zip file that we downloaded and copy paste css, js, and fonts folders to the folder that we created before. 4. make a new file called script.js inside the js file 5. make a new file called style.css inside the css file // not needed for this video 6. make a new file called index.html inside the folder that we created in the first step. 7. we need to add two more things jquery and dataTable plugin - - to download jquery visit: 'https://jquery.com/download/' - to download datatable plugin just goto google and search 'datatable plugin' or visit 'datatable.net'. lets have a look at the demo/ example table first ok, for download click the download link in the right 8. copy paste the jquery file into js folder : I rename it as jquery.js 9. first open the zip file then copy paste `dataTables.bootstrap.js` and `jquery.dataTables.js` into js folder also `dataTables.bootstrap.css` file into css folder. 10. open up the index.html file and write html template first (lets go...) I am using Atom as my text editor: drag and drop the index.html file into atom editor. now you can see every file are loaded to the editor 11. now we need to link bootstrap css files, 12. next, we have to link bootstrap js files, also we need to link jquery file 13. Also datatable js files and css files. //there are two files javascript file and jquery datatable file. 14. again goto datatables.net/examples/styling/bootstrap.html - in this page you can get javascript code and html for table structure. lets see how to do that... copy js code and paste it in script.js file // save this copy paste html table structure into index.html - inside body tag open this index.html in your favorite browser now you can see there is no search box or buttons those are inside the js folder so we need to clearly mention those still problem not solved that because we didnt link the script.js file If there is no styling, that because jquery.dataTables.js file, must add before dataTables.bootstrap.js file there is lot more properties to config datatable. You can refer those in the website most of them I will show you in the next video Also in the next video I will show you how to add our own data in html and how to add data in the js file and also how to display JSON file data inside this table. Also you can get the links in the description with this file also --------------------- Thanks for watching --------------------- slcoder -- programming sight ------------------------------- download links ------------------------------- http://getbootstrap.com/docs/3.3/getting-started/#download https://jquery.com/download/ https://datatables.net/examples/styling/bootstrap.html
Remove Style Using jQuery Css Function
 
01:34
Please visit http://technomark.in/Remove-Style-Using-jQuery-Css-Function.aspx for more information. Remove Style Using jQuery Css Function, Remove Style Using jQuery, Remove Style Using jQuery Function, Best Way To Remove Style Using jQuery, Remove Style, Remove Style In jQuery, jQuery Css Remove style, Remove background Using jQuery, Remove height Using jQuery, Remove Width Using jQuery, jQuery
Views: 133 Admin Technomark
HowTo : Add or Remove Classes with Scroll-Bar using Jquery
 
03:59
In this video you will learn how to add or remove classes with Scroll-Bar using Jquery in 5 minutes. Links :- ~ Source Code :- https://codepen.io/roneetkumar/pen/awevZx Follow me on :- Twitter : https://twitter.com/iamroneet G Plus : https://plus.google.com/+RoneetKumar Github : https://github.com/roneetkumar Codepen : https://codepen.io/roneetkumar
Views: 771 Roneet Kumar
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
Styling a PhoneGap App in 30 Seconds with jQuery
 
07:12
http://www.frameworktv.com | LearnToProgram is now Framework. Visit and join for free daily videos teaching digital skills like coding and design. SUBSCRIBE TO THE FRAMEWORK CHANNEL http://www.youtube.com/subscription_center?add_user=UC4msOaZNMfPwMe_ztV5jFH SUBSCRIBE TO OUR EMAIL LIST (LEARN FOR FREE!) http://www.frameworktv.com/?src=YOUTUBE You can learn to create mobile apps using the HTML skills you already have. To create mobile applications most developers have to learn a brand new language such as Swift of Java. However, that's not the case if you use the PhoneGap library. The PhoneGap library can allow you to create apps that can be distributed in the Apple App Store and the Google Play Store. I've found that the reason that most people don't learn to create mobile apps is that they don't have the time to learn new skills. That's where PhoneGap comes in-- You'll learn to create mobile apps using the languages you already know-- HTML and Javascript. The kinds of apps you can produce are virtually endless. In this video you'll learn how to style your PhoneGap app in just about 30 seconds using the jQuery Mobile library. (This is one of the lessons from our course Mobile App Development with PhoneGap 1.6) VISIT US ON FACEBOOK https://www.facebook.com/frameworkTechnicallySpeaking/ FOLLOW ON TWITTER https://twitter.com/fw_social INSTAGRAM https://www.instagram.com/frameworksocial/ --- Tools Used in this video --- PhoneGap Desktop App: http://phonegap.com/products/#desktop-app-section PhoneGap Mobile App: http://phonegap.com/products/#mobile-app-section
Add - Remove Class in jQuery (Hindi) - 16
 
04:28
jQuery removeClass() Method. ❮ jQuery HTML/CSS Methods. Change the class name of an element. How to use addClass() and removeClass() to remove one class name, and add a new class name. Remove class using a function. Remove several class names.
Views: 44 Teaching Web
How to bind multiple events dynamically using Jquery Tamil
 
04:49
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: 1922 Tutor Joe's Stanley
Change the CSS of an Element Using jQuery, jQuery in freeCodeCamp
 
02:05
In this challenge we learn how to change and manipulate our css, by selecting our target1 ID, and applying the .css color of red.
Views: 568 We Will Code
How to Get Screen Size Using Jquery In Tamil
 
04:53
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 Bind and Unbind Events in Jquery Tamil How to Get Screen Size Using Jquery In Tamil Find Window Screen X axis and Y axis in Jquery Tamil MouseMove Event,Click Event,Change Event,Focus Event ,Blur Event For Free source code and Free Project Please visit : http://www.tutorjoes.com/ http://www.facebook.com/tutorjoes http://www.youtube.com/tutorjoes
Views: 1814 Tutor Joe's Stanley
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
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
Using jQuery to Apply CSS at Runtime
 
04:56
http://access2learn.com/tutorial/javascript/jquery-javascript/applying-css-to-elements/ This simple tutorial shows you how to add CSS styles to an HTML element at run time, i.e. when the user loads the web page. This is nice because it will let you make changes based upon what the user does, not be static for every user.
jQuery tutorial: Adding CSS styles to the text | lynda.com
 
03:29
This jQuery tutorial shows how to style the text in a sliding tabbed panel interface element, using the CSS Styles panel in Dreamweaver. Watch more at http://www.lynda.com/Dreamweaver-tutorials/Create-Sliding-Tabbed-Panel-jQuery-Dreamweaver/105378-2.html?utm_medium=viral&utm_source=youtube&utm_campaign=videoupload-web-dev-1XR4MvMZ9bA. This tutorial is a single movie from the first chapter of the Create a Sliding Tabbed Panel with jQuery and Dreamweaver course presented by lynda.com author Chris Converse. The complete course is 1 hour and 7 minutes long and shows how to build a dynamic sliding tabbed panel from scratch using a combination of HTML, CSS, jQuery, and the tools in Dreamweaver Introduction 1. Creating the HTML Containers 2. Styling the Tabs and Panels 3. Writing the JavaScript and jQuery 4. Creating Custom Graphics 5. Customizing the Panel Styles 6. Adding Progressive Enhancing Techniques 7. Where to Go from Here
Views: 474 LinkedIn Learning
How to add multiple class to div using jquery
 
04:54
How to add multiple class to div using jquery
Views: 733 Go Freelancer
Create Flat Styled Google Maps with jQuery and Flat UI
 
25:38
In today's screencast you can learn how to make custom flat styled Google Maps with jQuery and Flat UI - https://designmodo.com/google-maps-jquery-flat-ui/ How to create custom map styles using flat colors and Flat UI styling. After the design and code work is finished, East explains how to link your finished product into the Designmodo affiliate program
Views: 51310 designmodo
jQuery DOM manipulation methods
 
16:55
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-dom-manipulation-methods.html In this video we will discuss 1. What are jQuery DOM manipulation methods 2. How to set attribute values using jQuery attr() method 3. How to retrieve attribute values using jQuery attr() method 4. How to set multiple attribute values using jQuery attr() method 5. How to remove an attribute using jQuery removeAttr() method What are jQuery DOM manipulation methods jQuery DOM manipulation methods manipulate the DOM in some manner. The complete list of jQuery DOM manipulation methods can be found at the following link. http://api.jquery.com/category/manipulation/ jQuery attr method is used to set or retrieve attribute values of html elements. Retrieves the title attribute value of the first matching element $('div').attr('title') Example : In this example we have 2 DIV elements. Since attr() function retrieves only the attribute value of first matching element, we only get the title attribute value of the first DIV element. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { alert($('div').attr('title')); }); </script> </head> <body style="font-family:Arial"> <div id="div1" title="My DIV1"> DIV 1 </div> <div id="div2" title="My DIV2"> DIV 2 </div> </body> </html> To retrieve the title attribute value of all the matching elements, jQuery each() method can be used. <script type="text/javascript"> $(document).ready(function () { $('div').each(function () { alert($(this).attr('title')); }); }); </script> Sets the title attribute value of all the matching elements to "new div title" $('div').attr('title', 'new div title'); Example : If you want to set the same value for the title attribute of all the elements, then there is no need to loop thru each element. All the div elements in this case will have 'new div title' as the title attribute value. <script type="text/javascript"> $(document).ready(function () { // set the same title attribute value for all the DIV elements $('div').attr('title', 'new div title'); // Retrieve and alert the title attribute value of all DIV elements $('div').each(function () { alert($(this).attr('title')); }); }); </script> If you want to set a different value for the title attribute, then you may need to loop thru each element. <script type="text/javascript"> $(document).ready(function () { // sets a different title attribute value for each DIV element $('div').each(function (i) { $(this).attr('title', 'div ' + (i + 1) + ' title'); }); // Retrieve and alert the title attribute value of all DIV elements $('div').each(function () { alert($(this).attr('title')); }); }); </script> How to set multiple attribute values : Using a JSON object to set multiple attribute values <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var config = { 'title': 'New Div Title', 'style': 'border:3px solid red;', 'name': 'My Div' }; $('div').attr(config); var result = ''; $('div').each(function () { result += 'title = ' + $(this).attr('title') + '<br/>'; result += 'style = ' + $(this).attr('style') + '<br/>'; result += 'name = ' + $(this).attr('name') + '<br/><br/>'; }); $('#resultSpan').html(result); }); </script> </head> <body style="font-family:Arial"> <div id="div1" title="My DIV1"> DIV 1 </div> <br /> <div id="div2" title="My DIV2"> DIV 2 </div> <br /> <span id="resultSpan"> </span> </body> </html> Instead of creating a separate JSON object (config) and then passing it to attr() method, you can create the JSON object inline. $('div').attr({ 'title': 'New Div Title', 'style': 'border:3px solid red;', 'name': 'My Div' });
Views: 69396 kudvenkat
Add class remove class using JQuery
 
04:48
In this article i will show you how to use addclass() and remove class method in jquery. You can do many more things using thsese method because a new class add with your element and you put some effects in the class.
Views: 612 JQUERY
Change Style Sheet Using Javascript Tutorial CSS Swap Stylesheet
 
04:46
Lesson Code: http://www.developphp.com/video/JavaScript/Change-Style-Sheet-Using-Tutorial-CSS-Swap-Stylesheet Learn to change the entire style of your web page with a click using JavaScript that is targeting the href attribute of your familiar link element using the setAttribute method of JavaScript. DEMO: http://www.adamkhoury.com/demo/js_swap_css_stylesheet/
Views: 43004 Adam Khoury
Set DIV to 100% Height of Its Parent Using jQuery
 
15:40
In this tutorial, you'll learn how get your DIVs to be 100% of the height of their container using jQuery. Here's the link for the AJAX and PHP course: http://johnmorrisonline.com/go?id=ajaxphp&utm_campaign=ytWc2I-JU50Ls Get the source code in the Code Snippets section here: http://www.johnmorrisonline.com/web-developer-resources/ Training Center: http://www.johnmorrisonline.com/training Subscribe on YouTube: http://youtube.com/johnmorrisonline Subscribe on SoundCloud: http://soundcloud.com/johnmorrisonline Subscribe on iTunes: http://goo.gl/RggnXW -~-~~-~~~-~~-~- Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree" https://www.youtube.com/watch?v=wxetW3hmPd0 -~-~~-~~~-~~-~- #php #webdev
Views: 5281 John Morris
How to Add and Remove Class using Jquery
 
13:00
How to Add and Remove Class using Jquery
Views: 61 Guru Tuts
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
Date Picker Using jQuery 🗓🗓🗓 💡 Very Simple Way 💡
 
10:01
How to create date time picker using jquery? Jquery UI : https://jqueryui.com/ 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: 1943 Technical Suneja
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
How to add dynamic filed on click of button  jquery
 
10:05
A simple tutorial on add more button functionality using jquery
Views: 733 Everything Here
jQuery UI DatePicker: How to Mark Holidays (Style Some of the Dates) in jQuery UI Date Picker
 
14:38
https://www.udemy.com/jquery-web-development-made-easy/?couponCode=TUBECUST Practical jQuery: Build 9 jQuery Projects https://www.udemy.com/jquery-ui-practical-build-jquery-ui-projects/?couponCode=YOU-CUST jQuery UI in Action: Build 7 jQuery UI Projects https://www.udemy.com/hands-on-jquery-jquery-examples/?couponCode=YouCust Hands-On jQuery: jQuery Examples Find all our Udemy courses here: https://www.udemy.com/user/cryptersinfotech/ To learn jQuery from scratch and to increase your productivity as a web developer, click this link!! jQuery UI DatePicker: How to Mark Holidays (Style Some of the Dates) in jQuery UI Date Picker We have already seen how to add a date picker using jQuery UI and make the required dates non-selectable in the video at http://youtu.be/vUUNH0zUeOg We used the beforeShowDay option for this. We can also apply styles (increase font size, change the color etc) using the same beforeShowDay option. In this video, we mark holidays in the calendar as per by changing the color of the date to red. We store the holiday details in an array and then apply a CSS class for those dates. To know how to write jQuery code easily, see this video: http://youtu.be/ifus3baASaQ To know how to reference jQuery UI files correctly, see the video at http://www.youtube.com/watch?v=vUUNH0zUeOg To know how to disable required dates in jQuery UI datepicker https://youtu.be/vUUNH0zUeOg To know how to enable dates before/after specific dates in jQuery UI datepicker https://youtu.be/tNAmUH_RsrI To know how to format selected date in jQuery UI datepicker https://youtu.be/zlZnAqYPZVc
Views: 7071 Crypters Infotech
JQuery - Facebook Read More / Show More Link using JQUERY,HTML AND CSS
 
07:35
Dynamically shortened Text with “Show More” link using jQuery. Facebook like read more or show more.
Views: 18409 Hack Smile
jQuery Validation Plugin
 
12:57
Views: 568851 Webucator
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
jquery 05 Changing CSS styles with jQuery
 
15:12
Changing the appearance of elements in your HTML with jQuery is super easy, once you learn the syntax of the .css() method. But even more powerful is the ability to add and remove CSS classes on the fly, using styles you wrote into your CSS file. You'll learn how changing or adding ONE property requires a different syntax from adding MULTIPLE property-value pairs, as well as how to toggle between two different sets of styles. Covered in this video: .css() .addClass() .removeClass() .toggleClass() Code: There is no code for this video. There are links to code in other videos in this series. Links: jQuery and CSS (many good examples here) http://api.jquery.com/css/
Views: 25 Intro to Web Apps
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