Home
Search results “Javascript td style font”
How To Change Selected HTML Table Row Background Color Using Javascript [ with Source code ]
 
13:56
Changing the color of selected row on click in javascript Source Code: http://1bestcsharp.blogspot.com/2017/03/javascript-change-selected-html-table-row-background-color.html Javascript Tutorials For Beginners ➜ http://bit.ly/2k7NMWq Javascript Course ➜ http://bit.ly/2IvBCFC visit our blog https://1bestcsharp.blogspot.com/ subscribe: http://goo.gl/nRjPKk In This Javascript Tutorial we will see How To Change BackGround Color Of The Selected HTML Table TR On Row Click Using JS In Netbeans Editor . Javascript Tutorials : How to get value of selected radio button https://www.youtube.com/watch?v=uzwUBDQfpkU How to append Value to an array https://www.youtube.com/watch?v=KVdY8n6lCy4 javascript images slider 1 https://www.youtube.com/watch?v=QkcemPr4xaU Convert String To Number https://www.youtube.com/watch?v=JMfZG7o_QtE JavaScript Show And Hide Input Password Text https://www.youtube.com/watch?v=Cmo9sjx5eFE change div class name in js https://www.youtube.com/watch?v=X_SDJxKI6HE using checkbox with js https://www.youtube.com/watch?v=yFYEHSh2iTQ get And Set Value To An Input https://www.youtube.com/watch?v=AfRHl3soLDg calculate two numbers https://www.youtube.com/watch?v=oDUjP4N_MtQ Search Element In Array https://www.youtube.com/watch?v=LIsjSMr9bJU Add Search Remove Array Element https://www.youtube.com/watch?v=ppLbuVWf6zM Add HTML Table Row https://www.youtube.com/watch?v=FVSfp8yT8lA Get Mouse Position https://www.youtube.com/watch?v=LVi5DN2vtdo Show Text Letter By Letter https://www.youtube.com/watch?v=dbdYazO4IZ4
Views: 12059 1BestCsharp blog
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: 56830 kudvenkat
change the text color in every second using JavaScript
 
05:32
how to change the text color in every some interval of time. for more visit my website : http://learnwithkhan.blogspot.in/
Views: 8344 LearnWith Khan
1.3: Getting Text form User: Text Input - Programming with Text
 
17:31
In this video, I demonstrate how you can get text input from a user with DOM elements ("input" and "textarea" in combination with the p5.dom.js library. Next Video: https://youtu.be/0Mq2CxspF5s Introduction to Programming from A to Z: http://shiffman.net/a2z/intro/ Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Contact: https://twitter.com/shiffman GitHub Repo with all the info for Programming from A to Z: https://github.com/shiffman/A2Z-F16 Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code p5.js: https://p5js.org/ Processing: https://processing.org createInput() reference: https://p5js.org/reference/#/p5/createInput Drag and Drop with p5.js video: https://www.youtube.com/watch?v=o4UmGrPst_c For More Programming from A to Z videos: https://www.youtube.com/user/shiffman/playlists?shelf_id=11&view=50&sort=dd For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH Help us caption & translate this video! http://amara.org/v/V9bp/
Views: 53393 The Coding Train
Javascript change font color size
 
05:52
Javascript Shqip
Views: 670 Elidon Mema
Html Tutorial Lesson 2 (List,Table,Font Style)
 
12:14
In this second lesson you will learn how to style a text in html and how to create a table and list item in html in my third tutorial you will learn how to create a html form
Views: 2636 Go4techblog
[Part 10] HTML and CSS for Beginners - Font-Weight and Font-Style
 
05:28
Hello and welcome to my HTML and CSS tutorial for beginners! In this video, I show you how to make text bold and italic in CSS. Please comment down below if you are having any issues or have any questions! See you in the next one!
Views: 142 Everything Coding
CSS Tutorial for Beginners - 02 - Changing font type, color, and size
 
04:06
In this video we go over changing the font type, size, and color. Source for episode: http://pastebin.com/RVK07MrM
Views: 435873 EJ Media
JavaScript for beginners - Chapter 19 - JavaScript HTML Methods Part 1
 
08:37
JavaScript HTML Methods: big() : We can apply the big font style to the text in the html page. small() : We can apply the small font style to the text in the html page bold() : We can apply the bold style to the text in the html page italic() : We can apply the italic style to the text in the html page strike() : We can apply the strikethrough style to the text in the html page sub() : We can apply the subscript style to the text in the html page sup() : We can apply the subscript style to the text in the html page ankpro ankpro training Asp.net MVC C# C sharp Bangalore Rajajinagar Selenium Coded UI Mobile automation testing Mobile testing JQuery JavaScript .Net
Views: 100 Ankpro Training
HTML tutorial 10 : ELEPHANT FONT
 
01:08
HTML TUTORIAL : 10 - FONT ELEPHANT IN HTML requirement : 1) notepad 2) browser Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript it forms a triad of cornerstone technologies for the World Wide Web.Web browsersreceive HTML documents from a web server or from local storage and render them into multimedia web pages. HTML describes the structure also search : html5, html tutorial, html css, html for beginners, html forms, html basics, html table, html website, html canvas, html code, html, html and css, html and css tutorial, html animation, html and css tutorial for beginners bangla, html and javascript, html and css design and build websites, html app, html and php, html advanced, html and css navigation bar, a html file, a html program, a href html, a tag html, html bangla, html button, html bucky, html beginner, html button link, html blog, html bootstrap, html banner, html background image, b html element, b html code, html css javascript, html class, html course, html coin, html css website, html crash course, html c нуля, c'est quoi html, c quoi html, html div, html dom, html dropdown, html design, html dropdown menu, html death metal, html drag and drop, html download, html derek banas, html dersleri, cours de html, html email, html editor, html email signature, html explained, html ej media, html embed video, html entities, html example, html et css, html explained using death metal, css e html, curso html e css, html5 and css3, ecommerce html, e commerce website html, html5 elearning, curso html5 y css3, o que e html, php e html, curso de html5 e css3, html full tutorial, html for kids, html frames, html footer, html for dummies, html float, html for beginners - 06 -, html form validation, html game, html grid, html games on switch, html gallery, html gmail, html graphics, html guide, html geolocation, html game development, html gmail signature, francesca g html, html hsc, html header, html header design, html history, html hacking, html hyperlink, html how to, html hacker, html hindi, html hayeren, html kya hai, html image, html in hindi, html introduction, html ict, html in amharic, html iframe, html injection, html image tag, html intro, html image gallery, i html5 element, i frame html, html javascript, html jobs, html java, html javascript css, html json, html jdbc connectivity, html jade, html jquery tutorial, html java tutorial, html javascript game, j extybt html, html ki, html ki bangla, html kudvenkat, html kids, html kit, html keyboard, html kickstart, html keywords, html kaise sikhe, html kod, html login page, html links, html layout, html learning, html lessons, html language, html list, html login page with database, html lecture, html landing page, apprendre l'html, html menu, html meta, html marquee, html mac, html map, html metal, html making a website, html moving images, html modal, html menu bar, html navigation bar, html notepad, html nav, html navbar, html nav tag, html nested tables, html notepad website, html nak, html nodes, html net ninja, n html code, html n css, html on mac, html on android, html overview, html on notepad, html ordered list, html on phone, html on visual studio, html outlook signature, html or css, html on atom, php o html, como usar o html, html o html5, como desativar o html5, o que é html5, html5 o flash, o que html, o que é html css, html project, html php, html page, html php form, html parser, html python, html portfolio, html parallax, html paragraph, html padding, html p, html p tag, html quiz, html quick start pack, html quick tutorial, html questions and answers, html quotation, html query, html quiz tutorial, html question, html quiz questions and answers, html quiz questions and answers code, q es html, html rulez dood, html resume, html recordar, html radio button, html registration form, html review, html wrap, html resume tutorial, html reset button, html responsive, r html table example, r html widgets, rmarkdown html, html song, html slider, html span, html shqip, html structure, html search box, html svg, html software, html submit button, html script, html s, html to wordpress, html tutorial bangla, html tags, html tutorial for beginners bangla, html table bangla tutorial, html tutorial for beginners full bangla, html to pdf, html template, html uroki, html using notepad, html urdu, html underline, html url, html ul, html urdu tutorial, html underline tag, html upwork test answers 2017, html using css, uvod u html, kako raditi u html, uvod u html i css, html video, html vs html5, html video tag, html video tutorial, html video player, html video background, html viewer, html validation, html vs php, html video gallery, html v, jak programovat v html, html website design, html web page, html web design, html wordpress, html website design tutorial bangla, html with css, html web development,
Views: 84 SAMRAT TAYADE
Digital clock with HTML, CSS and JavaScript
 
08:55
Google font-family link : link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'
Views: 425 Web Master
Converting strings to numbers in JavaScript
 
17:14
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/converting-strings-to-numbers-in.html In this video we will discuss different methods that are available in JavaScript to convert strings to numbers. This example allows the user to enter 2 numbers and add them. Along the way we will learn the use of the following functions 1. parseInt() 2. parseFloat() 3. isNan() Here is the HTML for the web form [table style="border:1px solid black; font-family:Arial"] [tr] [td]First Number[/td] [td][asp:TextBox ID="txtFirstNumber" runat="server"][/asp:TextBox][/td] [/tr] [tr] [td]Second Number[/td] [td][asp:TextBox ID="txtSecondNumber" runat="server"][/asp:TextBox][/td] [/tr] [tr] [td]Result[/td] [td][asp:TextBox ID="txtResult" runat="server"][/asp:TextBox][/td] [/tr] [tr] [td] [/td] [td] [input type="button" value="Add" id="btnAdd"/] [/td] [/tr] [/table] Include the following JavaScript in the head section of the web form. [script type="text/javascript"] function addNumbers() { var firstNumber = document.getElementById("txtFirstNumber").value; var secondNumber = document.getElementById("txtSecondNumber").value; document.getElementById("txtResult").value = firstNumber + secondNumber; } [/script] Set the onclick attribute of the Add button to call the addNumbers() function. The HTML for the button should be as shown below. [input type="button" value="Add" id="btnAdd" onclick="addNumbers()" /] Run the application and enter 20 as the first number and 10 as the second number. Click Add buton. Notice that JavaScript concatenates the numbers instead of adding them. This is because the value property of the textbox is returning the number in a string format. So we need to explicitly do the conversion. This is when parseInt() function is useful. Modify the addNumbers() JavaScript function as shown below. function addNumbers() { var firstNumber = parseInt(document.getElementById("txtFirstNumber").value); var secondNumber = parseInt(document.getElementById("txtSecondNumber").value); document.getElementById("txtResult").value = firstNumber + secondNumber; } Run the application and test. Notice that we now get 30 as expected. Let's do another test. Enter 20.5 as the first number and 10.3 as the second number. Click the Add button. Notice that the decimal part is ignored. To retain the decimal places, use parseFloat() function. function addNumbers() { var firstNumber = parseFloat(document.getElementById("txtFirstNumber").value); var secondNumber = parseFloat(document.getElementById("txtSecondNumber").value); document.getElementById("txtResult").value = firstNumber + secondNumber; } If you leave first number and second number textboxes blank or if you enter text instead of a number, and when you click the Add button, NaN is displayed in result textbox. NaN in JavaScript stands for Not-a-Number. In JavaScript we have isNaN() function which determines whether a value is an illegal number. This function returns true if the value is not a number, and false if not. Modify the addNumbers() JavaScript function as shown below. function addNumbers() { var firstNumber = parseFloat(document.getElementById("txtFirstNumber").value); if (isNaN(firstNumber)) { alert("Please enter a valid number in the first number textbox"); return; } var secondNumber = parseFloat(document.getElementById("txtSecondNumber").value); if (isNaN(secondNumber)) { alert("Please enter a valid number in the second number textbox"); return; } document.getElementById("txtResult").value = firstNumber + secondNumber; } Now, when you leave first number and second number textboxes blank or if you enter text instead of a number, and when you click the Add button, you get relevant validation error messages as expected. Let's make the validation error message a little more relevant: If the first number and second number textboxes are left blank, then we want to display the following validation messages a) First Number is required b) Second Number is required If you enter text instead of number a) Please enter a valid number in the first number textbox b) Please enter a valid number in the second number textbox
Views: 120579 kudvenkat
Javascript Form Select Change Options Tutorial Dynamic List Elements HTML5
 
16:08
Lesson Code: http://www.developphp.com/video/JavaScript/Form-Select-Change-Dynamic-List-Option-Elements-Tutorial In this Javascript video lesson you will learn how to program dynamic select form list elements. To demonstrate the logic we will show how to change options of a select list based on the selection the user makes from the first list. A web application developer will definitely need to know how to do this when they get into form programming that involves data intake of categories and subcatories from a user.
Views: 219793 Adam Khoury
How to create buttons in Javascript that change the color of an HTML element
 
12:26
~If you have any questions make sure to leave them in the comment section below! ~Subscribe for more videos! https://www.youtube.com/channel/UCsEmzdW4ry06BgbNGWQroFQ ~Help me provide better content for you lovely people https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E8HHD98N3UFVG ==================================== EXTRA TAGS (ignore) CodingTuts Programming Become a programming pro Web design Web development Javascript Javascript elements Professional website with Javascript Responsive website with Javascript Javascript website Easy Javascript Javascript tricks & tips HTML HTML 5 CSS CSS tips and Tricks HTML and CSS Learn HTML Learn CSS Learn HTML fast Learn CSS fast Learn HTML easy Learn CSS easy Learn HTML fast and easy Learn CSS fast and easy Learn HTML and CSS Learn HTML and CSS fast Learn HTML and CSS easy Learn HTML and CSS fast and easy Website HTML website HTML and CSS website How to make a website How to make an HTML website How to make an HTML and CSS website Creating a website Creating an HTML website Creating an HTML and CSS website How to create a website How to create an HTML website How to create and HTML and CSS website Website fast HTML website fast HTML and CSS website fast How to make a website fast How to make an HTML website fast How to make an HTML and CSS website fast Creating a website fast Creating an HTML website fast Creating an HTML and CSS website fast How to create a website fast How to create an HTML website fast How to create an HTML and CSS website fast Website easy HTML website easy HTML and CSS website easy How to make a website easy How to make an HTML website easy How to make an HTML and CSS website easy Creating a website easy Creating an HTML website esy Creating an HTML and CSS website easy How to create a website easy How to create an HTML website easy How to create an HTML and CSS website easy Website fast and easy HTML website fast and easy HTML and CSS website fast and easy How to make a website fast and easy How to make an HTML website fast and easy How to make an HTML and CSS website fast and easy Creating a website fast and easy Creating an HTML website fast and easy Creating an HTML and CSS website fast and easy How to create a website fast and easy How to create an HTML website fast and easy How to create an HTML and CSS website fast and easy ====================================
Views: 26069 CodingTuts
HTML video tutorial - 80 - html style tag
 
08:53
HTML - style tag: style tag is a paired tag. style tag must be written in head section. style tag is used to define styles for html elements or tags. style tag is used to write embedded styles. html document can have multiple style tags. style tag contains set of style rule declaration blocks. type attribute takes the value text/CSS. to indicate whatever we write within style tag is normal text or CSS code. ======================================================== Follow the link for next video: https://youtu.be/YwJgtVjG2pg Follow the link for previous video: https://youtu.be/bEH2ou5Pjp8 ========= For more benefits & Be up to date =================== Subscribe to "chidres tech tutorials" channel: it's free Visit to Chidre's Tech Tutorials website: https://www.chidrestechtutorials.com Like the Facebook fan page: https://www.facebook.com/ManjunathChidre ======================================================== ========== HTML Questions & Answers ====================== 1. Which HTML tag is used to embed CSS styles in an HTML document? a. script tag b. style tag c. style selector c. none of the above Answer: b ========================================================
Views: 11332 Chidre'sTechTutorials
jQuery add event handler to dynamically created element
 
