Home
Search results “Options method jquery”
jquery ajax method
 
06:59
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-ajax-method.html In this video we will discuss how to make ajax requests using jquery ajax function. The other methods that are available in jquery to make ajax requests are load(), get() and post(). We discussed these methods in detail in the previous sessions of jQuery tutorial video series. All these methods are wrapper methods and use ajax() method under the hood. In Visual Studio, if you right click on any of these methods and select "Go To Definition" from the context menu, you can see that these methods call ajax() method. The wrapper methods are easier to use but they do not provide much flexibility. If you want to have complete control on configuring the ajax request use ajax() method. Syntax of jquery ajax method $.ajax( [ settings ] ) settings is a JavaScript object that we use to configure the Ajax request. For the list of all available options please check the jquery ajax method documentation http://api.jquery.com/jquery.ajax/ Let us now modify the example we worked with in Part 59, to use ajax() method instead of post() method. $(document).ready(function () { var textBoxes = $('input[type="text"]'); textBoxes.focus(function () { var helpDiv = $(this).attr('id'); $.ajax({ url: 'GetHelpText.aspx', data: { HelpTextKey: helpDiv }, success: function (response, status, xhr) { var jQueryXml = $(response); var textElement = jQueryXml.find("Text"); $('#' + helpDiv + 'HelpDiv').html(textElement.text()); }, dataType: 'xml', method: 'post' }); }); textBoxes.blur(function () { var helpDiv = $(this).attr('id') + 'HelpDiv'; $('#' + helpDiv).html(''); }); }); In our next video, we will discuss how to call an asp.net web service using jQuery AJAX and consume the XML data returned by the web service.
Views: 45254 kudvenkat
JSON - Dynamic Dependent Dropdown List using Jquery and Ajax
 
14:46
In this video we have create country state city drop down list using jquery ajax with JSON. Here we have make dependent dropdown in jquery ajax using JSON data. It will be Dynamic Dependent select box using Jquery Ajax. We have filled dynamic dependent drop down list by using Ajax Jquery with JSON data. For Source Code and Online Demo - http://www.webslesson.info/2017/05/json-dynamic-dependent-select-box-using-jquery-and-ajax.html
Views: 43739 Webslesson
Working with the jQuery data() Function
 
04:36
This is a new a video from the jQuery Tips and Tricks course by Dan Wahlin and Elijah Manor. The full course is available through Pluralsight at http://tinyurl.com/jQueryTipsTricks.
Views: 6806 Dan Wahlin
Part 7 - JQuery Events - #Form Events | blur, focus, change, submit, select methods
 
17:21
OVERVIEW:: In this video I have explained, form events in jQuery. SOCIAL : Find Us on FB : http://facebook.com/technotipstutorial Subscribe US : http://youtube.com/aapkanigam Follow us on Twitter : @technotipsMVC OR @aapkanigam GET CODE HERE http://technotipstutorial.blogspot.com/2017/11/part-7-jquery-events-form-events-blur.html INTRODUCTION : There are several events available in jquery and they responsible to do some certain kind of action and based on their nature of action they are categorized into several categories or event types. #Mouse Events a. click: Occurs when a mouse click. b. dblclick :Occurs when a mouse double-click. c. mousedown: Occurs when mouse button is pressed. e. mouseup: Occurs when mouse button is released f. mouseenter: Occurs when mouse enters in an element region. g. mouseleave: Occurs when mouse leaves an element region. h. mousemove: Occurs when mouse pointer moves. #Keyboard Events a. Keydown: Occurs when key is pressed. b. Keypress: Occurs when key is pressed and released. c. Keyup: Occurs when key is released.. #Form Events a. blur: Occurs when the element loses focus. b. change: Occurs when the element changes. c. focus: Occurs when the element gets focus. d. Submit: Occurs when form is submitted e. Select :Occurs when input text is selected #Document/windows Events a. load: Occurs when document is loaded. b. Resize: Occurs when window is resized. c. Scroll: Occurs when window is scrolled. d. Unload: Occurs when documents is unloaded. are actions that can e. be detected by your Web Application. RECOMMENDATION: Part 1. What is Jquery? : https://www.youtube.com/watch?v=hq3AtjlAjgw Part 2: https://www.youtube.com/watch?v=rareeV-lMUE Part 3. What are selectors? : https://www.youtube.com/watch?v=Qh8Gk-NKVuc Part 4. Element selectors :https://www.youtube.com/watch?v=x4Q9cFM0Kug Part 5. Attribute selectors: https://www.youtube.com/watch?v=-npNwso54YU What is jquery Event type in jquery Mouse events Keyboard Events Form Events Windows Events Document Events Id selectors Class selectors Element selectors Attribute selectors step by step jquery tutorial Jquery Plugins Jquery tutorial technotips ashish technotips tutorial asp.net mvc with jquery best video in jquery Jquery Plugins Jquery AJAX JSON object
Views: 2965 Technotips - Ashish
jQuery selected selector
 
