Home
Search results “Jquery head style”
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: 98976 kudvenkat
jQuery case insensitive attribute selector
 
09:03
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-case-insensitive-attribute.html In this video we will discuss, how to write a jQuery case-insensitive attribute value selector. Let us understand this with an example. The following example, only selects DIV 1. This is because jQuery attribute value selector is case-sensitive. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('div[title="DivTitle"]').css('border', '3px solid red'); }); [/script] [/head] [body] [div title="DivTitle"] DIV 1 [/div] [br /] [div title="DIVTITLE"] DIV 2 [/div] [br /] [div title="divtitle"] DIV 3 [/div] [/body] [/html] Use the following code to make the jQuery attribute value selector case-insensitive [script type="text/javascript"] $(document).ready(function () { $('div[title]').filter(function () { return $(this).attr('title').toLowerCase() == 'divtitle'; }).css('border', '3px solid red'); }); [/script] The above script should select all the 3 divs. Now let us look at an example of making attribute contains selector [name*="value"], case-insensitive. The following example, selects only DIV 1 element. This is because the attribute contains selector is case-sensitive. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('div[title*="Div"]').css('border', '3px solid red'); }); [/script] [/head] [body] [div title="DivTitle1"] DIV 1 [/div] [br /] [div title="DIVTITLE2"] DIV 2 [/div] [br /] [div title="divtitle3"] DIV 3 [/div] [/body] [/html] To make attribute contains selector case-insensitive, use filter() method and regular expression as shown below. [script type="text/javascript"] $(document).ready(function () { $('div[title]').filter(function () { return (/Div/i).test($(this).attr('title')); }).css('border', '3px solid red'); }); [/script] OR [script type="text/javascript"] $(document).ready(function () { $('div[title]').filter(function () { return RegExp('Div','i').test($(this).attr('title')); }).css('border', '3px solid red'); }); [/script] The above script should select all the 3 divs. Visual Studio Keyboard Shortcuts Convert Selected Text to Upper Case - CTRL + SHIFT + U Convert Selected Text to Lower Case - CTRL + U
Views: 73407 kudvenkat
Sticky Navigation Tutorial (Fixed Position CSS + JavaScript / jQuery)
 
13:07
Learn how to create a "sticky" navigation (element should use "fixed" position once it would normally scroll out of view). Check out my "Get a Developer Job" course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBE-HALF-OFF Link to the demo files shown in the lesson: http://learnwebcode.com/sticky-navigation-tutorial/ Have you put together a neat page infused with JavaScript awesomeness and want to move it from your computer to online so the world can see your JS chops? I’ve partnered with A Small Orange and can now offer my students 20% savings on any hosting plan. Hint: the shared “Small” plan is one of the best bangs for your buck around! http://p.asmallorange.com/learnwebcode/specialoffer Sign up for my newsletter to receive periodic webDev tips, tricks, resources and coupons. Join the list at http://learnwebcode.com/ Follow LearnWebCode on Twitter for resources and updates: https://twitter.com/learnwebcode In this lesson we make use of JavaScript and the jQuery library for event handling and conditional logic. If you are unfamiliar with JavaScript I recommend watching these two introductory videos: https://www.youtube.com/watch?v=1vMFpT0h-WI&list=UUHRp19HU7Y2LwfI0Ai6WAGQ https://www.youtube.com/watch?v=gIvR-WX5lIQ&list=UUHRp19HU7Y2LwfI0Ai6WAGQ
Views: 132486 LearnWebCode
jQuery disabled selector
 
04: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/04/jquery-disabled-selector.html In this video we will discuss 1. jQuery disabled selector 2. jQuery enabled selector 3. Where you can find jquery selectors documentation Selects all disabled elements $(':disabled') Selects all disabled elements and sets a 3px solid red border [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $(':disabled').css('border', '3px solid red'); }); [/script] [/head] [body style="font-family:Arial"] [table] [tr] [td]First Name [/td] [td][input type="text" disabled="disabled" /][/td] [/tr] [tr] [td]Last Name [/td] [td][input type="text" disabled="disabled" /][/td] [/tr] [tr] [td]Email [/td] [td][input type="text" /][/td] [/tr] [tr] [td]Gender [/td] [td] [select id="selectGender" disabled="disabled"] [option value="Male"]Male[/option] [option value="Female"]Female[/option] [/select] [/td] [/tr] [tr] [td]Comments[/td] [td][textarea][/textarea][/td] [/tr] [tr] [td colspan="2"] [input type="submit" value="Submit" disabled="disabled"/] [/td] [/tr] [/table] [/body] [/html] Selects all input elements that are disabled and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('input:disabled').css('border', '3px solid red'); }); [/script] Selects all input elements with type=text that are disabled and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('input[type="text"]:disabled').css('border', '3px solid red'); }); [/script] Selects all enabled elements $(':enabled') Selects all enabled textarea elements and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('textarea:enabled').css('border', '3px solid red'); }); [/script] Where can you find jquery selectors documentation https://api.jquery.com/category/selectors
Views: 52836 kudvenkat
jQuery Selectors [#4] Ultimate Web Developer Course (Free Tutorial)
 
07:40
DOWNLOAD THE COURSE FILES HERE https://app.convertkit.com/landing_pages/4167?ref=YouTube_jQuery4 jQUERY SELECTORS In this lecture, we'll learn how to use jQuery selectors. WHAT IS THE ULTIMATE WEB DEVELOPER COURSE? The Ultimate Web Developer Course is one of the most comprehensive, A to Z web designer & developer courses on the web. Over the course of 8 months, I painstakingly researched, designed, developed, and filmed this course which covers everything from Visual Design to Adobe Photoshop; Web Design to Front-End Development; MySQL Programming to Career Building. This course will truly take you from knowing nothing at all, to a well-rounded, knowledgable and skilled web designer and developer. GET THE FULL COURSE + ALL COURSES FOR ONLY $31/mo. http://www.bradhussey.ca/ccsub-youtube To get the entire course, plus access to ALL of my current and future courses, simply head over to Code College using the following link, and enroll in our Unlimited Lifetime Access subscription plan. – http://www.bradhussey.ca/ccsub-youtube
Views: 13791 Brad Hussey
jQuery class selector
 
10:57
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-class-selector.html In this video we will discuss jQuery class selector i.e selecting elements using their class name Syntax : $('.class') jQuery class selectors uses JavaScript's native getElementsByClassName() function if the browser supports it. $('.small') // Selects all elements with class small $('.small,.big') // Selects all elements with class small or big $('div.small,.big') // Selects div elements with class small and any element with class big Selects all elements with class "small" 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 () { $('.small').css('border', '5px solid red'); }); [/script] [/head] [body] [span class="small"] Span 1 [/span] [br /][br /] [div class="small"] Div 1 [/div] [br /] [span class="big"] Span 2 [/span] [p class="big"]This is a paragraph[/p] [/body] [/html] Selects all elements with class "small" or "big" and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('.small, .big').css('border', '5px solid red'); }); [/script] Selects all elements with class "small" and all span elements with class "big" and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('.small, span.big').css('border', '5px solid red'); }); [/script] Selects all elements with class small that are nested in a an element with id=div2 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 () { $('#div2 .small').css('border', '5px solid red'); }); [/script] [/head] [body] [div id="div1" class="small"] DIV 1 [/div] [br /] [div id="div2"] Div 2 [br /] [div class="small"] DIV 3 [/div] [br /] [span class="small"] SPAN [/span] [/div] [/body] [/html] Selects all elements with class small and sets 5px solid red border. Notice div1 has 2 classes - small and big. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('.small').css('border', '5px solid red'); }); [/script] [/head] [body] [div class="small big"] DIV 1 [/div] [br /] [div class="small"] DIV 2 [/div] [/body] [/html] Selects all elements that has both the classes - small and big. There should be no space between the class names. [script type="text/javascript"] $(document).ready(function () { $('.small.big').css('border', '5px solid red'); }); [/script] If you have a space between the two class names then we are trying to find descendants, i.e. find elements with class big that are descendants of an element with class small. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('.small .big').css('border', '5px solid red'); }); [/script] [/head] [body] [div class="small big"] DIV 1 [/div] [br /] [div class="small"] DIV 2 [div class="big"] DIV 3 [/div] [/div] [/body] [/html] Another way to selects all elements that has both the classes - small and big is by using filter method. But this approach is slower because it will first create a list of objects with class "small" and then removes elements that does not have class "big" [script type="text/javascript"] $(document).ready(function () { $('.small').filter('.big').css('border', '5px solid red'); }); [/script]
Views: 102589 kudvenkat
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: 131011 kudvenkat
jQuery Tutorial for Beginners #5 - jQuery Selectors
 
04:57
Hey gang, in this jQuery tutorial for beginners, I'll be showing you how we can use CSS selector syntax to grab content from our web pages in jQuery. If you know how to use CSS, and how to write a decent selector, then grabbing elements using jQuery will be a walk in the park for a ninja like you. To brush up on your CSS selectors, checkout CSS for beginners playlist and find the selector video's - https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT - it all kicks off at lesson 8 :) SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 11825 The Net Ninja
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: 150669 kudvenkat
jQuery class transition animation
 
08:37
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/07/jquery-class-transition-animation.html In this video we will discuss jQuery UI support for animating class transitions. jQuery UI adds support for animating colors and class transitions. We discussed animating colors in Part 101 of jQuery tutorial. In this video we will discuss animating class transitions. With the basic jQuery functionality, the following methods will not animate style properties of a css class. .addClass() .removeClass() .toggleClass() jQuery UI supports animating class transitions. In the example below a reference to jQuery UI is included, hence the class transition animations work while adding and removing classes. If we remove the jQuery UI reference, class transition animations will not work. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <script type="text/javascript"> $(document).ready(function () { var applyClass = true; $('#btnAnimate').click(function () { if (applyClass) { $('#myDiv').addClass('redDiv', 2000); } else { $('#myDiv').removeClass('redDiv', 2000); } applyClass = !applyClass; }); }); </script> <style> .redDiv { background-color: red; color: white; font-size: 20px; border: 5px solid black; padding: 5px; width: 500px; } </style> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> <div id="myDiv"> At Pragim Technologies, training is delivered by real time software experts having more than 10 years of experience. Interview questions and real time scenarios discussion on topics covered for the day. Realtime projects discussion relating to the possible interview questions. Trainees can attend training and use lab untill you get a job. Resume preperation and mock up interviews. 100% placement assistance. 24 hours lab facility. </div> <br /> <input type="button" id="btnAnimate" value="Animate" /> </form> </body> </html> toggleClass() example : Modify the code in jQuery ready function to use toggleClass() instead of addClass() and removeClass() methods. $(document).ready(function () { $('#btnAnimate').click(function () { $('#myDiv').toggleClass('redDiv', 2000); }); }); The following are the common parameters of a addClass(), removeClass() and toggleClass() methods. className - The css class name that you want to add, remove or toggle speed - animation speed. The value can be a string ('slow', 'normal', or 'fast') or a number of milli-seconds. The default is normal i.e 400 milli-seconds. slow and fast are 600 and 200 milli-seconds respectively. easing - The value is a string the specifies the name of the easing function. Easing functions specify the speed at which an animation progresses at different points within the animation callback - A function to call once the animation is complete List of all easing functions http://api.jqueryui.com/easings
Views: 13307 kudvenkat
jQuery Tip 3 Style Sheet Switcher
 