09:15
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-add-event-handler-to-dynamically.html In this video we will discuss, how to add event handlers to dynamically created elements. Let us understand this with an example. The following example, allows us to dynamically create new list item (li), attach a click event handler and add it to the unordered list (ul). This happens when you click "Add a New List Item" button. The problem with this approach is that we are binding a click event handler to every list item. This means if you have 500 list items, then there will be 500 event handlers in the memory and this may negatively affect the performance of your application. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('li').on('click', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { var newListItem = $('<li>New List Item</li>').on('click', function () { $(this).fadeOut(500); }); $('ul').append(newListItem); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html> A better way of doing the same from a performance standpoint is shown below. In this example, the click event handler is attached to the listitem (li) parent element (ul). Even if you have 500 list items, there is only one click event handler in memory. So how does this work 1. When you click on a list item (li), the event gets bubbled up to its parent (ul) as the list item (li) does not have an event handler 2. The bubbled event is handled by the the parent (ul) element, as it has a click event handler. 3. When a new list item is added dynamicaly, you don't have to add the click event handler to it. Since the newly created list item (li) is added to the same parent element (ul), the click event of this list item also gets bubbled upto the same parent and will be handled by it. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('ul').on('click', 'li', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { $('ul').append('<li>New List Item</li>'); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html>
Views: 65887 kudvenkat
Animate Font Awesome Icons with JavaScript - Easy Tutorial
 
14:17
In this video i will show you how to create some animated font-awesome effects using vanilla JavaScript using the setTimeout and setInterval function. Fontawesome CDN: https://www.bootstrapcdn.com Download Fontawesome: https://fontawesome.com THE WORLD'S LARGEST WEB DEVELOPER CHANNEL: http://www.youtube.com/ostoncodecypher Join Oston code cypher channel today and get your life time tutorials for free! Learn how to build websites and apps, write code, or start a business on your own. Learn from over 1,000 videos created by himself the expert on web design, coding, business, and much more. Oston code cypher channel teaches the in-demand technology skills you need to land your dream job.
Views: 292 Oston Code Cypher
Howto use JSON for Forex Quotes
 
01:17
0:00 The problem that arises 0:14 The simple framework using JSON 0:25 What is JSON 0:38 Overview of my program 0:58 Code glance As a currency dealer you will display your FX quotes to clients but without wanting them to have direct access to your server. A simple idea would be placing the price quotes in a separate JSON file whereby clients can draw data from it using PHP. ***php server file as main.php %!DOCTYPE [email protected] %html lang="en"@ %[email protected] %[email protected] Server%/[email protected] %meta charset="utf-8"@ %meta name="viewport" content="width=device-width, initial-scale=1"@ %link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"@ %script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"@%/[email protected] %script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"@%/[email protected] %/[email protected] %[email protected] %div class="container"@ %div class="jumbotron"@ %[email protected] Forex Buy/Sell Rate%/[email protected] %/[email protected] %/[email protected] %div class="container"@ %?php $path = 'data.json'; $data = file_get_contents($path); $characters = json_decode($data); [email protected] %img src="1.jpg" class="img-thumbnail" alt="img" width="400" height="200"@ %[email protected] Quotes - SAM Xchange:%/[email protected]%[email protected] %table class="table table-hover"@ %[email protected] %[email protected] %th style="color:blue;"@%font size="5"@Product:%/[email protected]%/[email protected] %th style="color:blue;"@%font size="5"@Bid:%/[email protected]%/[email protected] %th style="color:blue;"@%font size="5"@Ask:%/[email protected]%/[email protected] %/[email protected] %/[email protected] %[email protected] %[email protected] %?php foreach ($characters as $i) : [email protected] %[email protected] %[email protected] %font size="4"%/[email protected] %?php echo [email protected]; [email protected] %/[email protected] %[email protected] %font size="4"%/[email protected] %?php echo [email protected]; [email protected] %/[email protected] %[email protected] %font size="4"%/[email protected] %?php echo [email protected]; [email protected] %/[email protected] %/[email protected] %?php endforeach; [email protected] %/[email protected] %/[email protected] %/[email protected] %/[email protected] %/[email protected] ***data.json file [ { "product": "USD/EUR", "Bid": "0.92", "Ask": "0.87" }, { "product": "USD/GBP", "Bid": "0.81", "Ask": "0.76" }, { "product": "USD/YEN", "Bid": "117", "Ask": "111" }, { "product": "USD/CHF", "Bid": "1.09", "Ask": "1.03" }, { "product": "USD/CAD", "Bid": "1.35", "Ask": "1.30" } ] ...
Views: 570 Finance Owl
JavaScript - 25. Changing HTML content and attribute
 
06:36
In this video, we look at ways to change HTML content and attribute using JavaScript and HTML DOM.
Views: 9351 Loot Tutorial
How to use Fontawesome icons with HTML | Customize Icons with CSS | List with icons using HTML & CSS
 
19:30
Hello Friends! In this tutorial I'm showing you how to download, implement and customize fontawesome icons. Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS. Thanks for watching this video. If you like this video then hit like button, share this video, And Subscribe my Channel. Also like my Facebook page for latest updates. ♥ Facebook Page - https://www.facebook.com/wolfmania4 ♥ Myself On FB - https://www.facebook.com/sahil4rock ♥ Instagram - https://www.instagram.com/sahil4rock ♥ Twitter - https://twitter.com/sahil4rock4 -~-~~-~~~-~~-~- Please watch: "#1 Payment Gateway Integration Using PHP (Instamojo) | Introduction Video" https://www.youtube.com/watch?v=d3s5CCi_ZqM -~-~~-~~~-~~-~-
Views: 15857 WOLFMANIA
jquery floating div
 
13:36
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-floating-div.html In this video we will discuss, how to create floating div using jQuery. We want the div element in the sidebar to be floating and always visible as we scroll down the page. Example : In this example we are using position() and scrollTop() functions. The object returned by position() function has top and left properties, which can be used to know the current top and left positions (coordinates). We are using this function to find the top position of the div element that we want to keep floating as we scroll down. To get the current vertical position of the scroll bar, we are using scrollTop() function. As we scroll and when the current vertical position of the scroll bar becomes GREATER THAN the top position of the div element, then we want the div element to start floating. To do this set position style to fixed. A fixed position element is positioned relative to the browser window. So as you scroll down it will be floating in the browser window. If the current vertical position of the scroll bar becomes LESS THAN the top position of the div element, then we don't want the div element to float, so we set position style to relative. A relative position element is positioned relative to itself. So if you set position to relative and top to 0, it will continue to stay where it is without floating. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var floatingDiv = $("#divfloating"); var floatingDivPosition = floatingDiv.position(); $(window).scroll(function () { var scrollPosition = $(window).scrollTop(); if (scrollPosition >= floatingDivPosition.top) { floatingDiv.css({ 'position': 'fixed', 'top' : 3 }); } else { floatingDiv.css({ 'position': 'relative', 'top' : 0 }); } }); }); </script> </head> <body style="font-family:Arial;"> <table align="center" border="1" style="border-collapse:collapse"> <tr> <td style="width:500px"> Main Page Content </td> <td style="width:150px; vertical-align:top"> Side panel content <br /><br /> <div id="divfloating" style="background-color:silver; width:150px; height:150px"> Floating Div - Keeps floating as you scroll down the page </div> </td> </tr> </table> </body> </html>
Views: 32125 kudvenkat
Onlick event, getElementById method, changing a button's text and text color
 
09:09
In this video we demonstrate the onclick method and how to dynamically change the button's attributes with JavaScript.
Views: 21434 vasillis-javed khan
HTML Introduction: Part 5, Style Tag
 
04:39
Hello and Welcome to another session on HTML series. We have covered quite a lot in past four sessions which you may want to check out. In the earlier sessions, we started from the beginning of, what is HTML, to different tags, and associated attributes to tags in details like, IMG tag and its attributes, for embedding images in HTML document. In this session, we will consider another such attribute common in some tags, that is style attribute. Please note that to have hands on experience, modify the code accordingly. The HTML Style Attribute is for setting different styles of an HTML element. To apply style on supported HTML element, write the HTML element and define the style property as the syntax shown. Syntax - <tagname style="property:value;"> The property defines, what style is to be set for the HTML element. The property is something which is called CSS property or cascading style sheet. CSS is used to define all the style properties of HTML document. The value in style attribute is a CSS value. Let’s learn more about the style attribute, properties and values. HTML Background Color The background-color property defines the background color for an HTML element. The syntax is to define property background color as shown with value as any color Syntax - <tagname style="background-color:value;"> This example sets the background color for a page to powderblue: Example <body style="background-color:powderblue;"> HTML Text Color The color property defines the text color for an HTML element The syntax is to define property color as shown with value as any color Syntax - <tagname style="color:value;"> This example sets the color as blue for the header and paragraph. Example <h1 style="color: blue;">This is a heading</h1> <p style="color: red;">This is a paragraph. </p> HTML Fonts The font-family property defines the font to be used for an HTML element. The syntax is to define property font family as shown with value as any color Syntax - <tagname style="font-family:value;"> This example sets font as verdana and courier. Example <h1 style="font-family:verdana;">This is a heading</h1> <p style="font-family:courier;">This is a paragraph.</p> HTML Text Size The font-size property defines the text size for an HTML element. The syntax is to define property font size as shown with value as any color The syntax is to define property font size as shown with value as size Syntax - <tagname style="font-size:value;"> This example sets the header font size to 3 times and paragraph font size to 160 percent. Example <h1 style="font-size:300%;">This is a heading</h1> <p style="font-size:160%;">This is a paragraph.</p> HTML Text Alignment The text-align property defines the horizontal text alignment for an HTML element. The syntax is to define property text alignment as shown with value as center, left, right Syntax - <tagname style="text-align:value;"> This example sets the text alignment as center. Example <h1 style="text-align:center;">Centered Heading</h1> <p style="text-align:center;">Centered paragraph.</p> Well Done! You have learned to Use the style attribute for styling HTML elements, Use background-color for background color, Use color for text colors, Use font-family for text fonts, Use font-size for text sizes, and Use text-align for text. To find out more, visit links in the description. Which topic you want us to cover next. Share your thoughts in the comment section. Like and subscribe for more videos. Source: https://www.w3schools.com/html/html_styles.asp Code ------------------------------------ <html> <head> <title>HTML Introduction - Part 5 - Style Attribute</title> </head> <body style="background-color:powderblue;"> <h1 style="color:blue;">This heading is in color blue by style tag.</h1> <p style="color:red;">This paragraph is in red color by style tag.</p> <h1 style="font-family:verdana;">This heading's font is verdana</h1> <p style="font-family:courier;">This paragraph font is courier.</p> <h1 style="font-size:300%;">This heading font size is 3 times the normal heading.</h1> <p style="font-size:160%;">This paragraph font size is 1.6 time the normal font size.</p> <h1 style="text-align:center;">This Heading is in center <h1> <p style="text-align:center;">This paragraph is in center.</p> </body> </html> My Blogs https://azblogs4u.blogspot.com/ https://atozcreations4u.wixsite.com/insights PACIFIC SUN by Nicolai Heidlas Music https://soundcloud.com/nicolai-heidlas Creative Commons — Attribution 3.0 Unported— CC BY 3.0 http://creativecommons.org/licenses/b... Music promoted by Audio Library https://youtu.be/kbqmEJTr3nU
Views: 111 LEARNITIUM
CSS - Show Text Over An Image On Hover Without JavaScript ( With And Without Footer Text)
 
09:47
Note : This may not a SEO friendly approach. Learn how to place / show text over an image on hover without JavaScript ( with And without footer text) + On hover zoom effect. About me : https://www.youtube.com/c/zfunx/about Check the latest cross browser code at (updated on 4-sep-2017) : https://codepen.io/zFunx/pen/GveLaQ CSS used in this video ( without footer ) : .textOverImage{ position:relative; width:300px; height:300px; float:left; margin:4px; background-size:100%; background-position:center; transition:0.5s; } .textOverImage:hover{ background-size:110%; } .textOverImage:after{ position:absolute; top:100%; bottom:0; left:0; right:0; white-space:pre-wrap; overflow:hidden; background-color:rgba(0,0,0,0.6); color:#fff; padding:0 8px; opacity:0; content:attr(data-text); transition:0.5s; } .textOverImage:hover:after{ opacity:1; top:0; padding:8px; } .textOverImage:first-line{ color:#fff; font-weight:bold; font-size:1.5em; } ------------------------------------------------------------- CSS used in this video ( with footer ) : .textOverImage{ position:relative; width:300px; height:300px; float:left; margin:4px; background-size:100%; background-position:center; transition:0.5s; } .textOverImage:hover{ background-size:110%; } .textOverImage:after{ position:absolute; top:90%; bottom:0; left:0; right:0; white-space:pre-wrap; overflow:hidden; background-color:rgba(0,0,0,0.3); color:#fff; padding:0 8px; content:attr(data-text); transition:0.5s; } .textOverImage:hover:after{ top:0; padding:8px; background-color:rgba(0,0,0,0.6); } .textOverImage:first-line{ color:#fff; font-weight:bold; font-size:1.5em; } ----------------------------------------------------- Image used : http://www.nature.com/nature/journal/v477/n7365/images/477415a-f1.2.jpg https://s-media-cache-ak0.pinimg.com/736x/36/66/76/3666764312573a54adef888747d0c8f3.jpg
Html5 Tutorial Part 4 - Tables and Font Color
 
05:21
Today we go over the how to make tables and change font color in html5
HTML & HTML5 Image Tutorial Bangla 9
 
06:35
html tutorial in bangla HTML & HTML5 Html image style with design Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c ----------------------------- a, href, terget, blank, class, id, title, img, src, width, height, style, alt, h1, h2, h3, h4, h5, h6, paragrape, bold, italic, underline, dd, dl, dt, ul, ol, li, div, span, strong, big, small, table, tbody, thead, th, tr, td, colspan, rowspan, cellspacing, cellpadding, blink, textarea, doctype, abbr, address, area, article, aside, audio, base, bdo, blockquot, body, br, canvas, caption, center, code, col, colgroup, del, details, dfn, em, embed, figcaption, figure, font, font family, font color, frame, frameset, head, header, iframe, ins, kbd, link, main, map, mark, menu, menuitem, meta, tag, contant, nav, noscript, script, object, output, param, picture, pre, progress, q, rp, rt, ruby, s, samp, section, source, strike, sub, sup, summary, svg, template, tfoot, time, track, tt, var, video, wbr, dir, header, footer, dialog, data, accept, align, autocomplete, autofocus, autoplay, bgcolor, background, border, charset, cite, content, controls, default, dirname, download, enctype, http-equiv, ismap, kind, lang, loop, marquee, low, media, onchange, oncopy, oncut, ondrop, onlood, pattern, rel, scope, shape, srclang, step, wrap, form, action, method, encript multipart/form-data, fieldset, legent, input, typetext number, password, email, color, date, month, day, radio, checkbox, range, select, option, textarea, button, reset, submit, attribute, onclick, alert, maxlength, max, min, pattern, size, rows, cols, list, name, datalist, id, optgroup, readonly, disabled, hidden, required, value, placeholder, label CSS & CSS3 -------------------- accelerator azimuth background background-attachment background-color background-image background-position background-position-x background-position-y background-repeat behavior border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color content counter-increment counter-reset cue cue-after cue-before cursor direction display elevation empty-cells filter float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight height ime-mode include-source layer-background-color layer-background-image layout-flow layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line layout-grid-mode layout-grid-type left letter-spacing line-break line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks max-height max-width min-height min-width -moz-binding -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomright -moz-border-radius-bottomleft -moz-border-top-colors -moz-border-right-colors -moz-border-bottom-colors -moz-border-left-colors -moz-opacity -moz-outline -moz-outline-color -moz-outline-style -moz-outline-width -moz-user-focus -moz-user-input -moz-user-modify -moz-user-select orphans outline outline-color outline-style outline-width overflow overflow-X overflow-Y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes -replace richness right ruby-align ruby-overhang ruby-position -set-link-source size speak speak-header speak-numeral speak-punctuation speech-rate stress scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-3d-light-color scrollbar-track-color table-layout text-align text-align-last text-decoration text-indent text-justify text-overflow text-shadow text-transform text-autospace text-kashida-space text-underline-position top unicode-bidi -use-link-source vertical-align visibility voice-family volume white-space widows width word-break word-spacing word-wrap writing-mode z-index zoom All ----------------------------- Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c
Views: 51 Answer BD
Angular ngFor directive
 
09:10
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/07/angular-ngfor-directive.html Slides http://csharp-video-tutorials.blogspot.com/2017/07/angular-ngfor-directive_12.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss another structural directive - ngFor in Angular. Let us understand ngFor structural directive with an example. Consider the following array of Employee objects. employees : any[]= [ { code: 'emp101', name: 'Tom', gender: 'Male', annualSalary: 5500, dateOfBirth: '25/6/1988' }, { code: 'emp102', name: 'Alex', gender: 'Male', annualSalary: 5700.95, dateOfBirth: '9/6/1982' }, { code: 'emp103', name: 'Mike', gender: 'Male', annualSalary: 5900, dateOfBirth: '12/8/1979' }, { code: 'emp104', name: 'Mary', gender: 'Female', annualSalary: 6500.826, dateOfBirth: '14/10/1980' }, ]; We want to display these employees in a table on a web page. Step 1 : Add a new TypeScript file to the "employee" folder. Name it employeeList.component.ts. Copy and paste the following code in it. import { Component } from '@angular/core'; @Component({ selector: 'list-employee', templateUrl: 'app/employee/employeeList.component.html', styleUrls: ['app/employee/employeeList.component.css'] }) export class EmployeeListComponent { employees : any[]= [ { code: 'emp101', name: 'Tom', gender: 'Male', annualSalary: 5500, dateOfBirth: '25/6/1988' }, { code: 'emp102', name: 'Alex', gender: 'Male', annualSalary: 5700.95, dateOfBirth: '9/6/1982' }, { code: 'emp103', name: 'Mike', gender: 'Male', annualSalary: 5900, dateOfBirth: '12/8/1979' }, { code: 'emp104', name: 'Mary', gender: 'Female', annualSalary: 6500.826, dateOfBirth: '14/10/1980' }, ]; } Step 2 : Add a new HTML page to the "employee" folder. Name it employeeList.component.html. Copy and paste the following code in it. Please note : 1. ngFor is usually used to display an array of items 2. Since ngFor is a structutal directive it is prefixed with * 3. *ngFor='let employee of employees' - In this example 'employee' is called template input variable, which can be accessed by the 4. [tr] element and any of it's child elements. 5. ngIf structural directive displays the row "No employees to display" when employees property does not exist or when there are ZERO employees in the array. [table] [thead] [tr] [th]Code[/th] [th]Name[/th] [th]Gender[/th] [th]Annual Salary[/th] [th]Date of Birth[/th] [/tr] [/thead] [tbody] [tr *ngFor='let employee of employees'] [td]{{employee.code}}[/td] [td]{{employee.name}}[/td] [td]{{employee.gender}}[/td] [td]{{employee.annualSalary}}[/td] [td]{{employee.dateOfBirth}}[/td] [/tr] [tr *ngIf="!employees || employees.length==0"] [td colspan="5"] No employees to display [/td] [/tr] [/tbody] [/table] Step 3 : Add a new StyleSheet to the "employee" folder. Name it employeeList.component.css. Copy and paste the following code in it. table { color: #369; font-family: Arial, Helvetica, sans-serif; font-size: large; border-collapse: collapse; } td { border: 1px solid #369; padding:5px; } th{ border: 1px solid #369; padding:5px; } Step 4 : In the root module, i.e app.module.ts, import employeeList component and add it to the declarations array as shown below. import { EmployeeListComponent } from './employee/employeeList.component'; @NgModule({ imports: [BrowserModule], declarations: [AppComponent, EmployeeComponent, EmployeeListComponent], bootstrap: [AppComponent] }) export class AppModule { } Step 5 : In the root component, i.e app.component.ts use employeeList component as a directive @Component({ selector: 'my-app', template: `[list-employee][/list-employee] ` }) At this point, run the application and notice the employees are displayed in the table as expected.
Views: 86840 kudvenkat
HTML tags and attributes ?  | how to use font  tag with attributes in hindi
 
11:08
in this html video tutorial we will learn - what are HTML tags and attributes ? | how to use font tag with attributes in Hindi. also learn what is font tag in html and what are attributes of font tag and how to use font tag attributes. 1. HTML टैग्स क्या है और टैग्स के टाइप्स 2. HTML मैं Attributes क्या होते हैं 3. HTML मैं font tag का उपयोग करके text का size, color, font face कैसे बदले Theory File डाउनलोड करने के लिए Link नीचे दिया गया है | आप इसे डाउनलोड कर सकते हैं | Download file: https://drive.google.com/open?id=0B4QDUBmtVcJMNE9wQ3FIaFlVWFE एचटीएमएल Videos के लिए कृपया हमारे चैनल की प्लेलिस्ट देखें : http://www.youtube.com/deepakeduworld/playlists SUBSCRIBE THIS CHANNEL TO GET ALL UPDATES http://www.youtube.com/deepakeduworld
Views: 54138 Deepak EduWorld
HTML & HTML5 Attributes Tutorial Bangla 4
 
02:39
html tutorial in bangla Html Attribute Bangla tutorial part 4 Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c a, href, terget, blank, class, id, title, img, src, width, height, style, alt, h1, h2, h3, h4, h5, h6, paragrape, bold, italic, underline, dd, dl, dt, ul, ol, li, div, span, strong, big, small, table, tbody, thead, th, tr, td, colspan, rowspan, cellspacing, cellpadding, blink, textarea, doctype, abbr, address, area, article, aside, audio, base, bdo, blockquot, body, br, canvas, caption, center, code, col, colgroup, del, details, dfn, em, embed, figcaption, figure, font, font family, font color, frame, frameset, head, header, iframe, ins, kbd, link, main, map, mark, menu, menuitem, meta, tag, contant, nav, noscript, script, object, output, param, picture, pre, progress, q, rp, rt, ruby, s, samp, section, source, strike, sub, sup, summary, svg, template, tfoot, time, track, tt, var, video, wbr, dir, header, footer, dialog, data, accept, align, autocomplete, autofocus, autoplay, bgcolor, background, border, charset, cite, content, controls, default, dirname, download, enctype, http-equiv, ismap, kind, lang, loop, marquee, low, media, onchange, oncopy, oncut, ondrop, onlood, pattern, rel, scope, shape, srclang, step, wrap, form, action, method, encript multipart/form-data, fieldset, legent, input, typetext number, password, email, color, date, month, day, radio, checkbox, range, select, option, textarea, button, reset, submit, attribute, onclick, alert, maxlength, max, min, pattern, size, rows, cols, list, name, datalist, id, optgroup, readonly, disabled, hidden, required, value, placeholder, label CSS & CSS3 -------------------- accelerator azimuth background background-attachment background-color background-image background-position background-position-x background-position-y background-repeat behavior border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color content counter-increment counter-reset cue cue-after cue-before cursor direction display elevation empty-cells filter float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight height ime-mode include-source layer-background-color layer-background-image layout-flow layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line layout-grid-mode layout-grid-type left letter-spacing line-break line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks max-height max-width min-height min-width -moz-binding -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomright -moz-border-radius-bottomleft -moz-border-top-colors -moz-border-right-colors -moz-border-bottom-colors -moz-border-left-colors -moz-opacity -moz-outline -moz-outline-color -moz-outline-style -moz-outline-width -moz-user-focus -moz-user-input -moz-user-modify -moz-user-select orphans outline outline-color outline-style outline-width overflow overflow-X overflow-Y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes -replace richness right ruby-align ruby-overhang ruby-position -set-link-source size speak speak-header speak-numeral speak-punctuation speech-rate stress scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-3d-light-color scrollbar-track-color table-layout text-align text-align-last text-decoration text-indent text-justify text-overflow text-shadow text-transform text-autospace text-kashida-space text-underline-position top unicode-bidi -use-link-source vertical-align visibility voice-family volume white-space widows width word-break word-spacing word-wrap writing-mode z-index zoom All ----------------------------- Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c
Views: 28 Answer BD
Part 59   Layout view in mvc
 
16:36
Link for code samples used in the demo http://csharp-video-tutorials.blogspot.com/2013/07/part-59-layout-view-in-mvc.html Link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Make sure to replace [ with LESSTHAN and ] with GREATERTHAN symbol. What is the advantage of using _Layout.cshtml view? Layout views provide the advantage of maintaining consistent look and feel across all the views in an mvc application. A typical layout view consists of 1. Header 2. Footer 3. Navigation menu 4. View specific content Rather than having all of these sections, in each and every view, we can define them in a layout view and then inherit that look and feel in all the views. With layout views, maintaining the consistent look and feel across all the views becomes much easier, as we have only one layout file to modify, should there be any change. The change will then be immediately reflected across all the views in entire application. Let us now create a layout view with 1. Header 2. Footer 3. Navigation menu and 4. a place to plugin view specific content Step 1: Create an empty asp.net mvc4 application. Step 2: Right click on "Views" folder and add "Shared" folder. Step 3: Right click on "Shared" folder and add "_Layout.cshtml" view. This is our layout view, where we will define the site wide look and feel. The layout file can have any name, and will have .cshtml file extension. Copy and paste the following html [html] [head] [title]@ViewBag.Title[/title] @*All the javascript and css files that are required by the application can be referenced here so that there is no need to reference them in each and every view*@ [/head] [body] [table border="1" style="width:800px; font-family:Arial"] [tr] [td colspan="2" style="text-align:center"] [h3]Website Header[/h3] [/td] [/tr] [tr] [td style="width:200px"] [h3]Menu[/h3] [/td] [td style="width:600px"] @RenderBody() [/td] [/tr] [tr] [td colspan="2" style="text-align:center; font-size:x-small"] [h3]Website Footer[/h3] [/td] [/tr] [/table] [/body] [/html] Points to note: 1. View specific title is retrieved using @ViewBag.Title. 2. View specific content will be plugged-in at the location, where RenderBody() function is called. Step 4: Let us use the following table tblEmployee, and generate a few views that can be used with our layout view. Create table tblEmployee ( Id int identity primary key, FirstName nvarchar(50), LastName nvarchar(50), Salary int ) Insert into tblEmployee values('Tom', 'S', 5000) Insert into tblEmployee values('Mary', 'P', 8000) Insert into tblEmployee values('Ben', 'K', 3000) Step 5: Add ADO.NET entity data model based on the above table. Build the solution, so that Employee model class is compiled. Step 6: Add a HomeController, with the following settings, so that Index, Details, Create, Edit and Delete views are auto-generated. 1. Controller name - HomeController 2. Template - MVC controller with read/write actions and views, using Entity Framework 3. Model class - Employee 4. Data context class - SampleDBContext 5. Views - Razor Step 7: Now, we need to make modifications to Index.cshtml view, to use _Layout.cshtml layout view. Copy and paste the following code just below, @model declaration. Notice that, we are storing title in ViewBag object. The layout view is going to retrieve it from viewbag and use it as the title. The next statement, specifies the layout file to use. @{ ViewBag.Title = "Employee List Page"; Layout = "~/Views/Shared/_Layout.cshtml"; } At this point navigate to Index view and notice that, it uses the layout file that we have defined. Step 8: Make the following modifications to layout view. Replace 1. Website Header with Employee Portal 2. [h3]Website Footer[/h3] with © 2013 Pragim Technologes 3. [h3]Menu[/h3] with @Html.ActionLink("Employee List", "Index") Save changes and navigate to Index view. Now click on "Edit" link. The page crashes. To fix it, delete "Scripts" section that is at the bottom of the Edit view. Refresh the page. Notice that, we don't have error now, but this view is not using the layout view. To fix it, we need to include the following code, as we did on index view. @{ ViewBag.Title = "Employee List Page"; Layout = "~/Views/Shared/_Layout.cshtml"; } In our next video, we will discuss - How to specify layout view setting for all the views at one place.
Views: 133213 kudvenkat
Trending Tweet Present : How to Make Moving Text Field Using HTML,Javascript,CSS
 
04:44
Trending Tweet Present : How to Make Moving Text Field Using HTML,Javascript,CSS PLEASE LIKE,SHARE AND SUBCRIBE MY CHANNEL!! *Coding*: <html> <head> <style> div{ border: 1px solid ; overflow: hidden; background-color:red; color:white; font-size:20px; font-weight:bold; } </style> <script> function on_load(){ setInterval('headline()',10); } var count =0; function headline(){ count++; document.getElementById('headline').style.marginLeft = count+"px"; if(count==1000){ count=-1800; document.getElementById('headline').style.marginLeft = count+"px"; } } </script> </head> <body onload="on_load()"> <div> <pre id="headline">Subcribe my channel for more videos Subcribe my channel for more videos Subcribe my channel for more videos Subcribe my channel for more videos</pre> </div> </body> </html> PLEASE LIKE,SHARE AND SUBCRIBE MY CHANNEL!!
Views: 14 Trending Tweet
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: 55444 kudvenkat
How to change font size in HTML page dynamically.
 
07:01
How to change font size in HTML page dynamically using Java Script. Code link is given below. http://techgigsonline.blogspot.in/2014/09/how-to-change-font-size-in-html-page.html
Views: 1677 Subhroneel Ganguly
How to Inject Custom HTML and CSS into an iFrame
 
14:22
Ever been to a site like JSBin, where you can write HTML, CSS, and JavaScript, and then see the results in a panel to the right? An iframe is how we can accomplish this task.
Views: 105262 Tuts+ Code
How to update web design text font styles using HTML Egg Pro for Mac
 
01:04
Mac users, you can download a free trial of HTML Egg Pro for Mac at https://www.aidaluu.com/download.php?product=EggPro Learn more about the HTML Egg app https://www.htmlegg.com
Views: 702 HTML Egg App
Styling HTML webpage using CSS in Notepad++ , background, font style, centering
 
20:59
This tutorial is the second half of my first video which was based on creating a webpage only in HTML. This video shows you how to add style to that webpage using further HTML and CSS in Notepad++. Watch the previous video on HTML - https://www.youtube.com/watch?v=waZz9GtBIoA&t=805s Feel free to ask any questions in the comment section below, thumbs up if this video helped you. And any tutorials you wish to see leave them in the comment section. Twitter - @CreativeCompt https://twitter.com/CreativeCompt Instagram - @CreativeCompt https://www.instagram.com/p/BWFwpr5BLiY/
Views: 5993 Creative Computing
CSS Tutorials 3 | Inline CSS in HTML| Inline CSS Font Family and More CSS HTML Examples
 
10:29
It’s very easy to use the inline css in HTML document inside of any HTML Tag.You can add inline css to html element using the HTML Style attribute. Although Inline CSS is not a good practice but sometimes you will have to write Inline CSS code in HTML. The main difference of the Inline CSS is that , it only affects the HTML tag where you used the inline css. To Design any HTML eMail template , Edit old website , Design Website with CMS like WordPress and to Add dynamic content , You will need to use Inline CSS . Inline css is also a bit faster because the HTML document doesn’t need to call any external CSS file every time. #CSS #Tutorials #Inline #CSS #Font #family CSS Tutorials Playlist (Get All Videos) : http://imranemu.com/css-tutorials [ Please subscribe our Youtube Channel https://goo.gl/XJ7e4g ] Some Free WordPress Plugins : https://goo.gl/eNQrmS Some Awesome free Plugins , You would love to install ... WordPress Pricing table plugin : https://goo.gl/KW87Xi WordPress Team Members plugin : https://goo.gl/k1QHKo WooCommerce Product Slider Plugin : https://goo.gl/uAhQzm WordPress Product Catalog Plugin: https://goo.gl/PVH2Ws WordPress Logo Slider Carousel Plugin : https://goo.gl/drVyJi Owl Carousel WordPress : https://goo.gl/A6xgSb WordPress Portfolio Plugin : https://goo.gl/FiDjUc WordPress Testimonial Plugin : https://goo.gl/AhsKaP Thank You For Watching........ Please subscribe our Youtube Channel for regular videos and like the video . Visit My site: https://www.themescode.com/ Facebook : https://www.facebook.com/imran.emu88/ Facebook Group : https://www.facebook.com/groups/wpvtuts/ -~-~~-~~~-~~-~- Please watch: "Elementor Tutorial For Beginners 1 | Best WordPress Page builder Plugin 2019" https://www.youtube.com/watch?v=4Wo_T0MEu4s -~-~~-~~~-~~-~-
Views: 100 Imran Emu
Learn All Types Of Marquee Tags Effects In HTML.
 
07:18
This video is about all types of marquee tags in html ... with the help of this video you can learn lots of tags of html language like : Scrollamount marquee, Scrolldelay marquee, bgcolor, width & height, direction of marquee,etc., tags are included in this video,.... ------------------------------------------------------------------------------ if you like this video, so don't forget to subscribe this youtube channel for more latest updates... ----------------------------------------------------------------------------------------------- you can also follow on facebook : http://facebook.com/techfully Thank You! --------------------------------------------------------------------------------------------------------
Views: 46471 Tech Fully
jquery ajax load
 
14:08
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-ajax-load.html In this video we will discuss how to load HTML data from the server using jquery AJAX load function. What is AJAX AJAX stands for Asynchronous JavaScript and XML, and allow parts of the page to be updated without having to reload the entire page. Syntax .load( url [, data ] [, complete ] ) Parameter - Description url - Required. URL to which the request is sent. data - Optional. A JSON object or string that is sent to the server along with the request. complete - A callback function that is called when the request completes. The following example loads HTML data from the server. When a text box receives focus, the help text associated with that field is loaded from the server and displayed. When the focus is lost the help text disappears. HtmlPage1.html <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var textBoxes = $('input[type="text"]'); textBoxes.focus(function () { var helpDiv = $(this).attr('id') + 'HelpDiv'; $('#' + helpDiv).load('Help.html #' + helpDiv); }); textBoxes.blur(function () { var helpDiv = $(this).attr('id') + 'HelpDiv'; $('#' + helpDiv).html(''); }); }); </script> </head> <body style="font-family:Arial"> <table> <tr> <td>First Name</td> <td><input id="firstName" type="text" /></td> <td><div id="firstNameHelpDiv"></div></td> </tr> <tr> <td>Last Name</td> <td><input id="lastName" type="text" /></td> <td><div id="lastNameHelpDiv"></div></td> </tr> <tr> <td>Email</td> <td><input id="email" type="text" /></td> <td><div id="emailHelpDiv"></div></td> </tr> <tr> <td>Income</td> <td><input id="income" type="text" /></td> <td><div id="incomeHelpDiv"></div></td> </tr> </table> </body> </html> Help.html <div id="firstNameHelpDiv"> Your fisrt name as it appears in passport </div> <div id="lastNameHelpDiv"> Your last name as it appears in passport </div> <div id="emailHelpDiv"> Your email address for communication </div> <div id="incomeHelpDiv"> Your annual income </div>
Views: 82626 kudvenkat
Responsive Web Design Tutorial - CSS3 rem unit
 
