- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Nishtha Thakur has Published 568 Articles
Nishtha Thakur
1K+ Views
To get numbers of days in a month, use the getDate() method and get the days.ExampleYou can try to run the following code to get a number of days in a month −Live Demo var days = function(month, year) { ... Read More
Nishtha Thakur
3K+ Views
To set the width and height of an alert box in JavaScript, you need to use the custom alert box. This alert box is styled with CSS.Set the width and height of the alert box using the following code, which uses jQuery, a JavaScript library −Example ... Read More
Nishtha Thakur
441 Views
Creating a modal popup means adding a dialog box, which generates on click of a button and close when user clicks anywhere outside of the popup.Here’s how a popup looks like below with header and a text. You can also add a footer to it −To create a modal popup ... Read More
Nishtha Thakur
460 Views
To store large values in JavaScript cookies, try the following possibilities −Create a "session id" and save the settings in a database. Then store the session id in the cookie.Store the indexes of the selected items. Let’s say the selected items are the first 20 items on the list −P[0, ... Read More
Nishtha Thakur
175 Views
Specifies height of the canvas.The HTML tag is used to draw graphics, animations, etc. using scripting. The tag introduced in HTML5.Let’s see a simple element with two specific attributes width and height along with all the core HTML5 attributes like id, name, and class etc.Here are the ... Read More
Nishtha Thakur
163 Views
The if statement is the fundamental control statement that allows JavaScript to make decisions and execute statements conditionally. SyntaxThe syntax for a basic if statement is as follows −if(expression){ Statement(s)to be executed if expression is true }Here a JavaScript expression is evaluated. If the resulting value is true, the given ... Read More
Nishtha Thakur
2K+ Views
To filter a table in Bootstrap, you can try to run the following code −ExampleLive Demo Bootstrap Example Students Rank ... Read More
To Continue Learning Please Login
Login with Google