09:52
Essentially what were are doing is just playing with attributes. We are just changing the href attribute of the link in the head of the document and then populating a p tag with what button we clicked. Download filesused from site http://lucidgrafix.com/video/jquery-tip-3-style-sheet-switcher/
Views: 1219 Eric Young
jQuery CSS [#10] Ultimate Web Developer Course (Free Tutorial)
 
08:45
DOWNLOAD THE COURSE FILES HERE https://app.convertkit.com/landing_pages/4167?ref=YouTube_jQuery10 MODIFYING CSS WITH jQUERY In this lecture, we'll learn how to manipulate CSS using jQuery. WHAT IS THE ULTIMATE WEB DEVELOPER COURSE? The Ultimate Web Developer Course is one of the most comprehensive, A to Z web designer & developer courses on the web. Over the course of 8 months, I painstakingly researched, designed, developed, and filmed this course which covers everything from Visual Design to Adobe Photoshop; Web Design to Front-End Development; MySQL Programming to Career Building. This course will truly take you from knowing nothing at all, to a well-rounded, knowledgable and skilled web designer and developer. GET THE FULL COURSE + ALL COURSES FOR ONLY $31/mo. http://www.bradhussey.ca/ccsub-youtube To get the entire course, plus access to ALL of my current and future courses, simply head over to Code College using the following link, and enroll in our Unlimited Lifetime Access subscription plan. – http://www.bradhussey.ca/ccsub-youtube
Views: 9593 Brad Hussey
jQuery selectable filter
 
13: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/07/jquery-selectable-filter.html In this video we will discuss jQuery selectable filter option with an example. Along the way we will also discuss destory method. This is continuation to Part 97. Please watch Part 97 from jQuery Tutorial before proceeding. Here is what we want to be able to do When "Exclude Weekends" checkbox is checked, we should not be able to select weekends (Sat and Sun) When "Exclude Weekends" checkbox is not checked, we should be able to select all days including weekends (Sat and Sun) Code used in the demo <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Demo.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <link href="jquery-ui.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { var selectableList = $('#selectable'); selectableList.selectable({ stop: getSelectedItems }); function getSelectedItems() { var selectedItems = ''; $('.ui-selected').each(function () { selectedItems += $(this).text() + '<br/>'; }); $('#result').html(selectedItems); } function createSelectableList(filterValue) { selectableList.selectable('destroy').selectable({ stop: getSelectedItems, filter: filterValue }); $('#selectable li').removeClass('ui-selected'); $('#result').empty(); var weekends = $('li[data-value="weekend"]'); if (filterValue == '*') { weekends.removeClass('excluded'); } else { weekends.addClass('excluded'); } } $('#cbExclude').click(function () { if ($(this).is(':checked')) { createSelectableList('li[data-value="weekday"]'); } else { createSelectableList('*'); } }); }); </script> <style> li { display: inline-block; border: 1px solid black; padding: 20px; cursor: pointer; } .ui-selecting { background-color: grey; color: white; } .ui-selected { background-color: green; color: white; } .excluded { background-color: red; color:white; cursor:default } </style> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> Exclude Weekends : <input id="cbExclude" type="checkbox"/> <ul id="selectable"> <li data-value="weekday">Mon</li> <li data-value="weekday">Tue</li> <li data-value="weekday">Wed</li> <li data-value="weekday">Thu</li> <li data-value="weekday">Fri</li> <li data-value="weekend">Sat</li> <li data-value="weekend">Sun</li> </ul> You selected : <div id="result"></div> </form> </body> </html>
Views: 14069 kudvenkat
jQuery Tutorial for Beginners #13 - CSS with jQuery
 
06:41
Yo class, in this jQuery tutorial for beginners, we'll take a look at how we can manipulate the CSS of elements on a web page. We can use the CSS method to either check the value of a CSS property or set the value of a CSS property. We can also pass through an object to the CSS method in order to change multiple CSS properties at once. SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 5801 The Net Ninja
How to Install jQuery [#2] Ultimate Web Developer Course (Free Tutorial)
 
13:58
DOWNLOAD THE COURSE FILES HERE https://app.convertkit.com/landing_pages/4167?ref=YouTube_jQuery2 HOW TO DOWNLOAD & INSTALL jQUERY In this lecture, we'll learn how to download and install jQuery using three methods: - Install a local version - Install a remote version using a CDN - Try installing using a CDN, but fallback to local if CDN won't load WHAT IS THE ULTIMATE WEB DEVELOPER COURSE? The Ultimate Web Developer Course is one of the most comprehensive, A to Z web designer & developer courses on the web. Over the course of 8 months, I painstakingly researched, designed, developed, and filmed this course which covers everything from Visual Design to Adobe Photoshop; Web Design to Front-End Development; MySQL Programming to Career Building. This course will truly take you from knowing nothing at all, to a well-rounded, knowledgable and skilled web designer and developer. GET THE FULL COURSE + ALL COURSES FOR ONLY $31/mo. http://www.bradhussey.ca/ccsub-youtube To get the entire course, plus access to ALL of my current and future courses, simply head over to Code College using the following link, and enroll in our Unlimited Lifetime Access subscription plan. – http://www.bradhussey.ca/ccsub-youtube
Views: 52228 Brad Hussey
jQuery autocomplete with images and text
 
20:12
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/07/jquery-autocomplete-with-images-and-text.html In this video we will discuss how to display both images and text in the suggestions menu of jQuery autocomplete widget. Let us understand this with an example. When we type the first character of a country name, we want to retrieve all the countries that start with that letter and display their flag and name in the suggestions menu. Web Service Code using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Web.Script.Serialization; using System.Web.Services; namespace Demo { [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptService] public class CountryService : System.Web.Services.WebService { [WebMethod] public void GetCountries(string term) { string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString; List<Country> countries = new List<Country>(); using (SqlConnection con = new SqlConnection(cs)) { SqlCommand cmd = new SqlCommand("spGetCountries", con); cmd.CommandType = CommandType.StoredProcedure; SqlParameter paramName = new SqlParameter() { ParameterName = "@Name", Value = term }; cmd.Parameters.Add(paramName); con.Open(); SqlDataReader rdr = cmd.ExecuteReader(); while(rdr.Read()) { Country country = new Country(); country.Id = Convert.ToInt32(rdr["Id"]); country.Name = rdr["Name"].ToString(); country.FlagPath = rdr["FlagPath"].ToString(); countries.Add(country); } } JavaScriptSerializer js = new JavaScriptSerializer(); Context.Response.Write(js.Serialize(countries)); } } } jQuery Code <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <link href="jquery-ui.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { $('#txtName').autocomplete({ minLength: 1, source: function (request, response) { $.ajax({ url: 'CountryService.asmx/GetCountries', method: 'post', data: { term: request.term }, dataType: 'json', success: function (data) { response(data); }, error: function (err) { alert(err); } }); }, focus: updateTextBox, select: updateTextBox }) .autocomplete('instance')._renderItem = function (ul, item) { return $('<li>') .append("<img class='imageClass' src=" + item.FlagPath + " alt=" + item.Name + "/>") .append('<a>' + item.Name + '</a>') .appendTo(ul); }; function updateTextBox(event, ui) { $(this).val(ui.item.Name); return false; } }); </script> <style> .imageClass { width: 16px; height: 16px; padding-right: 3px; } </style> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> Country Name : <input id="txtName" type="text" /> </form> </body> </html>
Views: 18191 kudvenkat
Where should the script tag be placed in html
 
09:40
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/2014/11/where-should-script-tag-be-placed-in.html In this video we will discuss, where should the script tag be placed in the html. Should it be placed in the body or head section of the page. In general the script tag can be placed either in the head or body section. Let's look at a few examples : Example 1 : Script tag in the head section [html] [head] [script type="text/javascript"] alert("Welcome to JavaScript Tutorial"); [/script] [/head] [body] [form id="form1" runat="server"] [/form] [/body] [/html] Example 2 : Script tag in the body section [html] [head] [/head] [body] [form id="form1" runat="server"] [/form] [script type="text/javascript"] alert("Welcome to JavaScript Tutorial"); [/script] [/body] [/html] In Example 1 we placed the script tag in the head section and in Example 2, we placed it in body section. In both the cases JavaScript works as expected. Example 3 : Sets the background color of the TextBox to red. [html] [head] [/head] [body] [form id="form1" runat="server"] [asp:TextBox ID="TextBox1" runat="server"][/asp:TextBox] [/form] [script type="text/javascript"] document.getElementById("TextBox1").style.backgroundColor = "red"; [/script] [/body] [/html] Example 4 : This is same as Example 3, except we moved the script tag to the head section. In this case the script will not work as expected. Depending on the browser you are using you get one of the following JavaScript error. Firefox - TypeError: document.getElementById(...) is null Chrome - Uncaught TypeError: Cannot read property 'style' of null IE - Unable to get property 'style' of undefined or null reference To see these JavaScript errors press F12 which launches developer tools. F12 works for all the 3 browsers. [html] [head] [script type="text/javascript"] document.getElementById("TextBox1").style.backgroundColor = "red"; [/script] [/head] [body] [form id="form1" runat="server"] [asp:TextBox ID="TextBox1" runat="server"][/asp:TextBox] [/form] [/body] [/html] Why did the JavaScript did not work in this case JavaScript code is present before the textbox control. By the time the JavaScript code is executed, the textbox is still not loaded into browser DOM (Document Object Model). This is the reason JavaScript can't find the textbox and throws a NULL reference error. In Part 6, we discussed that, in general it is a good practice to store JavaScript in an external .js file. So, if the JavaScript is present in an external file and if you are referencing it on a page using [script] element, where should such [script] element be placed. To answer this question, first let's understand what happens when a browser starts loading a web page. 1. The browser starts parsing the HTML 2. When the parser encounters a [script] tag that references an external JavaScript file. The parser stops parsing the HTML and the browser makes a request to download the script file. Until the download is complete, the parser is blocked from parsing the rest of the HTML on the page. 3. When the download is complete, that's when the parser will resume to parse the rest of the HTML. This means the page loading is stopped until all the scripts are loaded which affects user experience. In general, the suggested good practice is to place the [script] tag just before the closing [body] tag, so it doesn't block the HTML parser. However, modern browsers support async and defer attributes on scripts. These attributes tell the browser it's safe to continue parsing while the scripts are being downloaded. But even with these attributes, from a performance standpoint it is still better to place [script] tag just before closing [body] tag. According to HTTP/1.1 specification browsers download no more than two components in parallel. So, if the page has several images to download and if you place [script] tags at the top of the page, the script files start to download first which blocks the images download which adds to the total page load time.
Views: 91962 kudvenkat
Noscript Styles with JQuery - Tutorial
 
04:35
JavaScript disabled, no problem! Use JQuery to set up noscript styles. Sounds weird huh? PS: Gotta credit Rick Peterman for coming up with this technique. I was limited to 5min, so this tutorial moves kinda fast. #nettuts http://screenr.com/ya7
Views: 1818 Matt Lathrom
jQuery input vs :input
 
13:09
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.  Consider the web page below    Note: Angle tags removed because it's not accepting while upload this content. The following is the HTML of the above page 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: 40 JQuery
Event bubbling in JavaScript
 
15:01
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/01/event-bubbling-in-javascript.html What is event bubbling Let us understand this with an example. HTML elements can be nested inside each other. For example a button element can be nested inside a span element and the span element inturn can be nested inside a div element. Notice that we have onclick attribute specified for all the 3 elements. [html] [head] [style type="text/css"] .styleClass { display: table-cell; border: 1px solid black; padding: 20px; text-align: center; } [/style] [/head] [body] [div class="styleClass" onclick="alert('Div click handler')"]DIV element [span class="styleClass" onclick="alert('Span click handler')"]Span element [input type="button" value="Click me" onclick="alert('Button click handler')" /] [/span] [/div] [/body] [/html] A click on the button, causes a click event to be fired on the button. The button click event handler method handles the event. The click event then bubbles up to the button element parent (span element), which is handled by the span element event handler method. The click event then bubbles up to the span element parent (div element). This is called event bubbling. Notice that if you click on the [span] element, it's event handler and it's parent([div]) element event handler are called. If you click on the [div] element, just the [div] element event handler method is called. So, the event bubbling process starts with the element that triggered the event and then bubbles up to the containing elements in the hierarchy. The following example is similar to the one above, except we removed the onclick attribute from button and span elements. Because of event bubbling, when you click on the button or the span element, the event gets handled by the div element handler. [html] [head] [style type="text/css"] .styleClass { display: table-cell; border: 1px solid black; padding: 20px; text-align: center; } [/style] [/head] [body] [div class="styleClass" onclick="alert('Click event handled by DIV element')"]DIV element [span class="styleClass"]Span element [input type="button" value="Click me"/] [/span] [/div] [/body] [/html] When the event gets bubbled, the keyword this references the current element to which the event is bubbled. In the example below, we are using "this" keyword to reference the current div element and change it's border color. When you click on the innermost [div] element, all the 3 [div] elements border get changed due to event bubbling. [html] [head] [style type="text/css"] .divStyle { display: table-cell; border: 5px solid black; padding: 20px; text-align: center; } [/style] [/head] [body] [div id="DIV1" class="divStyle"] DIV 1 [div id="DIV2" class="divStyle"] DIV 2 [div id="DIV3" class="divStyle"] DIV 3 [/div] [/div] [/div] [script type="text/javascript"] var divElements = document.getElementsByTagName('div'); for (var i = 0; i [ divElements.length; i++) { divElements[i].onclick = function () { this.style.borderColor = "red"; alert(this.getAttribute("id") + " backgound changed"); } } [/script] [/body] [/html] Stopping event bubbling : If you don't want the event to be bubbled up, you can stop it. With Internet Explorer 8 and earlier versions event.cancelBubble = true With Internet Explorer 9 (and later versions) & all the other browsers event.stopPropagation()
Views: 50741 kudvenkat
jQuery attribute value selector
 
08:48
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-value-selector.html In this video we will discuss Attribute Equals Selector [name="value"] Attribute Not Equal Selector [name!="value"] Attribute Contains Selector [name*="value"] Attribute Contains Word Selector [name~="value"] Attribute Contains Prefix Selector [name|="value"] Attribute Starts With Selector [name^="value"] Attribute Ends With Selector [name$="value"] This is continuation to Part 7, please watch Part 7 before proceeding. $('[title="div1Title"]') // Selects all elements that have title attribute value equal to div1Title $('[title!="div1Title"]') // Selects all elements that have title attribute value not equal to div1Title $('[title*="Title"]') // Selects all elements that have title attribute value containing the given substring - Title $('[title~="mySpan"]') // Selects all elements that have title attribute value containing the given word - mySpan, delimited by spaces $('[title|="myTitle"]') // Selects all elements that have title attribute value equal to myTitle or starting with myTitle followed by a hyphen (-) $('[title^="div"]') // Selects all elements that have title attribute value starting with div $('[title$="Heading"]') // Selects all elements that have title attribute value ending with Heading Selects all elements that have title attribute value equal to div1Title 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="div1Title"]').css('border', '5px solid red'); }); [/script] [/head] [body] [div title="div1Title"] DIV 1 [/div] [br /] [div title="div2Title"] DIV 2 [/div] [p title="myTitle-paragraph"] This is a paragraph [/p] [p title="myTitleHeading"] This is a paragraph [/p] [span title="div1Title"] SAPN 1 [/span] [br /][br /] [span title="mySpan Heading"] SPAN 2 [/span] [/body] [/html] Selects all div elements that have title attribute value not equal to div1Title and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('div[title!="div1Title"]').css('border', '5px solid red'); }); [/script] THIS IS $('div[title!="div1Title"]').css('border', '5px solid red'); EQUIVALENT TO $('div:not([title="div1Title"])').css('border', '5px solid red'); Selects all elements that have title attribute value containing the given substring - Title, and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title*="Title"]').css('border', '5px solid red'); }); [/script] Selects all elements that have title attribute value containing the given word - mySpan, delimited by spaces, and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title~="mySpan"]').css('border', '5px solid red'); }); [/script] Selects all elements that have title attribute value equal to myTitle or starting with myTitle followed by a hyphen (-) and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title|="myTitle"]').css('border', '5px solid red'); }); [/script] Selects all elements that have title attribute value starting with div and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title^="div"]').css('border', '5px solid red'); }); [/script] Selects all elements that have title attribute value ending with Heading and sets 5px solid red border [script type="text/javascript"] $(document).ready(function () { $('[title$="Heading"]').css('border', '5px solid red'); }); [/script]
Views: 84038 kudvenkat
jQuery Race Car Game [#11] Ultimate Web Developer Course (Free Tutorial)
 
24:28
DOWNLOAD THE COURSE FILES HERE https://app.convertkit.com/landing_pages/4167?ref=YouTube_jQuery11 BUILD A jQUERY RACECAR GAME In this project, we'll take a simple step-by-step approach to building our very own Race Car game using jQuery! WHAT IS THE ULTIMATE WEB DEVELOPER COURSE? The Ultimate Web Developer Course is one of the most comprehensive, A to Z web designer & developer courses on the web. Over the course of 8 months, I painstakingly researched, designed, developed, and filmed this course which covers everything from Visual Design to Adobe Photoshop; Web Design to Front-End Development; MySQL Programming to Career Building. This course will truly take you from knowing nothing at all, to a well-rounded, knowledgable and skilled web designer and developer. GET THE FULL COURSE + ALL COURSES FOR ONLY $31/mo. http://www.bradhussey.ca/ccsub-youtube To get the entire course, plus access to ALL of my current and future courses, simply head over to Code College using the following link, and enroll in our Unlimited Lifetime Access subscription plan. – http://www.bradhussey.ca/ccsub-youtube
Views: 23336 Brad Hussey
jQuery Tutorial for Beginners #14 - Adding & Removing Classes
 
07:10
Hey gang, in this jQuery tutorial for beginners, I'll show you how we can add and remove (and toggle) HTML classes. I'll also go through a practical examaple of how toggleClass would work on a real website. The three methods we'll look at are: addClass() removeClass() toggleClass() Any questions, shout out below :). SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 6802 The Net Ninja
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: 51519 kudvenkat
jQuery Syntax [#3] Ultimate Web Developer Course (Free Tutorial)
 
10:00
DOWNLOAD THE COURSE FILES HERE https://app.convertkit.com/landing_pages/4167?ref=YouTube_jQuery3 THE SIMPLE SYNTAX OF jQUERY In this lecture, we'll learn the extremely simple, and easy-to-understand syntax of jQuery. Once you start coding with jQuery, you'll never want to go back to vanilla Javascript again! WHAT IS THE ULTIMATE WEB DEVELOPER COURSE? The Ultimate Web Developer Course is one of the most comprehensive, A to Z web designer & developer courses on the web. Over the course of 8 months, I painstakingly researched, designed, developed, and filmed this course which covers everything from Visual Design to Adobe Photoshop; Web Design to Front-End Development; MySQL Programming to Career Building. This course will truly take you from knowing nothing at all, to a well-rounded, knowledgable and skilled web designer and developer. GET THE FULL COURSE + ALL COURSES FOR ONLY $31/mo. http://www.bradhussey.ca/ccsub-youtube To get the entire course, plus access to ALL of my current and future courses, simply head over to Code College using the following link, and enroll in our Unlimited Lifetime Access subscription plan. – http://www.bradhussey.ca/ccsub-youtube
Views: 18055 Brad Hussey
Styling HTML 5 Forms #5 - Styling Select Boxes
 
06:38
----- COURSE LINKS: + Repo - https://github.com/iamshaunjp/styling-html5-forms-playlist + Atom editor - https://atom.io/ CSS Playlist - https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT HTML Playlist - https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc --------------------------------------------------------------------------------------------- You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage... SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== PSD to WordPress Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W ============ Node.js for Beginners Playlist ============= https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp ============== The Net Ninja ===================== For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ================== Social Links ================== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 21612 The Net Ninja
jQuery checked selector
 
11:19
In this video we will discuss the jQuery :checked selector. The :checked selector selects all checked check-boxes or radio buttons. Let us understand this with an example.  Selects all checked radio button elements $('input[type="radio"]:checked') Example : When you click the submit button without selecting any radio button, "No radio button checked" message should be displayed.    When you click the submit button after a radio button is checked, then a message stating "Male is checked" or "Female is checked" should be displayed.  Note: Angle tags removed because it's not accepting while upload this content.   html head      title /title      script src="jquery-1.11.2.js" /script      script type="text/javascript"         $(document).ready(function () {             $('#btnSubmit').click(function () {                 var result = $('input[type="radio"]:checked');                 if (result.length 0) {                     $('#divResult').html(result.val() + " is checked");                 }                 else {                     $('#divResult').html("No radio button checked");                 }             });         });      /script /head body style="font-family:Arial"     Gender :      input type="radio" name="gender" value="Male" Male      input type="radio" name="gender" value="Female" Female      br / br /      input id="btnSubmit" type="submit" value="submit" /      br / br /      div id="divResult"      /div /body /html Selects all checked checkbox elements $('input[type="checkbox"]:checked') Example : When you click the submit button without checking any checkbox, "No checkbox checked" message should be displayed.    When you click the submit button after checking a checkbox, then a message stating the number of checkboxes checked and their values should be displayed.    html head      title /title      script src="jquery-1.11.2.js" /script      script type="text/javascript"         $(document).ready(function () {             $('#btnSubmit').click(function () {                 var result = $('input[type="checkbox"]:checked');                 if (result.length 0) {                     var resultString = result.length + " checkboxe(s) checked br/ ";                     result.each(function () {                         resultString += $(this).val() + " br/ ";                     });                     $('#divResult').html(resultString);                 }                 else {                     $('#divResult').html("No checkbox checked");                 }             });         });      /script /head body style="font-family:Arial"     Skills :      input type="checkbox" name="skills" value="JavaScript" / JavaScript      input type="checkbox" name="skills" value="jQuery" / jQuery      input type="checkbox" name="skills" value="C#" / C#      input type="checkbox" name="skills" value="VB" / VB      br / br /      input id="btnSubmit" type="submit" value="submit" /      br / br /      div id="divResult"      /div /body /html
Views: 104 JQuery
Responsive Web Design Tutorial #9 - Making a Mobile Drop-down Menu
 
10:44
Yo ninjas, in this responsive design tutorial, I'm gonna show you how to make a simple but effective drop-down mobile navigation using just CSS and a little jQuery. jQuery - http://code.jquery.com/jquery-1.11.3.min.js SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 79223 The Net Ninja
jQuery datatable show hide columns
 
09:05
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/08/jquery-datatable-show-hide-columns.html In this video we will discuss how to show or hide columns of a jQuery datatable. This is continuation to Part 107. Please watch Part 107 from jQuery tutorial before proceeding. When we click on a column name, the respective column visibility should be toggled. The following are the changes required for the example we worked with in Part 107. Include the following HTML just above the datatable markup <div style="padding: 5px; padding-left: 0px"> <b>Show/Hide Column : </b> <a class="showHideColumn" data-columnindex="0">Id</a> - <a class="showHideColumn" data-columnindex="1">First Name</a> - <a class="showHideColumn" data-columnindex="2">Last Name</a> - <a class="showHideColumn" data-columnindex="3">Gender</a> - <a class="showHideColumn" data-columnindex="4">Job Title</a> - <a class="showHideColumn" data-columnindex="5">Web Site</a> - <a class="showHideColumn" data-columnindex="6">Salary</a> - <a class="showHideColumn" data-columnindex="7">Hire Date</a> </div> Include the following style section, in the head section of the page <style> .showHideColumn { cursor: pointer; color: blue; } </style> Finally, include the following code block in the success callback function $('.showHideColumn').on('click', function () { var tableColumn = datatableInstance.column($(this).attr('data-columnindex')); tableColumn.visible(!tableColumn.visible()); });
Views: 31084 kudvenkat
How To Make Pure CSS Scrollable Table Fixed Header With Scrolling
 
09:40
#cssfixedheader #tablefixedheader #htmlcssstyles Using only css styles to a table make the header sticky titles
Screencast #20: Introduction to jQuery
 
17:02
The popular JavaScript library jQuery is an amazing way to extend the design possibilities of your site beyond what CSS can do. But luckily, if you are already comfortable with CSS, you have a huge head start in jQuery! This is a very basic introduction to including jQuery on your web page and getting started writing a few functions. Recorded Nov. 24, 2008.
Views: 7760 Chris Coyier
jQuery tabs in asp net
 
16:07
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-tabs-in-aspnet.html In this video we will discuss how to use jQuery tabs in an ASP.NET web forms application. jQuery tabs widget is a single content area with multiple panels, each associated with a header in a list. This is similar to Accordion widget, which we discussed in Part 74 and 75. a) Tabs must be in either an ordered or unordered list b) Each tab "title" must be inside of a list item and wrapped by an anchor element with an href attribute c) Each tab panel may be any valid element but it must have an id which corresponds to the hash in the anchor of the associated tab. Steps to retrieve data from a database table and present it using jQuery accordian in an asp.net webforms application. We will use the country webservice that we worked with in the previous video session. We want to retrieve data from the following database table tblEmployee and display it using jQuery tabs widget in an asp.net web forms application Add a WebForm to the project. Copy and paste the following code. Notice that we are using 2 repeater controls to produce the HTML that the jQuery tabs widget expects. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Demo.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <link href="jquery-ui.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { $('#tabs').tabs({ collapsible: true, active: 1, event: 'mouseover' }); }); </script> </head> <body> <form id="form1" runat="server"> <div id="tabs" style="width: 600px"> <ul> <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <li> <a href="#C_<%#Eval("ID")%>"><%#Eval("Name") %> </a> </li> </ItemTemplate> </asp:Repeater> </ul> <asp:Repeater ID="Repeater2" runat="server"> <ItemTemplate> <div id="C_<%#Eval("ID")%>"> <%#Eval("CountryDescription")%> </div> </ItemTemplate> </asp:Repeater> </div> </form> </body> </html> Copy and paste the following code in the code-behind file using System; namespace Demo { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Services.CountryServiceSoapClient client = new Services.CountryServiceSoapClient(); Services.Country[] countries = client.GetCountries(); Repeater1.DataSource = countries; Repeater1.DataBind(); Repeater2.DataSource = countries; Repeater2.DataBind(); } } } jQuery Tabs Widget Options collapsible - By default, atleast one panel need to be active. If you want to collapse all the panels, including the one that is active, set this option to true. active - This option can be set to a boolean value or integer. Setting active to false will collapse all panels. This requires the collapsible option to be true. An Integer value will make the corresponding panel active. Panels use zero-based index. event - The type of event that the tabs should react to in order to activate the tab. The default is "click". To activate on hover, use "mouseover".
Views: 24395 kudvenkat
jQuery selected selector -  DropDownlist
 
07:37
In this video we will discuss jQuery :selected selector. To select all checked checkboxes or radio buttons, we use :checked selector. To select all selected options of a select element use :selected selector. How to get selected option from single select dropdown in jquery : We want to get the selected option text and value Note: Angle tags removed because it's not accepting while upload this content. html head title /title script src="jquery-1.11.2.js" /script script type="text/javascript" $(document).ready(function () { $('#selectCountries').change(function () { var selectedOption = $('#selectCountries option:selected'); $('#divResult').html('Value = ' + selectedOption.val() + ', Text = ' + selectedOption.text()); }); }); /script /head body style="font-family:Arial" Country: select id="selectCountries" option selected="selected" value="USA" United States /option option value="IND" India /option option value="UK" United Kingdom /option option value="CA" Canada /option option value="AU" Australia /option /select br / br / div id="divResult" /div /body /html How to get all selected options from multi-select dropdown in jquery : We want to get all the selected options text and value. html head title /title script src="jquery-1.11.2.js" /script script type="text/javascript" $(document).ready(function () { $('#selectCountries').change(function () { var selectedOptions = $('#selectCountries option:selected'); if (selectedOptions.length 0) { var resultString = ''; selectedOptions.each(function () { resultString += 'Value = ' + $(this).val() + ', Text = ' + $(this).text() + ' br/ '; }); $('#divResult').html(resultString); } }); }); /script /head body style="font-family:Arial" select id="selectCountries" multiple="multiple" option selected="selected" value="USA" United States /option option value="IND" India /option option value="UK" United Kingdom /option option value="CA" Canada /option option value="AU" Australia /option /select br / br / div id="divResult" /div /body /html Please note : Hold down the CTRL key, to select more than one item.
Views: 219 JQuery
Web Development Training | Free Course ( HTML, CSS, Bootstrap, Java Script, jQuery, PHP) #1
 
09:11
In this video, i am going to start complete web development course in which i shall cover HTML, CSS, Bootstrap, Java Script JQUERY PHP . _____________________* List of HTML Training Videos *_____________________ * Web Development Training | Course ( HTML, CSS, Bootstrap, Java Script JQUERY PHP) #1 Click: https://youtu.be/RLU7EJYh188 * Basic tags of Html | Head | Title | Link | Style | Body tags #2 Click: https://youtu.be/5zhQUM5AfQw * Html Headings (h1 h2 h3 h4 h5 h6) tags | Paragraph tag and Anchor tag #3 Click: https://youtu.be/UqvvIzoqL1U * Button tag and Image tag in html #4 Click: https://youtu.be/LEtwiu0Nqbs * Inspect html elements | How to use console | Change CSS Live #5 Click: https://youtu.be/rUNortWlLn4 * Create Tooltip in html | interesting Concept | Small Popup #6 Click: https://youtu.be/U8GYOe118KY * HTML Styling With CSS (Inline Style | Internal Style | External style ) #7 Click: https://youtu.be/lVB_cPr7hIo * HTML Formatting Basic Tags (br strong i em sub sup del ins mark small ) #8 Click: https://youtu.be/WtVHGenTiuM * HTML Links ( _blank _self _top _parent) Where to Open the Page or Link #9 Click: https://youtu.be/30i-4l7ZNQY * HTML Table | ( table tr th td ) | See Brief and Practical Example #10 Click: https://youtu.be/UdWRVGuITNE * Row Span and Col Span in HTML Table | Simple and Easy Explanation #11 Click: https://youtu.be/zQm0E25vXzI * HTML iframe | Open Page inside Page | very interesting | Why insecure ? #12 Click: https://youtu.be/kd_KPNgipw0 * Style HTML Elements by ID and Class | Learn Difference | Practical Example #13 Click: https://youtu.be/DY0dLM5ikCI * HTML Form | Practicle Example | very Simple and Easy #14 Click: https://youtu.be/NfmB5Q4U1sk * HTML Form with CSS | Practicle Example | Really Simple and Easy #15 Click: https://youtu.be/njlqVFU9K0g * HTML input Attributes ( Placeholder | Required | Readonly | Disabled | Checked) very important #16 Click: https://youtu.be/IY2DWFIL8qM * Types of List in HTML (Ordered List | Unordered List | Description List) Quick Explanation #17 Click: https://youtu.be/7DsSV8UwgWM * Audio Video tags in HTML | interesting Video #18 Click: https://youtu.be/BujSDqvk2Lc * Useful HTML Tags (div, pre, hr, label, hr, empty tags, nested tags) Very Useful Video #19 Click: https://youtu.be/-Cjsq0Guh1s * HTML inline and Block Elements | Practical Difference with example on console #20 Click: https://youtu.be/uLnNZfNf2E8 * Date picker and Color picker in HTML | Solve date validation problem #21 Click: https://youtu.be/EYbpqqWcdIU * html fundamentals (&nbsp, upload, span, entities etc) very important concepts #22 Click: https://youtu.be/DCbF70VtOpU ______________________________________________________ * Quickly Create Website using HTML/CSS * ------------------------------------------------------ Click: https://youtu.be/YKkaRvj49Wk ______________________________________________________ * CSS Training * ------------------------------------------------------ Click: https://youtu.be/0c3gvHTzr3E ______________________________________________________ * PHP Training * ------------------------------------------------------ Click: https://youtu.be/sRUecHHhFp4 ______________________________________________________ * C Language Training * ------------------------------------------------------ Click: https://youtu.be/OZ6nHWdDHEg ______________________________________________________ * Training for How to Create a Blog * ------------------------------------------------------ Click: https://youtu.be/vYuhvYjpkTI ______________________________________________________ * Adobe Photoshop Training * ------------------------------------------------------ Click: https://youtu.be/vYuhvYjpkTI ______________________________________________________ * Computer Graphics Programs * ------------------------------------------------------ Click: https://youtu.be/uKj7TUdTJCM ______________________________________________________ * MS Office Training * ------------------------------------------------------ Click: https://youtu.be/wKUSACgrtG4 ______________________________________________________ * Computer Basics Training * ------------------------------------------------------ Click: https://youtu.be/ZTCknN5RlYo ______________________________________________________ * English Speaking Course * ------------------------------------------------------ Click: https://youtu.be/wnC_KW9uHWw ______________________________________________________ * Wordpress Training * ------------------------------------------------------ Click: https://youtu.be/3Cm6mnoZrH8 ______________________________________________________ * Bootstrap Training (uploading soon...) * LIKE | COMMENT | SHARE | SUBSCRIBE The channel link is : https://goo.gl/XiMV5S
Views: 61 Amazing Learning
Best jQuery Tutorial Series for Beginners Part 2 - Get Started
 
06:48
Adding jQuery to Your Web Pages There are several ways to start using jQuery on your web site. You can: Download the jQuery library from jQuery.com Include jQuery from a CDN, like Google Downloading jQuery There are two versions of jQuery available for downloading: Production version - this is for your live website because it has been minified and compressed Development version - this is for testing and development uncompressed and readable code Both versions can be downloaded from jQuery.com. The jQuery library is a single JavaScript file, and you reference it with the HTML script tag -- notice that the script tag should be inside the head section: script src="jquery-3.1.1.min.js" Tip: Place the downloaded file in the same directory as the pages where you wish to use it. jQuery CDN If you don't want to download and host jQuery yourself, you can include it from a CDN -- Content Delivery Network. Both Google and Microsoft host jQuery. To use jQuery from Google or Microsoft, use one of the following: Google CDN: script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
Views: 447 variabletips
jQuery/HTML/CSS BANGLA part 10( text, html, css )
 
10:21
FREE BANGLA TUTORIALS TO LEARNING AND EARNING
Views: 92 SOFTTECH- IT24
Playing with jQuery and the CSS class selector
 
09:41
The CSS Class selector is very useful when you need to manage or apply CSS styles to multiple elements. Additionally the CSS Selector also has performance advantages and can be overloaded. All of this becomes more exciting, when jQuery is used to add/remove or toggle classes. In this screencast, we'll take a look at how jQuery makes it easy to add/remove or toggle classes based on user events such as mouse-clicks and mouse-overs. Follow along with the code sample provided at: https://github.com/learnable-content/playing-with-jquery-and-class-selectors This screencast is a sample of my course - Introduction to jQuery https://learnable.com/courses/introduction-to-jquery-2884 on Learnable. This course is designed to get you up and running with jQuery with practical and easy to use examples. If you like this screencast, then head over to Learnable.com to join this course today!
Views: 2751 SitePoint
HTML and CSS Tutorials 3 : head, footer, titles, and link elements
 
07:00
In this tutorial we will learn some of the fundamental html elements to start creating our first website. These essential elements will help us structure and organize our code and allow us to do basic navigation by creating links. We will also set the title of our page, which generally shows up in tab of a web browser. The course will teach you how to become a Web Application Engineer, knowing languages like php, ruby, html5, css3, javascript, jquery, ajax, and working with mysql databases. This is the beginning of the course where we will learn the basics of HTML and CSS. . Visit Our Friends @ Stone River E-Learning for Additional Tutorials - http://bit.ly/1fjsXTn Coupon 20% Off HTML & CSS for Beginners - http://bit.ly/1MmuYfw
Views: 11368 mybringback
Html Link Tag javascript Link Tags CSS in Html Head Tag
 
05:33
Html Link Tag Javascript Using Script tag , Html Link Tags css , Javascript place in html Head Tag, Html Link Rel in css stylesheet
Views: 507 Design Tyro
Autocomplete textbox using jquery in asp net
 
17:30
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/autocomplete-textbox-using-jquery-in.html In this video we will discuss, how to implement autocomplete textbox using jquery and asp.net. The suggestions should come from the database table. Stored procedure to retrieve employee name suggestions Create proc spGetStudentNames @term nvarchar(50) as Begin Select Name from tblStudents where Name like @term + '%' End StudentHandler.ashx code using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Web; using System.Web.Script.Serialization; namespace Demo { public class StudentHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { string term = context.Request["term"] ?? ""; List<string> listStudentNames = new List<string>(); string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString; using (SqlConnection con = new SqlConnection(cs)) { SqlCommand cmd = new SqlCommand("spGetStudentNames", con); cmd.CommandType = CommandType.StoredProcedure; SqlParameter parameter = new SqlParameter() { ParameterName = "@term", Value = term }; cmd.Parameters.Add(parameter); con.Open(); SqlDataReader rdr = cmd.ExecuteReader(); while (rdr.Read()) { listStudentNames.Add(rdr["Name"].ToString()); } } JavaScriptSerializer js = new JavaScriptSerializer(); context.Response.Write(js.Serialize(listStudentNames)); } public bool IsReusable { get { return false; } } } } Download jQuery UI from jqueryui.com. Copy and paste the following files in your project. a) jquery-ui.js b) jquery-ui.css c) images Add a WebForm to the ASP.NET project. Copy and paste the following HTML and jQuery code. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Demo.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <link href="jquery-ui.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { $('#txtName').autocomplete({ source: 'StudentHandler.ashx' }); }); </script> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> Student Name : <asp:TextBox ID="txtName" runat="server"> </asp:TextBox> </form> </body> </html>
Views: 54275 kudvenkat
jQuery get selected checkbox text
 