06:37
CSS Values and Units Module Level 3 http://www.w3.org/TR/2013/CR-css3-values-20130730/ Font sizing with Rem http://snook.ca/archives/html_and_css/font-size-with-rem Font sizing with rem could be avoided http://csswizardry.com/2011/05/font-sizing-with-rem-could-be-avoided/ In Defense Of Rem Units http://techtime.getharvest.com/blog/in-defense-of-rem-units Using CSS3 "rem" Units for "Elastic Pixels" http://jsbin.com/acide4/8 Sub-Pixel Problems in CSS http://ejohn.org/blog/sub-pixel-problems-in-css/ There's more to the CSS rem unit than font sizing http://css-tricks.com/theres-more-to-the-css-rem-unit-than-font-sizing/ REM-unit-polyfill https://github.com/chuckcarpenter/REM-unit-polyfill The Lengths of CSS http://css-tricks.com/the-lengths-of-css/ length https://developer.mozilla.org/en-US/docs/Web/CSS/length JS Fiddle example http://jsfiddle.net/pepelsbey/TDSUw/
Views: 22413 SitePoint
[ HTML ] Change Font Size  and Color
 
02:30
[ HTML ] Change Font Size and Color
Views: 253 Educational World
Part 73   OutputCache attribute in mvc
 
