Vrundesha Joshi has Published 345 Articles

How to do basic form validation using JavaScript?

Vrundesha Joshi

Vrundesha Joshi

Updated on 19-Jun-2020 08:56:24

484 Views

JavaScript provides a way to validate form's data on the client's computer before sending it to the web server. Basic form validation includes the form to be checked to make sure all the mandatory fields are filled in. It would require just a loop through each field in the form and ... Read More

Best Java interview questions

Vrundesha Joshi

Vrundesha Joshi

Updated on 17-Jun-2020 13:50:48

367 Views

There are many sites which are a good resource for java interview questions-answers. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/Read More

How to get the length of a Number in JavaScript?

Vrundesha Joshi

Vrundesha Joshi

Updated on 17-Jun-2020 06:34:53

15K+ Views

Use the toString() method to covert the Number to string, then the length() method gives you length.ExampleYou can try to run the following code to learn how to get the length of a Number −Live Demo                    var num1 = ... Read More

How to create a session only cookies with JavaScript?

Vrundesha Joshi

Vrundesha Joshi

Updated on 16-Jun-2020 12:15:34

772 Views

To create a session only cookie, you need to set the expiration date of the cookie to be some years ahead. You need to set the expire attribute −current time + 5 yearsThe expire attribute shows the date the cookie will expire. If this is blank, the cookie will expire ... Read More

Create a list group heading in Bootstrap

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 22:23:51

2K+ Views

To create a list group heading, use the .list-group-item-heading class in Bootstrap.You can try to run the following code to implement .list-group-item-heading class −ExampleLive Demo           Bootstrap Example                                          Countries                                      Asia                India                Nepal                                        Europe                Germany                Italy                Spain                                

How to use Bootstrap Alert Plugins

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 21:51:19

81 Views

Alert messages are used to display information such as warning or confirmation messages to the end users. You can try to run the following code to implement alert plugins in Bootstrap −ExampleLive Demo            Bootstrap Example                 ... Read More

Add a green background color to an element to set positive action with Bootstrap

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 20:45:40

106 Views

Use the .btn-success class in Bootstrap to set a positive action to an element. You can try to run the following code to implement the .btn-success class −ExampleLive Demo           Bootstrap Example                     ... Read More

Add HTML paragraphs into Bootstrap thumbnails

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 20:07:09

91 Views

With Bootstrap, you can easily add paragraphs to thumbnails.You can try to run the following code to add HTML paragraphs −ExampleLive Demo           Bootstrap Example                                 ... Read More

Bootstrap navbar-inverse class

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 17:21:21

2K+ Views

To create an inverted navbar with a black background and with white text, simply add the .navbar-inverse class to the .navbar class.ExampleYou can try to run the following code to implement navbar-inverse class −Live Demo           Bootstrap Example             ... Read More

Bootstrap class input-group

Vrundesha Joshi

Vrundesha Joshi

Updated on 12-Jun-2020 16:07:49

73 Views

Using input group you can easily prepend and append text or buttons to the text-based inputs. The same is the usage of input-group class in Bootstrap.You can try to run the following code to implement the input-group class −ExampleLive Demo           Bootstrap Example                                                                      @                                                                                       .00                                                                $                                .00                                

Previous 1 ... 4 5 6 7 8 ... 35 Next
Advertisements