11:04
jQuery get selected checkbox text In this video we will discuss how to get the checked checkbox text along with the value. Here is what we want to do. As we check the checkboxes, we want to display the count of checkboxes checked and their text and values. Note: Angle tags removed because it's not accepting while upload this content. html head title /title script src="jquery-1.11.2.js" /script script type="text/javascript" $(document).ready(function () { $('input[name="skills"]').click(function () { getSelectedCheckBoxes('skills'); }); $('input[name="cities"]').click(function () { getSelectedCheckBoxes('cities'); }); var getSelectedCheckBoxes = function (groupName) { var result = $('input[name="' + groupName + '"]:checked'); if (result.length 0) { var resultString = result.length + " checkbox checked br/ "; result.each(function () { var selectedValue = $(this).val(); resultString += selectedValue + " - " + $('label[for="option-' + selectedValue + '"]').text() + " br/ "; }); $('#div' + groupName).html(resultString); } else { $('#div' + groupName).html("No checkbox checked"); } }; }); /script /head body style="font-family:Arial" Skills : input type="checkbox" name="skills" value="js" / label for="option-js" JavaScript /label input type="checkbox" name="skills" value="jq" / label for="option-jq" jQuery /label input type="checkbox" name="skills" value="cs" / label for="option-cs" C# /label input type="checkbox" name="skills" value="vb" / label for="option-vb" VB /label br / br / Preferred Cities : input type="checkbox" name="cities" value="ny" / label for="option-ny" New York /label input type="checkbox" name="cities" value="nd" / label for="option-nd" New Delhi /label input type="checkbox" name="cities" value="ln" / label for="option-ln" London /label br / br / Selected Skills: br / div id="divskills" /div br / Selected Cities: br / div id="divcities" /div /body /html
Views: 234 JQuery
jQuery Fundamentals Bangla Tutorial - Set Content and Attributes (Part - 10)
 
