AmitDiwan has Published 10740 Articles

Uri.CheckHostName(String) Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:40:50

415 Views

The Uri.CheckHostName() method in C# is used to determine whether the specified hostname is a valid DNS name.SyntaxFollowing is the syntax −public static UriHostNameType CheckHostName (string host_name);ExampleLet us now see an example to implement the Uri.CheckHostName() method −using System; public class Demo {    public static void Main(){     ... Read More

UInt64.ToString() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:39:06

514 Views

The UInt64.ToString() method in C# is used to convert the numeric value of the current UInt64 instance to its equivalent string representation.SyntaxFollowing is the syntax −public override string ToString();ExampleLet us now see an example to implement the UInt64.ToString() method −using System; public class Demo {    public static void Main(){ ... Read More

jQuery addClass() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:48:53

590 Views

The addClass() method in jQuery is used to add one or more class names to the selected elements.ExampleLet us now see an example to implement the jQuery addClass() method −    .demo * {       display: block;       border: 3px dashed red;   ... Read More

jQuery finish() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:44:51

221 Views

The finish() method in jQuery is used to stop the currently-running animations. It removes all queued animations and completes all animations for the selected elements.SyntaxThe syntax is as follows −$(selector).finish(queue)Above, the queue parameter is the name of the queue to stop animation.ExampleLet us now see an example to implement the ... Read More

jQuery focusin() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:40:28

214 Views

The focusin() method in jQuery occurs when an element gets focus.SyntaxThe syntax is as follows −$(selector).focusin(function)ExampleLet us now see an example to implement the jQuery focusin() method −    .demo {       color: blue;    } $(document).ready(function(){    $("input").focusin(function(){       ... Read More

jQuery first() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:19:29

198 Views

The first() method in jQuery selects the first element from the specified elements.SyntaxThe syntax is as follows −$(selector).first()ExampleLet us now see an example to implement the jQuery first() method −    $(document).ready(function(){       $("p").first().css("color", "blue");    }); Demo Heading This is ... Read More

jQuery fadeToggle() Method

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 11:59:17

300 Views

The fadeToggle() method in jQuery is used to toggle between the fadeIn() and fadeOut() methods.SyntaxThe syntax is as follows −$(selector).fadeToggle(speed, easing, callback)Above, speed is the speed of the fading effect. The easing can be swing or linear for speed at different animation points. Callback is the function to be executed ... Read More

jQuery fadeTo() Method

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 11:56:44

265 Views

The fadeTo() method in jQuery is used to gradually change the opacity for selected elements to a specified opacity.SyntaxThe syntax is as follows −$(selector).fadeTo(speed, opacity, easing, callback)Above, speed is the speed of the fading effect, whereas opacity specifies the opacity to fade to. The easing can be swing or linear ... Read More

jQuery find() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 11:54:18

359 Views

The find() method in jQuery is used to return descendant elements of the selected element.SyntaxThe syntax is as follows −$(selector).find(filter)Above, filter is a selector expression to filter the search for descendants.ExampleLet us now see an example to implement the jQuery find() method −    .demo * { ... Read More

jQuery fadeOut() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 11:48:20

219 Views

The fadeOut() method in jQuery is used to change the opacity, for selected elements, from visible to hidden.SyntaxThe syntax is as follows −$(selector).fadeOut(speed, easing, callback)Above, speed is the speed of the fading effect. The easing can be swing or linear for speed at different animation points. Callback is the function ... Read More

Advertisements