Samual Sam has Published 2492 Articles

Bootstrap Form select

Samual Sam

Samual Sam

Updated on 12-Jun-2020 13:55:03

263 Views

A select is used when you want to allow the user to pick from multiple options, but by default, it only allows one.Use for list options with which the user is familiar, such as states or numbers.Use multiple = "multiple" to allow the users to select more than one ... Read More

Bootstrap active Contextual class

Samual Sam

Samual Sam

Updated on 12-Jun-2020 13:44:08

132 Views

The Bootstrap active contextual class applies hover color to a particular row or cell. You can try to run the following code to implement the active contextual classExampleLive Demo           Bootstrap Table                                                                      Subject                Marks                Student                                                            Maths                90                Amit                                        Science                80                Aman                                        English                85                Rahul                                

Why doesn't JavaScript have a goto statement?

Samual Sam

Samual Sam

Updated on 12-Jun-2020 13:41:12

227 Views

JavaScript has a goto statement, which is a reserved keyword. It isn’t popular since it is not needed in JavaScript. Generally, it isn’t considered a good practice to use a goto statement.Using goto with JavaScript preprocessing is still considered good as shown below −var a = 0; [lbl] beginning: console.log("Demo ... Read More

Bootstrap Form Radio Button

Samual Sam

Samual Sam

Updated on 12-Jun-2020 13:35:40

778 Views

Use radio class if you want to limit the user to just one selection i.e. adding radio buttons. Use.radio-inline class to a series of radios for controls appear on the same line.You can try to run the following code to implement Bootstrap Forms radio buttonExampleLive Demo       ... Read More

Bootstrap warning Contextual class

Samual Sam

Samual Sam

Updated on 12-Jun-2020 13:25:27

185 Views

The Bootstrap warning contextual class indicates a warning action.You can try to run the following code to implement the .warning classExampleLive Demo           Bootstrap Table                                                                      Subject                Marks                Student                                                            Programming                90                Amit                                        Web Dev                92                Yuvraj                                        Science                95                Sachin                                

What is nodeName property in JavaScript HTML DOM?

Samual Sam

Samual Sam

Updated on 22-May-2020 11:15:12

136 Views

The nodeName property in JavaScript is used to specify the name of a node.ExampleYou can try to run the following code to learn how to implement a nodeName property in JavaScript.Live Demo           Tutorials       Demo Content           ... Read More

How to get complete drive information using C#?

Samual Sam

Samual Sam

Updated on 08-Apr-2020 09:33:56

165 Views

Drive information of an Operating System includes.Drive Name Volume Label Free Space Total Size Drive Format Drive TypeTo get above information about a drive, try to run the following code −Exampleusing System.IO; using System; class Program {    static void Main() {       DriveInfo driveInfo = new DriveInfo("D"); ... Read More

StreamWriter in C#

Samual Sam

Samual Sam

Updated on 03-Apr-2020 10:37:22

157 Views

Write characters to a stream with StreamWriter in C#.With StreamWriter, create a new file −StreamWriter sw = new StreamWriter("hello.txt"))Add text to the file −sw.WriteLine("Hello"); sw.WriteLine("World");The following is the code −Exampleusing System.IO; public class Program {    public static void Main() {       using (StreamWriter sw = new ... Read More

C# Program to read contents of a file into a string at once

Samual Sam

Samual Sam

Updated on 03-Apr-2020 10:36:03

217 Views

Use ReadToEnd() method to read the contents of a file in a string.Set it under StreamReader and read the file −using (StreamReader sr = new StreamReader("new.txt")){    string res = sr.ReadToEnd();    Console.WriteLine(res); }The following is the complete code −Example Live Demousing System.IO; using System; public class Demo {   ... Read More

Flash Animation Effect with CSS

Samual Sam

Samual Sam

Updated on 16-Mar-2020 08:16:05

325 Views

A sudden brief burst of bright light of an element creates a Flash effect.ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;             background-position: ... Read More

Advertisements