11:33
Please Note: This is jQuery Tutorial in Bengali language(জেকোয়েরি টিউটোরিয়াল) jQuery Bangla video tutorial- jQuery set content ➠ ➠ Please do not hesitate to Knock Here ➠ ➠ ------------------------------------------------------------------------------------ ➽Visit our website: http://www.trainingwithliveproject.com ➽Like us: https://www.facebook.com/ProDelowar ➽Like us: https://www.facebook.com/twlpls ------------------------------------------------------------------------------------ ➤Playlist: https://www.youtube.com/playlist?list=PLTydW-y9HsbTyO6o_W-55HFwZcQD1VFAq ------------------------------------------------------------------------------------ ➤Play again this tutorial: https://www.youtube.com/watch?v=sRo6lozNYoo&index=10&list=PLTydW-y9HsbTyO6o_W-55HFwZcQD1VFAq ➤ Search Google: https://www.google.com.bd/search?q=Traning+with+liveprojects.com ------------------------------------------------------------------------------------ ➤jQuery website : http://jquery.com/ ➤jQuery CDN: https://code.jquery.com/ ➤Google Hosted Libraries: https://developers.google.com/speed/libraries/ ➤Microsoft Ajax Content Delivery Network : http://www.asp.net/ajax/cdn ------------------------------------------------------------------------------------
Add Javascript To Specific WordPress Pages Using Functions.php
 