07:41
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-selected-selector.html In this video we will discuss jQuery :selected selector. To select all checked checkboxes or radio buttons, we use :checked selector. To select all selected options of a select element use :selected selector. How to get selected option from single select dropdown in jquery : We want to get the selected option text and value Replace < with LESSTHAN symbol and > with GREATERTHAN symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOption = $('#selectCountries option:selected'); $('#divResult').html('Value = ' + selectedOption.val() + ', Text = ' + selectedOption.text()); }); }); </script> </head> <body style="font-family:Arial"> Country: <select id="selectCountries"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> How to get all selected options from multi select dropdown in jquery : We want to get all the selected options text and value. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOptions = $('#selectCountries option:selected'); if (selectedOptions.length > 0) { var resultString = ''; selectedOptions.each(function () { resultString += 'Value = ' + $(this).val() + ', Text = ' + $(this).text() + '<br/>'; }); $('#divResult').html(resultString); } }); }); </script> </head> <body style="font-family:Arial"> <select id="selectCountries" multiple="multiple"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> Please note : Hold down the CTRL key, to select more than one item.
Views: 84497 kudvenkat
Calling ASP NET Web API service in a cross domain using jQuery ajax
 
10:48
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/calling-aspnet-web-api-service-in-cross.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/calling-aspnet-web-api-service-in-cross_21.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Views: 119476 kudvenkat
jQuery Tutorial for Beginners - 57 - Autocomplete options
 
02:22
In this jQuery video we will cover options for the autocomplete widget. HTML Code: http://pastebin.com/jn1RJheA CSS Code: http://pastebin.com/rTMKWPTN
Views: 7687 EJ Media
jQuery: Dom Traversal (find parent and child nodes) - Beau teaches JavaScript
 
06:51
jQuery makes it easy to find specific elements based on their relation to other elements. Many methods allow you to find parent and child elements. The following methods are discussed in this video: parent, parents, parentUntil, children, find, siblings, next, nextAll, nextUntil, prev, prevAll, prevUntil. 💻 Code: https://codepen.io/beaucarnes/pen/Nvpweb 🐦 Beau Carnes on Twitter: https://twitter.com/carnesbeau - Learn to code for free and get a developer job: https://www.freecodecamp.com Read hundreds of articles on technology: https://medium.freecodecamp.com And subscribe for new programming videos every day: https://youtube.com/subscription_center?add_user=freecodecamp
Views: 7588 freeCodeCamp.org
4: How to use get and post methods in jQuery AJAX - Learn AJAX programming
 
18:19
When to use AJAX get and post using jQuery - Learn AJAX programming. In this lesson we will learn about get and post functions within jQuery AJAX. -- mmtuts is a YouTube channel that focuses on teaching beginner and advanced courses in various multimedia related skills. We plan to make tutorials available on programming, video production, animation, graphic design, and on software such as the Adobe Creative Cloud programs. AJAX for beginners is a how to series that teaches AJAX to people who are just starting out learning programming. The course teaches how AJAX scripting can be made easy and teaches how to create instant loading on your website withour needing to refresh the browser each time, and much more. Creating dynamic websites with AJAX is easy and should not be seen as otherwise, which is why we want to explain the language in a easy to understand way for beginners. If you have suggestions on new courses, or specific lessons within existing courses you would like to see, then feel welcome to submit them in the comment section or in a private message. ALL suggestions will be seen, but not all will be replied to since we get quite a few every day.
Views: 99281 mmtuts
Populate Select Option Boxes using jQuery
 
05:01
Download Source Code from http://goo.gl/D45Njw If you liked the video please like, comment and subscribe. *** https://www.facebook.com/pradyumn.shrivastava
Views: 13494 SourcewareInfo
How To Get Selected Option Value From Drop Down List Using JavaScript [ with source code ]
 