11:39
Link for code samples used in the demo http://csharp-video-tutorials.blogspot.com/2013/08/part-73-outputcache-attribute-in-mvc.html Link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists In this video, we will discuss OutputCache attribute and partial caching in asp.net mvc. OutputCacheAttribute is used to cache the content returned by a controller action method, so that, the same content does not need to be generated each and every time the same controller action is invoked. Let us understand this with an example. We will be using table tblEmployee for this demo. Please refer to Part 62 of MVC Tutorial, if you need SQL script to create and populate this table. Step 1: Add ado.net entity data model based on table tblEmployee. We have discussed doing this several times, in previous sessions of this video series. Step 2: Add HomeController with the following settings. a) Controller name = HomeController b) Template = MVC controller with read/write actions and views, using Entity Framework c) Model class = Employee d) Data context class = SampleDBContext e) Views = Razor Step 3: Modify the Index() action method in HomeController as shown below. Notice that, we are using OutPutCache attribute to cache the content returned by Index() action method for 10 seconds. [OutputCache(Duration = 10)] public ActionResult Index() { System.Threading.Thread.Sleep(3000); return View(db.Employees.ToList()); } Step 4: Modify code in "Index.cshtml" view as shown below. The modified code is highlighted in Yellow. @model IEnumerable[MVCDemo.Models.Employee] [div style="font-family:Arial"] [p] @Html.ActionLink("Create New", "Create") [/p] [table border="1"] [tr] [td colspan="4"] [b]Employee List retrieved @@ @DateTime.Now.ToString()[/b] [/td] [/tr] [tr] [th] @Html.DisplayNameFor(model =] model.Name) [/th] [th] @Html.DisplayNameFor(model =] model.Gender) [/th] [th] @Html.DisplayNameFor(model =] model.Email) [/th] [th][/th] [/tr] @foreach (var item in Model) { [tr] [td] @Html.DisplayFor(modelItem =] item.Name) [/td] [td] @Html.DisplayFor(modelItem =] item.Gender) [/td] [td] @Html.DisplayFor(modelItem =] item.Email) [/td] [td] @Html.ActionLink("Edit", "Edit", new { id=item.ID }) | @Html.ActionLink("Details", "Details", new { id=item.ID }) | @Html.ActionLink("Delete", "Delete", new { id=item.ID }) [/td] [/tr] } [/table] [/div] When you navigate to /Home/Index, the view ouput is cached for 10 seconds. If you refresh the view, within 10 seconds you will get a cached response. After 10 seconds, the cache expires, code is executed again and the output is cached for another 10 seconds. Caching specific portion of a view using ChildActionOnly attribute: Step 1: Remove OutputCache attribute and the line which calls Thread.Sleep(), from the Index() action method in HomeController. After the changes, the Index() action method should be as shown below. public ActionResult Index() { return View(db.Employees.ToList()); } Step 2: Add GetEmployeeCount() action method to HomeController. Notice that, this method is decorated with OutputCache and ChildActionOnly attributes. // Child actions can be used to implement partial caching, // although not necessary. In this case, even if the ChildActionOnly // attribue is removed, a portion of the view will be cached as expected [ChildActionOnly] [OutputCache(Duration = 10)] public string GetEmployeeCount() { return "Employee Count = " + db.Employees.Count().ToString() + "@ " + DateTime.Now.ToString(); } Step 3: Copy and paste the following code, just below the closing table tag in Index.cshtml view. [br /][br /] [b] @Html.Action("GetEmployeeCount") [/b] Navigate to /Home/Index. Notice that, everytime you refresh the page, the time in the section of the page that displays employee list changes, but not the time, that displays the employee count. This proves that, only a portion of the view, is cached. Make sure to replace [ with LESSTHAN and ] with GREATERTHAN symbol.
Views: 71379 kudvenkat
Font tag -- HTML paragraph in Hindi  (part 3/7) [ html in Hindi ]
 