07:56
Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Add Javascript To Specific WordPress Pages https://youtu.be/Fw6VDOZYqrM Link to blog post with code: https://wplearninglab.com/add-javascript-specific-wordpress-pages/ Link to Conditional Tags in WordPress codex: https://codex.wordpress.org/Conditional_Tags If you want to add JavaScript to a specific page in WordPress this is how you do it without using a plugin. You do have edit the functions.php file, so do that carefully. Backup your existing functions file if you need to. Then just use the code from the blog post to add JavaScript to any page on your WordPress site. Stop brute force attacks before they happen with this workshop: https://wplearninglab.com/brute-force-eliminator-workshop Grab your free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download your exclusive 10-Point WP Security Checklist: http://bit.ly/10point-wordpress-hardening-checklist I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter. -------------- If you want more excellent WordPress information check out our website where we post WordPress tutorials daily. https://wplearninglab.com/ Connect with us: WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab Facebook: https://www.facebook.com/wplearninglab Twitter: https://twitter.com/WPLearningLab Google Plus: http://google.com/+Wplearninglab Pinterest: http://www.pinterest.com/wplearninglab/
jquery background color animate
 
06: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/07/jquery-background-color-animate.html In this video we will discuss animating colors using jquery. With the basic jQuery functionality, animate() method cannot animate non-numeric style properties like color, background-color, and border-color. jQuery UI adds the ability to animate color properties. In the example below a reference to jQuery UI is included, hence the color animations work. If we remove the reference, color animations will not work, but other numeric style properties (font-size, border-width) continue to work. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <script src="jquery-ui.js"></script> <script type="text/javascript"> $(document).ready(function () { var toggleColor = false; $('#btnAnimate').click(function () { var divElement = $('#myDiv'); if (toggleColor) { divElement.animate({ 'font-size': '15', 'border-width': '1', 'background-color': 'red', 'color': 'white', 'border-color': 'green' }, 2000); } else { divElement.animate({ 'font-size': '20', 'border-width': '10', 'background-color': 'green', 'color': 'white', 'border-color': 'red' }, 2000); } toggleColor = !toggleColor; }); }); </script> <style> </style> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> <div id="myDiv" style="width: 500px; border: 1px solid black; padding: 5px; font-size: 15px"> At Pragim Technologies, training is delivered by real time software experts having more than 10 years of experience. Interview questions and real time scenarios discussion on topics covered for the day. Realtime projects discussion relating to the possible interview questions. Trainees can attend training and use lab untill you get a job. Resume preperation and mock up interviews. 100% placement assistance. 24 hours lab facility. </div> <br /> <input type="button" id="btnAnimate" value="Animate" /> </form> </body> </html>
Views: 14729 kudvenkat
#6 Learn JavaScript Embedding | Learn JavaScript and JQuery For Beginners In Hindi By Sachin Kapoor
 