04:46
Display Value Of Selected Option in Select Tag Using Javascript Source Code: http://1bestcsharp.blogspot.com/2017/03/javascript-get-selected-option-value.html Javascript Tutorials For Beginners ➜ http://bit.ly/2k7NMWq Javascript Course ➜ http://bit.ly/2IvBCFC WEB-HOSTING (affiliate link) ➜ http://bit.ly/YtWebHost visit our blog https://1bestcsharp.blogspot.com/ subscribe: http://goo.gl/nRjPKk In This Javascript Tutorial we will see How To How to Get the Value of Selected Option in a Select Box In Netbeans Editor . Javascript Tutorials : How to get value of selected radio button https://www.youtube.com/watch?v=uzwUBDQfpkU How to append Value to an array https://www.youtube.com/watch?v=KVdY8n6lCy4 javascript images slider 1 https://www.youtube.com/watch?v=QkcemPr4xaU Convert String To Number https://www.youtube.com/watch?v=JMfZG7o_QtE JavaScript Show And Hide Input Password Text https://www.youtube.com/watch?v=Cmo9sjx5eFE change div class name in js https://www.youtube.com/watch?v=X_SDJxKI6HE using checkbox with js https://www.youtube.com/watch?v=yFYEHSh2iTQ get And Set Value To An Input https://www.youtube.com/watch?v=AfRHl3soLDg calculate two numbers https://www.youtube.com/watch?v=oDUjP4N_MtQ Search Element In Array https://www.youtube.com/watch?v=LIsjSMr9bJU Add Search Remove Array Element https://www.youtube.com/watch?v=ppLbuVWf6zM Add HTML Table Row https://www.youtube.com/watch?v=FVSfp8yT8lA Get Mouse Position https://www.youtube.com/watch?v=LVi5DN2vtdo Show Text Letter By Letter https://www.youtube.com/watch?v=dbdYazO4IZ4
Views: 93415 1BestCsharp blog
Landing Page With Smooth Scroll - 3 Options
 
22:43
In this video we will create a simple landing page with smooth scrolling. I will show you 3 options including pure CSS (scroll-behavior), jQuery and a lightweight JS script. Sponsor: Freelancer Bundle (Use "brad25" for 25% off) https://studywebdevelopment.com/freelancing.html Code: https://codepen.io/bradtraversy/pen/xBdyzr Smoothscroll Script: https://github.com/cferdinandi/smooth-scroll 💖 Become a Patron: Show support & get perks! http://www.patreon.com/traversymedia Website & Udemy Courses http://www.traversymedia.com Follow Traversy Media: https://www.twitter.com/traversymedia https://www.instagram.com/traversymedia https://www.facebook.com/traversymedia
Views: 35791 Traversy Media
How to show and hide content using select dropdown box using Jquery
 
