JQuery Archive

Increse Decrease Font Size | Zoom In Zoom Out Text Size Using jQuery

Overview:In this tutorial i am going to explain about how to increase and decrease font size or how to zoom in and zoom out text using jQuery and javascript. WE can increase and decrease font size or zoom in and zoom out text for the entire page as well as for a particular part of

jQuery Code/Script To Make The First Word Bold

Overview: In this tutorial i am going to explain about how to make the first word bold using jQuery script. For this using regular expression i am finding the first word from the target element and then adding the <strong> tag to that word then replacing it in the target. Description:For explanation purpose i have

How To Show Tooltip On Mouse Hover In Gridview in Using jQuery in ASP.Net C#.Net & VB.Net

In this tutorial i am going to explain about how to show tooltip On Mouse hover in gridview in ASP.Net,C#.Net & VB.Net using jQuery. In my previous article i have explained about SQL Script To Drop Multiple Tables,Procedures At Once ,Convert Dataset Datatable To Json Data Array,SQL Script To Drop Multiple Tables,Procedures At Once In

How To Convert JSON Data Into Html Table Using Javascript jQuery

In this tutorial i am going to explain about how to display the json data into html table using javascript & jquery. For explaining how we convert the json data into html table using javascript & jquery we have created a json file that contains the below json data. data.json: [crayon-59ed07106d520196008576/] To explain the process

Show hide password characters using javascript,jquery

<!DOCTYPE html> <html> <head runat=”server”> <title>Show Hide Password</title> <%–Include jQuery Library–%> <script type=”text/javascript”src=”https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”></script> </head> <body> <form> <div style=”margin:80px;”> <input type=”hidden”value=”0″id=”mode”/> <input type=”password”id=”txtpass”/> <button id=”btnclick”onclick=”return fnClick();”>     Show Password </button> </div> </form> <script type=”text/javascript”> //Javascript code to show hide password characters functionfnClick() { varcurval = $(‘#mode’).val(); $(‘input[type=”password”],input[type=”input”]’).each(function () { if(curval == ‘0’) { $(this).replaceWith(‘<input type=”input” id=”txtpass”

What is mean by $.fn.

In jQuery, what does $.fn. mean? I looked this up on google and found the below answer. It allows you to extend jQuery with your own functions. For example, $.fn.something = function{} will allow you to use $(“#element”).something(). $.fn is also synonymous with jQuery.fn which might make your Google searches easier.

Toggle Checkbox Checked Property Using jQuery

Introduction: In this article i am going to explain how to toggle the Checked property of the checkbox using jQuery. In my previous article i have explained about How to change Placeholder text color on focus using css during on focus and on blur events. You may like some of my previous articles  Increse Decrease Font

jquery: stopPropagation vs stopImmediatePropagation

stopPropagation will prevent any parent handlers from being executed whilestopImmediatePropagation will do the same but also prevent other handlers from executing. Quick example from the jquery documentation: [crayon-59ed07106e613306130867/]

Check a checkbox using jQuery or JavaScript?

To check this you can Use the new .prop() function: $(‘.chkTest’).prop(‘checked’, true); $(‘.chkTest’).prop(‘checked’, false); But it will work only injQuery 1.6 and above.  To check in jQuery 1.5 and below versions you need to use .attr(). To check the checkbox (by setting the value of the checked attribute) do $(‘.chkTest’).attr(‘checked’,’checked’); and for un-checking (by removing

Code to get all form element values using JQuery

In this example i am going to explain about how to get all filled values using JQuery Steps To Follow: 1.To get all elements( textbox,checkbox,radiobutton,textarea) values inside a div with id “parentdiv” below jQuery code is used. var outval = “”; $(‘#parentdiv input:checked,#parentdiv textarea,#parentdiv input[type=text]’).map(function () {     outval += this.value + “,”; }).get().join(‘,’) alert(outval); 2.