06:06
here you'll learn How to use the FONT TAG IN HTML In this Hindi/Urdu video tutorial, as well how to use font tag to change font face, font color and font size in HTML web page in Hindi. Easily learn to change font color, font size and font face (look) by using pure HTML language. HTML हिन्दी मे सीखे ...HTML हिन्दी मे सीख कर web design मे expert bane.. web design सिखने के लिए शुरु करे HTML tutorial हिन्दी मे । ... Learn HTML in Hindi and Make yourself expert in HTML in Hindi for learning web designing with Hindi HTML learning tutorial you can learn HTML easily with this HTML in Hindi tutorial. it is great platform for learning HTML in Hindi. HTML Tutorial in Hindi/Urdu for beginner to expert.... This course is one of the best courses designed for beginners in HTML. Watch this HTML in Hindi video tutorials series to learn HTML from Basic to advance. In this course, you'll learn the complete web design structure in Hindi/Urdu. Like | Watch | Share | Subscribe Website: http://www.vishacademy.com YouTube Channel: http://www.youtube.com/vishAcademy Facebook: http://www.facebook.com/vishAcademy
Views: 52136 vishAcademy
jsPDF Tutorial   Part 3: Exactly Capture HTML page to PDF
 
03:05
How to capture snapshot of HTML page and generate PDF file when user click the link. This tutorial will show you how to use jsPDF and html2canvas step by step and generate PDF that look exactly like your HTML page jsPDF: https://github.com/MrRio/jsPDF html2canvas: https://github.com/niklasvh/html2canvas/releases Follow us on Facebook: https://www.facebook.com/theRedStapler Website: http://redstapler.co/ Twitter: https://twitter.com/redStapler_twit
Views: 95448 Red Stapler
Difference between window height and document height
 
08:15
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/06/difference-between-window-height-and.html In this video we will discuss 1. Difference between window height and document height 2. How to detect if the user has scrolled to the bottom of the page $(window).height() - Returns height of the browser window i.e browser viewport $(document).height() - Returns height of HTML document $(window).scrollTop() - Returns the current vertical position of the scroll bar What is the difference between window height and document height The window height is what you see (i.e browser viewport), but the document height includes everything below or above the visible area. How to detect if the user has scrolled to the bottom of the page Here is the formula to detect if the user has scrolled to the bottom of the page if (verticalScrollBarPosition == $(document).height() - $(window).height()) { floatingDiv.html('Reached the bottom of the page'); } Why window height and document height are the same in Google chrome Without DOCTYPE tag Chrome reports the same value for both window height and document height. Include the following DOCTYPE declaration <!DOCTYPE html> Example used in the demo <!DOCTYPE html> <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var floatingDiv = $("#divfloating"); var floatingDivPosition = floatingDiv.position(); $(window).scroll(function () { var scrollPosition = $(window).scrollTop(); if (scrollPosition >= floatingDivPosition.top) { floatingDiv.css({ 'position': 'fixed', 'top': 3 }); } else { floatingDiv.css({ 'position': 'relative', 'top': 0 }); } floatingDiv.html('Window Height = ' + $(window).height() + '<br/>' + 'Document Height = ' + $(document).height() + '<br/>' + 'Vertical Scrollbar Position = ' + scrollPosition ); if (scrollPosition == $(document).height() - $(window).height()) { floatingDiv.html('Reached the bottom of the page'); } }); }); </script> </head> <body style="font-family:Arial;"> <table align="center" border="1" style="border-collapse:collapse"> <tr> <td style="width:500px"> <div> Main Page Content </div> </td> <td style="width:150px; vertical-align:top"> Side panel content <br /><br /> <div id="divfloating" style="background-color:silver; width:150px; height:150px"> Floating Div - Keeps floating as you scroll down the page </div> </td> </tr> </table> </body> </html> In our next video we will discuss how to load data like facebook as you scroll down the page.
Views: 21274 kudvenkat
Part 64   Implement sorting in asp net mvc
 