06:28
Step 1 : First hide your content which you want to hide by using style="display: none;" and also set id id="mobileno_textbox" Step 2 : call function in select box code like onchange="fun_showtextbox()" Step 3 : create function fun_showtextbox() in your js file function fun_showtextbox() { var select_status=$('#messagetype').val(); /* if select personal from select box then show my text box */ if(select_status == 'Personal') { $('#mobileno_textbox').show();// By using this id you can show your content } else { $('#mobileno_textbox').hide();// otherwise hide } } Note : * must be sure your jquery.min.js is included first https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js I created this video with the YouTube Video Editor (http://www.youtube.com/editor) -~-~~-~~~-~~-~- Please watch: "how to change php version in godaddy within 1 minute" https://www.youtube.com/watch?v=UTjF2A3xvsE -~-~~-~~~-~~-~-
Views: 6961 Shinerweb
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: 235520 Adam Khoury
Widget Modifications in JQuery UI using Getter and Setter Methods
 
12:10
Wew already know jQuery UI provides us inbuilt widgets which we can use directly into our website with several customizations/options. In this video tutorial we will understand how we can change the different options after the widgets are created using the getter and setter methods. jQuery UI official link - https://jqueryui.com/ Video by - Tanmay Sakpal Simple Snippets Channel link - https://www.youtube.com/simplesnippets
Views: 2773 Telusko
Append/Add and Remove HTML Elements: jQuery
 
05:59
http://technotip.com/2021/append-add-and-remove-html-xml-elements-jquery/ Video tutorial to illustrate adding or appending an html element or removing an html element from the web page using jQuery: DOM (Document Object Model) jQuery uses: .append(); and .remove(); functions to accomplish this task. We could use these methods to append string or any other html or XML element and also remove string and other html or XML elements from the document. jQuery Video Tutorial List: http://technotip.com/2514/jquery-tutorial-list/
Views: 39214 Satish B
Get and Change element content dynamically - Learn JQuery in Hindi
 
08:35
Get and Change element content dynamically is Hindi/Urdu video tutorial.Here you'll learn How to get and change the HTML content of webpage using JQuery Get and Set method dynamically. JQuery हिन्दी मे सीखे ...JQuery हिन्दी मे सीख कर web design मे expert bane.. web design सिखने के लिए शुरु करे JQuery tutorial हिन्दी मे । ... Learn JQuery in Hindi and Make yourself expert in JQuery in Hindi by learning web designing with Hindi JQuery learning tutorial you can learn JQuery easily with this JQuery in Hindi tutorial. it is great platform for learning JQuery in Hindi. JQuery Tutorial in Hindi/Urdu for beginner to expert.... This course is one of the best courses designed for beginners in JQuery. Watch this JQuery in Hindi video tutorials series to learn JQuery from Basic to advance. In this course, you'll learn the complete web design structure in Hindi/Urdu. Connect with us on ... facebook » http://www.facebook.com/vishacademy twitter » http://www.twitter.com/vishAcademy youtube » http://www.youtube.com/vishacademy
Views: 15952 vishAcademy
jQuery change event
 
11:11
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-change-event.html In this video we will discuss jQuery change event. change event is fired when an element value changes. All the following elements fire this event 1. input 2. textarea 3. select select, radio buttons and checkboxes fire the change event as soon as a selection is made, where as the other element types wait until they loose focus. For the HTML used in the demo, please refer to my blog using the link below http://csharp-video-tutorials.blogspot.com/2015/04/jquery-change-event.html As soon as the selection in the dropdownlist changes, we want to handle the change event and display the selected value in the div element with id="divResult". In the example below, we are using the id selector, so only the select element change event is handled. $(document).ready(function () { $('#ddlCity').change(function () { var selectedValue = $(this).val(); if (selectedValue == "Select") selectedValue = "Please select city"; $('#divResult').html(selectedValue); }); }); The following code handles the change event of all the input elements (textbox, radio button, checkbox). Notice that in this example we are using the jquery element selector. Change event of select and textarea is not handled. $(document).ready(function () { var result = ''; $('input').change(function () { if (result == '') { result += $(this).val(); } else { result += ', ' + $(this).val(); } $('#divResult').html(result); }); }); The following code handles the change event of all the elements on the page. Notice that in this example we are using the jquery class selector. $(document).ready(function () { var result = ''; $('.inputRequired').change(function () { if (result == '') { result += $(this).val(); } else { result += ', ' + $(this).val(); } $('#divResult').html(result); }); });
Views: 63788 kudvenkat
jquery dialog widget
 
09:47
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-dialog-widget.html In this video we will discuss jQuery dialog widget with examples. 2 simple steps to get the jQuery dialog widget on a web page 1. Place the content inside a div element <div id="dialog">This is jQuery dialog widget example</div> 2. Find the div element and call jQuery UI dialog() function $('#dialog').dialog(); There are many jQuery dialog options to customize the dialog widget. Here are some of the most commonly used options title - Sets the title of the dialog. You can also use the title attribute of the div element to set the title for the dialog. If both are specified title option value overrides the value set using th element title attribute draggable - Boolean option that determines if the dialog can be draggable by the title bar resizable - Boolean option that determines if the dialog is resizable closeOnEscape - Boolean option that determines if the dialog can be closed by pressing the Esc key modal - Boolean option that determines if the dialog is modal dialog. With modal dialog other items on the page will be disabled and cannot be interaced with until the dialog is closed autoOpen - Boolean option that determines if the dialog should open automatically upon initialization. If set to false, the dialog will stay hidden until the open() method is called
Views: 23196 kudvenkat
Set Value In DropDown Select Option HTML  jQuery 3.4.0
 
06:01
#dropdownsetvalue #selectoptionsetvalue methods to set the default value in the dropdown select option element using html property and jquery snippet
jQuery Tutorial for Beginners - 35 - Accordion options
 
02:32
In this jQuery video we will cover the accordion widget options. HTML Code: http://pastebin.com/MRYyiMSw CSS Code: http://pastebin.com/DphhMQ80
Views: 8260 EJ Media
What is $document ready function in jquery
 
10:24
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/what-is-documentreadyfunction-in-jquery.html In this video we will discuss 1. What is $(document).ready(function() in jquery and when to use it 2. Difference between $(window).load and $(document).ready $(document).ready is a jQuery event. It fires as soon as the DOM is loaded and ready to be manipulated by script. This is the earliest point in the page load process where the script can safely access elements in the page's html dom. This event is fired before all the images, css etc.. are fully loaded. The following example works, because the jquery code that adds the event handler to the button is inside the ready() function, which ensures that the DOM is fully loaded before this piece of code is executed, so the JavaScript can find the button element in the DOM and adds the click event hanlder. [html] [head] [title][/title] [script src="Scripts/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] In the following example, we have removed the ready() method. When you click the button now, you don't get the alert. This is because the jQuery code is present before the button element, so by the time the jQuery code is executed the button element is not loaded into DOM. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $('#button1').click(function () { alert('jQuery Tuorial'); }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [/body] [/html] To make this example work, you have 2 options 1. Place your jQuery code in $(document).ready function OR 2. Place your script at the bottom of the page just before the closing [/body] element $(window).load event fires when the DOM and all the content on the page (images, css etc) is fully loaded. Since the window load event waits for images, css etc to be fully loaded, this event fires after ready event. The following example proves the above point. When you run the page with the following script, notice that the alert in ready function is displayed before the alert in load function. [script type="text/javascript"] $(window).load(function () { alert('Window loaded'); }); $(document).ready(function () { alert('DOM Loaded and ready'); }); [/script] In most cases, the script can be run as soon as the DOM hierarchy has been fully constructed. So ready() is usually the best place to write your JavaScript code. However, in your application there could be scenarios where you should be using $(window).load over $(document).ready. For example, let's say we want to display the actual image dimensions (Height and Width). To get the actual image dimensions, we will have to wait until the image is fully loded, so the jQuery code to get the height and width should be in $(window).load event. Example : If you use $(document).ready() instead of $(window).load() the height and width will be displayed as 0. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(window).load(function (){ $('#div1').html("Height = " + $('#Image1').height() + "[br/]" + "Width = " + $('#Image1').width()) }); [/script] [/head] [body] [div id="div1"][/div] [img src="Chrysanthemum.jpg" id="Image1" /] [/body] [/html]
Views: 234359 kudvenkat
jQuery accordion in asp net
 
16:02
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-accordion-in-aspnet.html In this video we will discuss how to implement accordian panel in an ASP.NET web forms application using jQuery. What is accordian Accordian is great for displaying collapsible content panels for presenting information in a limited amount of space. 2 simple steps to produce an accordin using jQuery Step 1 : The HTML of the accordion container needs pairs of headers and content panels as shown below <div id="accordian" style="width: 400px"> <h3>Header 1</h3> <div>Content Panel 1</div> <h3>Header 2</h3> <div>Content Panel 2</div> <h3>Header 3</h3> <div>Content Panel 3</div> </div> Step 2 : Invoke accordion() function on the container div $('#accordian').accordion(); Retrieve data from a database table and present it using jQuery accordian in an asp.net webforms application WebService (ASMX) Code 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 List<Country> GetCountries() { List<Country> listCountries = new List<Country>(); string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString; using (SqlConnection con = new SqlConnection(cs)) { SqlCommand cmd = new SqlCommand("spGetCountries", con); cmd.CommandType = CommandType.StoredProcedure; 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.CountryDescription = rdr["CountryDescription"].ToString(); listCountries.Add(country); } } return listCountries; } } } WebForm jQuery code. $(document).ready(function () { $.ajax({ url: 'CountryService.asmx/GetCountries', method: 'post', contentType: 'application/json;charset=utf-8', dataType: 'json', success: function (data) { var htmlString = ''; $(data.d).each(function (index, country) { htmlString += '<h3>' + country.Name + '</h3><div>' + country.CountryDescription + '</div>'; }); $('#accordion').html(htmlString).accordion({ collapsible: true, active: 2, }); } }); }); collapsible - By default, atleast one section need to be active. If you want to collapse all the sections, 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. For the complete list of options, methods and events of accordian widget http://api.jqueryui.com/accordion
Views: 22314 kudvenkat
jQuery Tutorial for Beginners - 27 - Datepicker options
 
04:19
In this video we will cover more options you can use with the Datepicker widget. HTML Code: http://pastebin.com/fyw79qES CSS Code: http://pastebin.com/DphhMQ80
Views: 11417 EJ Media
jquery animation queue
 
17: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/05/jquery-animation-queue.html In this video we will discuss how jQuery animation queues work. When several calls to animate() method are chained together. By default these calls are placed into a queue to be executed one after the other in series rather than executing all of them simultaneously in parallel. The name of this queue is fx. Each HTML element has its own queue. With the following code there will be 5 calls to animate method placed in the queue of each div element. This means both div elements (myDiv1 & myDiv2) may start to execute the first call to animate method more or less at the same time. However, from the given queue the queued methods are executed one after the other in series. $('#myButton').click(function () { $('#myDiv1') .animate({ 'width': 500 }, 1500) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500); $('#myDiv2') .animate({ 'width': 500 }, 1500) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500); }); The following code finds the total number of method calls waiting in the queue. While the first call to animate method is being executed, the other calls are added to the queue and waiting to be executed one after the other in sequence. $('#myDiv1') .animate({ 'width': 500 }, 1500) .queue(function () { console.log('Queued calls = ' + $(this).queue('fx').length); $(this).dequeue(); }) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500) .queue(function () { console.log('Queued calls = ' + $(this).queue('fx').length); $(this).dequeue(); }); To globally disable all animations $.fx.off = true or jQuery.fx.off = true If you want the calls to animate() to be executed simultaneously in parallel, then set queue option to false. Modify the jQuery code as shown below. $('#myDiv1') .animate({ 'width': 500 }, { duration: 1500, queue: false }) .animate({ 'padding': 20 }, { duration: 1500, queue: false }) .animate({ 'font-size': 50 }, { duration: 1500, queue: false }) .animate({ 'border-width': 10 }, { duration: 1500, queue: false }) .animate({ 'opacity': 1 }, { duration: 1500, queue: false }); $('#myDiv2') .animate({ 'width': 500 }, { duration: 1500, queue: false }) .animate({ 'padding': 20 }, { duration: 1500, queue: false }) .animate({ 'font-size': 50 }, { duration: 1500, queue: false }) .animate({ 'border-width': 10 }, { duration: 1500, queue: false }) .animate({ 'opacity': 1 }, { duration: 1500, queue: false }); There are 2 variations of animate method. We discussed Variation 1 in Part 46 of jQuery tutorial. In the code snippet above we are using Variation 2. Variation 1 .animate( properties [, duration ] [, easing ] [, complete ] ) Variation 2 .animate( properties, options ) For the list of all additional options that you can pass to animate method please check http://api.jquery.com/animate An easier way to animate multiple css properties simultaneously in parallel, is to include all those css properties in a single JSON object. $('#myDiv1') .animate({ 'width': 500, 'padding': 20, 'font-size': 50, 'border-width': 10, 'opacity': 1 }, 1500); $('#myDiv2') .animate({ 'width': 500, 'padding': 20, 'font-size': 50, 'border-width': 10, 'opacity': 1 }, 1500);
Views: 27997 kudvenkat
Dynamically Add / Remove input fields in PHP with Jquery Ajax
 
