Net Technologies:5

JavaScript

JavaScript is the most popular scripting language on the internet, used in millions of Web pages to add functionality, interactivity, validate forms, detect browsers, and it works in all major browsers.

JavaScript is one of the ‘Web 2.0 revolution’ leaders with AJAX. AJAX eliminates page refreshes by using JavaScript. Your site can send requests to and receive data from your server behind the scenes and change/update certain sections of the site, based on a user’s needs.

Click here for a simple JavaScript. It is written like this:
<script type=”text/javascript”>
function show_alert()
{
alert(“I am an alert box!”);
}

<a onclick=”show_alert()”>Click here for a simple JavaScript</a>

There are some drawbacks to using JavaScript though. The major one is users can turn it off via an option in their web browser. Another major drawback is browsers inconsistency. It’s possible your website may be viewed differently by your customers depending on what browser they are using.

More from the Net Technologies series:

Related Posts:

Tags: , , ,

Posted: Wednesday, December 15th, 2010 at 5:10 am
Filed Under: CSS, HTML, Web Design/Development.
Follow by: RSS 2.0

5 Responses to ₀Net Technologies:5₁

  • TexasSwede says:

    “Another major drawback is browsers inconsistency. It’s possible your website may be viewed differently by your customers depending on what browser they are using.”

    That has nothing/very little with Javascript to do, and much more with your HTML and CSS. And you can use different cross-browser
    techniques. Look at Dojo, jQuery and all other framworks, they are all cross-browser compatible.

    Any decent web designer/programmer can get a site to look the same in all/most major browsers.

    • colecmc says:

      That’s true TS. But wouldn’t you agree that without using JavaScript, some browsers render the CSS differently? Even if those differences are subtle.

  • [...] « Net Technologies:3 Net Technologies:5 [...]

  • Leave a Reply

    Loading

    MissionStatement

    At Correctly Designed, we equip small businesses and start-ups with high quality design service. It is our mission to provide your brand with smart, professional design solutions of all mediums.

    Let your brand take advantage of our offering spectrum. From logo, to direct mail, to banner ads. Correctly Designed will differentiate you from the competition and give all of your creative the unique identity that is your business.

    Contact us now to find out how we can help you.

    VisualCommunications

    ...is the correct combination of both tangible designs (such as business cards, book jackets, annual reports, and other printed materials) and multi-media (multiple forms of content and ways to process it, can include text, audio, graphics, animation, video, and interactivity). It conveys ideas and information through art and rich user experiences.