Turn Desktop View Off
You are here:   HomeJava Script
by Dinesh Thakur Category: Javascript String

JavaScript String Format:  When you create a text string in JavaScript, a string object is associated with that string. The string object provides a series of methods you can use to adjust the format of the string. JavaScript String Format can be useful when you want to display a string and quickly apply some formatting to it. The JavaScript String Format are as follows:

 
by Dinesh Thakur Category: Javascript String

That’s right; there are three methods for getting part of a string out of a larger string. First, you can use slice. It takes two parameters: the first parameter is the starting index, and the second one is the ending index, meaning the index of the character after the last character in the desired substring. If you leave the second one off, it will slice until the end of the string.

 
by Dinesh Thakur Category: Javascript String

JavaScript Blink Method: JavaScript Blink Method is used to display a specified string in blink tags. JavaScript Blink Method returns the string with the tag <BLINK> surrounding it, like this: <blink>string</blink>

 
by Dinesh Thakur Category: Javascript String

JavaScript String Object: Strings are an important part of any programming language. Whether you are storing a person’s last name or the name of a product in inventory, a string is often the best way to store that value. A string is any text inside a quote pair. A quote pair consists of either double quotes or single quotes.

 
by Dinesh Thakur Category: Javascript String

The JavaScript Anchor is a string function that can be accessed using dot operator with string variable. It transforms the specified text into hypertext.

 
by Dinesh Thakur Category: Javascript String

JavaScript Big Method: JavaScript Big Method is used to display a specified string in a big size font. JavaScript Big Method returns the string with the tag <BIG> surrounding it, like this: <big>string</big>

 
by Dinesh Thakur Category: JavaScript Tutorial

JavaScript If Else: Conditional statements are also called “if/then” statements, because they perform a task only if the answer to a question is true: “If I have enough money then I’ll go to the movies.” The basic script of a JavaScript If Else looks like this:

 
by Dinesh Thakur Category: JavaScript Tutorial

JavaScript Popup Box: JavaScript provides the ability to create small windows called JavaScript Popup Box. You can create alert boxes, confirm boxes, and even prompt boxes. These boxes let you generate output and receive input from the user.

 
by Dinesh Thakur Category: JavaScript Tutorial

An JavaScript Operators, as the name suggest, performs some action. JavaScript Programming languages would be virtually useless if they did not provide the programmer with JavaScript Operators to use. An JavaScript Operators is a symbol or word that performs some sort of calculation, comparison, or assignment on one or more values. In some cases, an JavaScript Operators provides a shortcut to shorten the code so that you have less to type.

 
by Dinesh Thakur Category: JavaScript Tutorial

JavaScript For Loop is a block of code that allows you to repeat a section of script a certain number of times; perhaps changing certain variable values each time the code is executed. JavaScript features two basic loop types:

 

Page 2 of 3



Subscribe To Free Daily Newsletter!

Get Free News Updates Delivered Directly To Your Inbox
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to contact us.



What's New and Popular





Search Content







Advance Courses



Basic Courses



Advertise with Us