11:11
Add or Remove input fields dynamically with Ajax JQuery. Add Input Field using Jquery. How to Add / Remove textbox dynamically with Jquery. Javascript add input fields dynamically. Dynamically add input fields and submit to database with Jquery and PHP. Add Field dynamically to form in jquery and php. Dynamically Add form fields PHP. Source Code - http://www.webslesson.info/2016/02/dynamically-add-remove-input-fields-in-php-with-jquery-ajax.html
Views: 166101 Webslesson
jQuery Tutorial for Beginners - 36 - Accordion options Part 2
 
03:12
In this jQuery video we will cover the accordion widget options. HTML Code: http://pastebin.com/2A3U6jP2 CSS Code: http://pastebin.com/DphhMQ80
Views: 7907 EJ Media
jQuery Tutorial for Beginners - 40 - Menu options
 
02:59
In this jQuery video we will cover some of the options you can use in the menu widget. HTML Code: http://pastebin.com/pGmGLLG4 CSS Code: http://pastebin.com/GYG4zpGG https://api.jqueryui.com/theming/icons/
Views: 8774 EJ Media
JQuery Tutorial for Beginners - 10 - Chaining methods
 
02:43
In this tutorial we examine chaning methods. HTML Code: http://pastebin.com/bM18Ts83 CSS Code: http://pastebin.com/AZFykc8E Notes: http://pastebin.com/nHeQHbZr
Views: 15578 EJ Media
Dynamic Dependent Select Box using Jquery and Ajax in PHP
 
06:43
This video explain how to make dynamic dependent select box by using Jquery Ajax and PHP. When you select one select box, next select box will be filled dynamically based on value of first select box without refresh of page. Source Code - http://www.webslesson.info/2016/03/dynamically-generate-a-select-list-with-jquery-ajax-php.html
Views: 45540 Webslesson
JSON data to HTML Table using Ajax Jquery getJSON method
 
06:46
In this video tutorial we have load data from JSON file to HTML table by using getJSON() Ajax method.
Views: 83918 Webslesson
jQuery Tutorial for Beginners - 53 - Resizable widget options
 
03:22
In this jQuery video we will cover the options for the resizable widget. HTML Code: http://pastebin.com/CH4GW0NE CSS Code: http://pastebin.com/5i5LrFdw Notes: http://pastebin.com/cjqL4Yqv
Views: 5688 EJ Media
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: 70075 kudvenkat
Reload or Refresh div using jquery in most simple method
 
04:12
A very simple way to reload any element using jquery. Refresh or reload div using simple jquery method. This method can be used in ajax also. Ajax div reload on click. • jQuery Library: http://jquery.com/download/ Refresh Div using jquery Reload div using jquery reload content of a div using javascript
Views: 15466 F Z
Moving Select Dropdown Options Up and Down using Jquery
 
01:34
Source code: http://www.studywithdemo.com/2015/08/how-to-move-multi-select-dropdown.html
Views: 378 studywithdemo
Show/Hide Elements With Javascript onclick Radio Button
 
05:12
#htmlradiobutton #hideshowhtml #htmltutorials HTML tutorial on using javascript onclick event the HTML form elements hide and show
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: 59119 kudvenkat
jQuery UI Tutorial | Shared API Configuration Options
 
02:34
Want all of our free jQuery UI training videos? Visit our Learning Library, which features all of our training courses and tutorials at http://learn.infiniteskills.com?utm_source=youtube&utm_medium=youtube_video_description&utm_campaign=jquery_ui_shared_api_configuration_options&network=youtube More details on this jQuery UI training can be seen at http://www.infiniteskills.com/training/learning-jquery-ui.html?utm_source=youtube&utm_medium=youtube_video_description&utm_campaign=jquery_ui_shared_api_configuration_options&network=youtube. This clip is one example from the complete course. For more free jQuery UI tutorials please visit our main website. YouTube: https://www.youtube.com/user/OreillyMedia Facebook: https://www.facebook.com/OReilly/?fref=ts Twitter: https://twitter.com/OReillyMedia Website: http://www.oreilly.com/
Populate Dropdown on the basis of another dropdown value in PHP using JQuery Ajax
 
06:26
Populating country dropdown on the basis of state dropdown value through the jQuery ajax() method is a very common implementation of ajax feature that you have seen on many websites while filling the registration form.
JQuery Tutorial for Beginners - 8 - The CSS method
 
03:01
In this tutorial we examine the JQuery method for CSS. HTML Code: http://pastebin.com/ejT7biwn CSS Code: http://pastebin.com/AZFykc8E
Views: 17467 EJ Media
jQuery Filter Methods To Narrow Selection
 
09:52
http://technotip.com/2088/jquery-filter-methods-to-narrow-selection/ In this video tutorial we illustrate you the use of jQuery filter methods to narrow our selection. The 6 jQuery filter methods are: first() last() eq() slice() not() filter() jQuery Video Tutorial List: http://technotip.com/2514/jquery-tutorial-list/
Views: 3325 Satish B
jquery tooltip widget
 
08:32
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/06/jquery-tooltip-widget.html In this video we will discuss jQuery tooltip widget with examples. To get a tooltip without using jQuery all you do is set the title attribute. At this point when we hover over the element the content that is specified as the value for the title attribute will be displayed as the tooltip. jQuery Tooltip widget replaces native tooltip and allows lot of customization 1. Display other content than just the title, like inline footnotes or extra content retrieved via Ajax. 2. Customize the positioning, e.g., to center the tooltip above elements. 3. Add extra styling to customize the appearance, for warning or error fields. In the following example label element display the native tooltip where as the textbox displays jQuery tooltip HTML <label id="lblName" for="txtName" title="Full Name">Name</label> <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip(); In the following example we are calling tooltip() function on the document object, so this will display jQuery tooltip for all the elements that have title attribute $(document).tooltip(); You can also use the content option, to specify the content for tooltip. When both title attribute and content options are specified, the content specified by the content option will override the content specified by the title attribute. HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ content : '<u>content option</u> tooltip overriding title attribute tooltip' }); content option supports multiple types. string or a function. HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $(document).ready(function () { $('#txtName').tooltip({ content: toolTipFunction }); function toolTipFunction() { return 'Tooltip from a function'; } }); Set track option to true to make the tooltip follow the mouse HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ track: true }); show and hide options can be used to animate the showing and hiding of the tooltip. Both of these options support multiple types. For the detailed description please check the following jquery documentation page http://api.jqueryui.com/tooltip In the following example we are using a JavaScript object, to specify the animation duration, effect and delay while the tooltip is being shown and hidden HTML <input id="txtName" type="text" title="Your full name as it appears in paasport" /> jQuery $('#txtName').tooltip({ show : {delay:10, duration:500, effect: 'slideDown'}, hide: { delay: 10, duration: 500, effect: 'slideUp' } });
Views: 21650 kudvenkat
NoConflict Method in Jquery
 
