×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Manikanth Mani
has Published
71
Answers
How can I format numbers as dollars currency string in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 25-Jan-2018 12:58:30
To format numbers as dollar current string, use number formatter, which is part of the Internationalization API.ExampleYou can try to run the following code to format numbers as dollars currency stringLive Demo<!DOCTYPE html> <html> <body> <p> Formatting 150 as US dollars (US$): ...
Read More
How to delete a setter using the delete operator in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 25-Jan-2018 12:43:41
To delete a setter using the delete operator, use the delete keyword. Here’s how you can delete −delete obj.nameExampleYou can try to run the following code to learn how to delete a setterLive Demo<html> <body> <script> var department = { ...
Read More
What is function() constructor in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 25-Jan-2018 12:34:07
The function() constructor is used in JavaScript to create a new function object. The objects created are parsed when the function is created.ExampleYou can try to run the following code to learn how to work with function() constructorLive Demo<html> <body> <script> var ...
Read More
What is the difference between rest parameters and the arguments object in Javascript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 25-Jan-2018 12:20:15
Rest parametersWith rest parameter, you can represent a number of arguments as an array. ES6 brought rest parameter to ease the work of developers. For arguments objects, rest parameters are indicated by three dots … and precedes a parameter.Arguments objectArguments object in JavaScript is an object, which represents the arguments ...
Read More
How to set cell width and height in HTML?
HTML
Web Development
Front End Technology
Manikanth Mani
Published on 18-Jan-2018 14:14:03
To set the cell width and height, use the CSS style. The height and width attribute of the <td> cell isn’t supported in HTML5. Use the CSS property width and height to set the width and height of the cell respectively.Just keep in mind, the usage of style attribute overrides ...
Read More
How to create tables in HTML?
HTML
Web Development
Front End Technology
Manikanth Mani
Published on 18-Jan-2018 11:44:09
To create table in HTML, use the <table> tag. A table consist of rows and columns, which can be set using one or more <tr>, <th>, and <td> elements. A table row is defined by the <tr> tag. To set table header, use the <th> tag. For a table cell, ...
Read More
How to set src to the img tag in html from the system drive?
Javascript
Web Development
Front End Scripts
Manikanth Mani
Published on 18-Jan-2018 10:49:25
To use an image on a webpage, use the <img> tag. The tag allows you to add image source, alt, width, height, etc. The src is to add the image URL. The alt is the alternate text attribute, which is text that is visible when the image fails to load.With ...
Read More
How do I replace a character at a particular index in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 17-Jan-2018 16:23:24
To replace a character at a particular index in JavaScript, you can try to run the following codeExampleLive Demo<html> <head> <title>JavaScript Boolean</title> </head> <body> <script> var str = "cric"; document.write("Original String: "+str); ...
Read More
How do I compare String and Boolean in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 17-Jan-2018 16:06:00
To compare string and Boolean in JavaScript, let us see the following examples. It returns true −false == "0"; //true true == "1"; //true false == ""; //trueThe followings returns false −false == "false"; //false true == "true"; //falseIn addition, try the following example too −var data = true; data ...
Read More
How to get the first index of an occurrence of the specified value in a string in JavaScript?
Javascript
Web Development
Front End Technology
Manikanth Mani
Published on 17-Jan-2018 15:52:43
To get the first index of an occurrence of the specified value in a string, use the JavaScript indexOf() method.ExampleYou can try to run the following code to get the first index −Live Demo<html> <head> <title>JavaScript String indexOf() Method</title> </head> <body> ...
Read More
Previous
1
2
3
4
5
6
7
8
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout