Operators
JavaScript Operators
Operators in JavaScript are very similar to operators that appear in other programming languages. The definition of an operator is a symbol that is used to perform ... Continue Reading →
Compare
JavaScript String Compare
Comparing strings in JavaScript is quite easy, as long as you know about the equals operator and the JavaScript If Statement. This is all you need to know ... Continue Reading →
External
External JavaScript Files
Having already discussed placing JavaScript in the head and body of your HTML document, let us now explore the third possible location type — an external ... Continue Reading →
Location
Where to Place JavaScript
There are three general areas that JavaScript can be placed for use in a webpage.
Inside the head tag
Within the body tag (like our example in the previous ... Continue Reading →
index Of
JavaScript String indexOf
Ever want to find something in one of your JavaScript strings? Maybe even start your search halfway through the string? Well you’re in luck! The string ... Continue Reading →
Replace
JavaScript String Replace
JavaScript’s String Object has a handy function that lets you replace words that occur within the string. This comes in handy if you have a form letter ... Continue Reading →
Recent Comments