03:02
To download Source Code Please Visit http://www.yogeshdotnet.com For more videos and free tutorial and notes please visit https://yogeshdotnet.com/ My Youtube gears: Headphone with Mic : http://amzn.to/2kUXHSq Best USB Micro phone : http://amzn.to/2gogjsR Another option(cheap) asUSB microphone : http://amzn.to/2yrOsME Microphone with mic under 500: http://amzn.to/2gogV1D Antivirus under 500 : http://amzn.to/2ieKPFV Flipkart Headphone with mic : http://fkrt.it/TVSKWTuuuN Another Option Headphone with mic : http://fkrt.it/!Rt50!NNNN Bluetooth Speakers : http://fkrt.it/Tg4nuTuuuN Flipkart Headphone with mic : http://fkrt.it/TVSKWTuuuN Another Option Headphone with mic : http://fkrt.it/!Rt50!NNNN Bluetooth Speakers : http://fkrt.it/Tg4nuTuuuN Flipkart Headphone with mic : http://fkrt.it/TVSKWTuuuN Another Option Headphone with mic : http://fkrt.it/!Rt50!NNNN Bluetooth Speakers : http://fkrt.it/Tg4nuTuuuN What's app group: https://chat.whatsapp.com/AtlkVqbxOrp1vyewFDOg4x What's app group for latest technologies and trends : https://chat.whatsapp.com/AtlkVqbxOrp1vyewFDOg4x Facebook Page Url : https://www.facebook.com/yogeshdotnetblogs/
dropdown select option dynamically tooltip using jquery | php
 
04:05
php tutorial | display tooltip dynamically into select option html dropdown element using jquery
Insert Dynamic Multi Select Box Data using Jquery Ajax PHP
 
31:22
Make stylish dynamic multi select drop down list by using Light weight Multi Select Jquery Plugin and Insert multiple select drop down list data in Mysql table by using Ajax with PHP. How to create dynamic dependent Multi select drop down list using Ajax in PHP. Dynamic Dependent Multiple Select Box using Jquery Ajax and PHP. For Source Code and online Demo - http://www.webslesson.info/2017/10/insert-dynamic-multi-select-box-data-using-jquery-ajax-php.html
Views: 37494 Webslesson
jQuery Tutorial for Beginners - 31 - Tooltip widget options
 
04:12
In this video we will cover the tooltip widget options. HTML Code: http://pastebin.com/0MjsJ0Ey CSS Code: http://pastebin.com/DphhMQ80 Notes: http://pastebin.com/LtwfMFNL
Views: 9345 EJ Media
Laravel Dynamic Dependent Dropdown using Ajax
 
18:59
Learn How to Make Dynamic Dependent in Laravel using Ajax. How to use Laravel with Ajax for populate dropdown listbox with dynamic data. How to Create Dynamic Dropdown in Laravel. Dynamic Dependent Dropdown in Laravel using jQuery and Ajax. Source Code - http://www.webslesson.info/2018/03/ajax-dynamic-dependent-dropdown-in-laravel.html
Views: 27319 Webslesson
Using jQuery.when
 
05:46
I'll continue with promise objects in jQuery and talk about how to use the $.when function. Read the article here: http://prettyprinted.com/using-jquery-when
Views: 5493 Pretty Printed
jQuery Tutorial for Beginners - 42 - Message box Options
 
03:46
In this jQuery video we will cover the message box. HTML Code: http://pastebin.com/9FQ2m4SJ CSS Code: http://pastebin.com/GYG4zpGG
Views: 7530 EJ Media