14:20
Get enroll in our online course and access all video lectures. REGISTER AT http://www.scalive.in/scalive-inquiry/ JavaScript course for beginners - Go from a total JavaScript beginner to an advanced JavaScript developer. This javascript tutorial series has been created for beginners to help them understand the basic concepts of javascript programming. Learn jquery and understand how JavaScript really works with javascript popular framework jquery. And practice writing JavaScript with a project. References HTML : https://www.w3schools.com/html/default.asp CSS : https://www.w3schools.com/css/default.asp Mr. Sachin Kapoor is the head and CEO at Sharma Computer Academy with an experience of over 21 years which includes 15 years at SCA. He has trained over a hundred thousand students and professionals in programming and software development. He is also director of Abhi and Aish Infotech pvt. ltd., an emerging company for software development and solutions. Courses: C, C++, Java(JSE,JEE), Android, PHP, Oracle, Hadoop, Data Structures and many more technologies. To learn any of the above course online, visit http://www.scalive.in/scalive-inquiry/
Views: 1233 SCA
HowTo : Make Search-Bar with Java-Script
 
08:19
In this video you will learn how to make Search-Bar with Java-Script in 10 minutes. ~ ignore adding jquery link in HEAD Tag, search-bar will work fine. In jquery i messed up something so i ended up using good old JavaScipt. Links :- ~ Source Code :- http://codepen.io/roneetkumar/pen/WpbOwe 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: 10113 Roneet Kumar
Web Image Carousel For Finance Kiosk
 
01:17
Create a simple image carousel webpage in kiosk device for your local finance events using BootStrap & JQuery. @html lang="en"? @head? @title?Sam Finance Concepts - Image Carousel [email protected]/title? @meta charset="utf-8"? @meta name="viewport" content="width=device-width, initial-scale=1", shrink-to-fit=no"? @link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"? @script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"[email protected]/script? @script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"[email protected]/script? @script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"[email protected]/script? @style? .carousel-inner img { width: 100%; height: 75%; } @/style? @/head? @body? @nav class="navbar navbar-expand-lg navbar-light bg-light"? @div class="collapse navbar-collapse" id="navbarSupportedContent"? @ul class="navbar-nav mr-auto"? @li class="nav-item active"? @a class="nav-link" href="#"?Home @span class="sr-only"?(current)@/[email protected]/a? @/li? @/ul? @/div? @/nav? @div class="container mt-3"? @h1 class="display-4"?Create Image Carousel Webpage for Finance [email protected]/h1? @div id="img_caro" class="carousel slide"? @ul class="carousel-indicators"? @li class="item1 active"[email protected]/li? @li class="item2"[email protected]/li? @li class="item3"[email protected]/li? @/ul? @div class="carousel-inner"? @div class="carousel-item active"? @img src="1.jpg" width="1000" height="400"? @div class="carousel-caption"? @h1?Investor Talk [email protected]/h1? @p?The future [email protected]/p? @/[email protected]/div? @div class="carousel-item"? @img src="2.jpg" width="1000" height="400"? @div class="carousel-caption"? @h1?CFA after [email protected]/h1? @p?The best [email protected]/p? @/[email protected]/div? @div class="carousel-item"? @img src="3.jpg" width="1000" height="400"? @div class="carousel-caption"? @h1?CPA after [email protected]/h1? @p?The future [email protected]/p? @/[email protected]/div? @a class="carousel-control-prev" href="#img_caro"? @span class="carousel-control-prev-icon"[email protected]/span? @/a? @a class="carousel-control-next" href="#img_caro"? @span class="carousel-control-next-icon"[email protected]/span? @/a? @/div? @/div? @div class="jumbotron jumbotron-fluid"? @div class="container"? @h1 class="display-4"?CFA [email protected]/h1? @p class="lead"?Event topic on Par Value and evaluation [email protected]/p? @hr class="my-3"? @p?Get access to methods of par valuation and evaluation by industry experts. Hedge Funds managers share their knowledge with you on how to protect your assets. Lead by industry players pushing new [email protected]/p? @p?Event Date at 1st Dec [email protected]/p? @/div? @script? $(document).ready(function() { $(".carousel-control-prev").click(function() { $("#img_caro").carousel("prev"); }); $(".carousel-control-next").click(function() { $("#img_caro").carousel("next"); }); }); @/script? @/body? @/html?
Views: 368 Sam Finance Tech
Image gallery with thumbnails in JavaScript
 
13:13
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/01/image-gallery-with-thumbnails-in.html In this video we will discuss creating image gallery with thumbnails in JavaScript. When you click on the image thumnail, the respective image should be displayed in the main section of the page. For the purpose of this demo we will be using the images that can be found on any windows machine at the following path. C:\Users\Public\Pictures\Sample Pictures Step 1 : Open Visual Studio and create a new empty asp.net web application project. Name it Demo. Step 2 : Right click on the Project Name in Solution Explorer in Visual Studio and create a new folder with name = Images. Step 3 : Copy images from C:\Users\Public\Pictures\Sample Pictures to Images folder in your project. Step 4 : Right click on the Project Name in Solution Explorer in Visual Studio and add a new HTML Page. It should automatically add HTMLPage1.htm. Step 5 : Copy and paste the following HTML and JavaScript code in HTMLPage1.htm page. [html] [head] [style type="text/css"] .imgStyle { width:100px; height:100px; border:3px solid grey; } [/style] [/head] [body] [img id="mainImage" height="500px" width="540x" src="/Images/Hydrangeas.jpg" style="border:3px solid grey"/] [br /] [div id="divId" onclick="changeImageOnClick(event)"] [img class="imgStyle" src="/Images/Hydrangeas.jpg" /] [img class="imgStyle" src="/Images/Jellyfish.jpg" /] [img class="imgStyle" src="/Images/Koala.jpg" /] [img class="imgStyle" src="/Images/Penguins.jpg" /] [img class="imgStyle" src="/Images/Tulips.jpg" /] [/div] [script type="text/javascript"] var images = document.getElementById("divId").getElementsByTagName("img"); for (var i = 0; i [ images.length; i++) { images[i].onmouseover = function () { this.style.cursor = 'hand'; this.style.borderColor = 'red'; } images[i].onmouseout = function () { this.style.cursor = 'pointer'; this.style.borderColor = 'grey'; } } function changeImageOnClick(event) { event = event || window.event; var targetElement = event.target || event.srcElement; if(targetElement.tagName == "IMG") { mainImage.src = targetElement.getAttribute("src"); } } [/script] [/body] [/html] Finally run the application and test it.
Views: 60860 kudvenkat
jQuery datatables server side processing example asp net
 
07:51
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/08/jquery-datatables-server-side.html In this video we will discuss implementing server-side processing for jQuery datatables plugin. This is continuation to Parts 108 and 109. Please watch Parts 108 and 109 from jQuery tutorial before proceeding. Here is the request and response cycle jQuery datatables plugin sends the request to the ASP.NET generic handler on the web server. The ASP.NET generic handler will then call the stored procedure in the database. Retrieves the data and converts it to JSON format. The JSON formatted data will then be displayed on the page by the jQuery datatables plugin Step 1 : Add a WebForm to your Demo project. Step 2 : Copy and paste the following HTML and jQuery code on the webform. Notice that we have set bServerSide option to true. This will tell the jQuery datatables plugin to use server-side processing. We also have set sAjaxSource to EmployeeDataHandler.ashx. This option tells the jQuery datatables plugin about the external source from where the data needs to be loaded. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery-1.11.2.js"></script> <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.7/css/jquery.dataTables.min.css" /> <script src="//cdn.datatables.net/1.10.7/js/jquery.dataTables.min.js"> </script> <script type="text/javascript"> $(document).ready(function () { $('#datatable').DataTable({ columns: [ { 'data': 'Id' }, { 'data': 'FirstName' }, { 'data': 'LastName' }, { 'data': 'Gender' }, { 'data': 'JobTitle' } ], bServerSide: true, sAjaxSource: 'EmployeeDataHandler.ashx' }); }); </script> </head> <body style="font-family: Arial"> <form id="form1" runat="server"> <div style="width: 900px; border: 1px solid black; padding: 3px"> <table id="datatable"> <thead> <tr> <th>Id</th> <th>First Name</th> <th>Last Name</th> <th>Gender</th> <th>Job Title</th> </tr> </thead> <tfoot> <tr> <th>Id</th> <th>First Name</th> <th>Last Name</th> <th>Gender</th> <th>Job Title</th> </tr> </tfoot> </table> </div> </form> </body> </html> In our next video, we will discuss implementing server-side processing for jQuery datatables plugin using asp.net web service.
Views: 47056 kudvenkat
Nav Marker Or Scrollspy To Show Where You Are On Page || HTML, CSS, jQuery
 
17:32
Hey ! FOLLOW THIS LINK TO GET -50% DISCOUNT OF MY UDEMY COURSE, THAT IS ONLY 10 EUR (OR ABOUT 11 USD): https://www.udemy.com/learn-how-to-design-and-code-responsive-website-from-scratch/?couponCode=DesignDevelop Hello Everybody ! In this tutorial you are going to learn how to make navigation marker that shows where you currently are on the page (which section is in your viewport). The jQuery part might be a bit tricky to wrap your head around but once you do it will seem pretty clear and easy. Code available here: https://github.com/reinis-berzins/tutorial-files And if you have some troubles regarding this or any other topic then please be sure to contact me ! And plese don't forget to subscribe, LIKE and watch other tutorials. Thank you for watching and see you next time ;)
Views: 4457 Rinkans

Termios sample cover letter
Inter cover letter
Online admission university of burdwan
Iphone 3gs ios 6.1.6 application letters
Rein and n3ds 10/30 pmag california