16:34
C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners http://www.youtube.com/user/kudvenkat/playlists In this video, we will discuss, implementing sort functionality in an asp.net mvc application. We will be working with the same example that we started in Part 62. So, please watch Parts 62 and 63 before proceeding with this video. We want to support bi-directional sorting by Name and Gender columns. Here's the requirement 1. Name & Gender columns must be clickable hyperlinks 2. Clicking on the column headers should sort the data. If the data is not already sorted by the column on which you have clicked, the data should be sorted in ascending order. Clicking again on the same column should sort the data in descending order. 3. By default, the data should be sorted by "Name" in ascending order. By the end of this video, the output should be as shown below. Notice that "Name" and "Gender" columns are rendered as hyperlinks, which the user can click to sort data. Step 1: Modify the "Index()" action method in HomeController as shown below. public ActionResult Index(string searchBy, string search, int? page, string sortBy) { ViewBag.NameSort = String.IsNullOrEmpty(sortBy) ? "Name desc" : ""; ViewBag.GenderSort = sortBy == "Gender" ? "Gender desc" : "Gender"; var employees = db.Employees.AsQueryable(); if (searchBy == "Gender") { employees = employees.Where(x =] x.Gender == search || search == null); } else { employees = employees.Where(x =] x.Name.StartsWith(search) || search == null); } switch (sortBy) { case "Name desc": employees = employees.OrderByDescending(x =] x.Name); break; case "Gender desc": employees = employees.OrderByDescending(x =] x.Gender); break; case "Gender": employees = employees.OrderBy(x =] x.Gender); break; default: employees = employees.OrderBy(x =] x.Name); break; } return View(employees.ToPagedList(page ?? 1, 3)); } Step 2: Modify the code in Index.cshtml view as shown below. Please pay attention to the code highlighted with Grey colour. @using PagedList; @using PagedList.Mvc; @model PagedList.IPagedList[MVCDemo.Models.Employee] @{ ViewBag.Title = "Index"; } [link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" /] [div style="font-family:Arial"] [h2]Employee List[/h2] [p] @using (@Html.BeginForm("Index", "Home", FormMethod.Get)) { [b]Search By:[/b] @Html.RadioButton("searchBy", "Name", true) [text]Name[/text] @Html.RadioButton("searchBy", "Gender") [text]Gender[/text][br /] @Html.TextBox("search") [input type="submit" value="search" /] } [/p] [table border="1"] [tr] [th] @Html.ActionLink("Name", "Index", new { sortBy = ViewBag.NameSort, searchBy = Request["searchBy"], search = Request["search"] }) [/th] [th] @Html.ActionLink("Gender", "Index", new { sortBy = ViewBag.GenderSort, searchBy = Request["searchBy"], search = Request["search"] }) [/th] [th] @Html.DisplayNameFor(model =] model.First().Email) [/th] [th]Action[/th] [/tr] @if (Model.Count() == 0) { [tr] [td colspan="4"] No records match search criteria [/td] [/tr] } else { foreach (var item in Model) { [tr] [td] @Html.DisplayFor(modelItem =] item.Name) [/td] [td] @Html.DisplayFor(modelItem =] item.Gender) [/td] [td] @Html.DisplayFor(modelItem =] item.Email) [/td] [td] @Html.ActionLink("Edit", "Edit", new { id = item.ID }) | @Html.ActionLink("Details", "Details", new { id = item.ID }) | @Html.ActionLink("Delete", "Delete", new { id = item.ID }) [/td] [/tr] } } [/table] @Html.PagedListPager(Model, page =] Url.Action("Index", new { page, searchBy = Request.QueryString["searchBy"], search = Request.QueryString["search"], sortBy = Request["sortBy"] }), new PagedListRenderOptions() { Display = PagedListDisplayMode.IfNeeded }) [/div]
Views: 62539 kudvenkat
jQuery input vs input
 
06:29
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/03/jquery-input-vs-input.html In this video we will discuss the difference between $(input) and $(:input) selectors $(:input) selects all input, textarea, select and button elements where as $(input) just selects elements with an input tag. The following is the HTML used in the examples. Replace < with LESSTHAN symbol and > with GREATERTHAN Symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> </head> <body style="font-family:Arial"> First Name : <input type="text" value="John" /> <br /><br /> Last Name : <input type="text" value="Major" /> <br /><br /> Gender : <input type="radio" name="gender" checked="checked" value="Male">Male <input type="radio" name="gender" value="Female">Female <br /><br /> Skills : <input type="checkbox" name="skills" checked="checked" value="JavaScript" />JavaScript <input type="checkbox" name="skills" checked="checked" value="jQuery" />jQuery <input type="checkbox" name="skills" value="C#" />C# <br /><br /> Country: <select> <option selected="selected" value="USA">USA</option> <option value="India">India</option> <option value="UK">UK</option> </select> <br /><br /> Summary : <br /> <textarea>I am a Senior Dot Net Developer with 10 years experience</textarea> <br /><br /> <input type="submit" value="submit" /> </body> </html> Now we want to get the text value from all the textboxes. On this page we have 2 textboxes 1. First Name 2. Last Name jQuery code to get textbox value using $(input) <script type="text/javascript"> $(document).ready(function () { $('input[type="text"]').each(function () { alert($(this).val()); }); }); </script> jQuery code to get textbox value using $(:input) <script type="text/javascript"> $(document).ready(function () { $(':input[type="text"]').each(function () { alert($(this).val()); }); }); </script> Which one is better for performance $('input[type="text"]') or $(':input[type="text"]') $('input[type="text"]') is better for performance over $(':input[type="text"]'). This is because $(':input[type="text"]') needs to scan all input elements, textarea, select etc, where as $('input[type="text"]') scans only input elements. So if you want to find elements with an input tag, it is always better to use $('input[type="text"]') over $(':input[type="text"]')
Views: 90679 kudvenkat

В каком загсе нужно получать свидетельство о рождении ребенка
Когда нужно встать на учет чтобы получить родовой сертификат
Как ликвидировать ооо если только один учредитель и нет работников
Разрешение на строительство некапитальных объектов
Как узнать за сколько платишь земельный налог