SimpleJax : Add Sophisticated AJAX Functionality to Your Web Site with Only One Short Line of Code

SimpleJax is a lightweight (2.3KB!) combination of JavaScript and PHP that allows you to create highly flexible, AJAX-enabled applications on the web.

How It Works

Only one short line of code is needed to start a SimpleJax session:

$simplejax = new SimpleJax("function-name", "form-id", "remote.php", "div-id");

Now, when a visitor to your web site submits the form named "form-id", every field within that form will be sent via AJAX to remote-script.php. After remote-script.php has processed the contents of your form, the result will be displayed within the DIV named "div-id".

SimpleJax Example

Your Search Query:

Additional Information

SimpleJax accepts four parameters:

  • function-name - You must give every SimpleJax session a unique "function" name. You then setup your web form to call this function when it is submitted.
  • form-id - The ID of your web form.
  • remote-script.php - The address of your remote script that will be processing the contents of your form.
  • div-id - The ID of the DIV on your page where the results of your remote script will be displayed.

What is AJAX?

Wikipedia probably summed it up best:

"Ajax, shorthand for Asynchronous JavaScript and XML, is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user makes a change. This is meant to increase the web page's interactivity, speed, and usability."

Put simply, AJAX allows you to create intuitive web-based applications that send and receive data from a web server behind the scenes, without requiring the user to refresh the page. The end result is a web-based application that doesn't really feel like a web-based application... more like an application you have installed on your desktop. Trust us, it's cool.

Why Another AJAX Framework?

There are plenty of "frameworks" floating around the web right now that can help you create AJAX interactions on the web, but in our experience, most are are a little too bulky, complex, and are really just more than what we need.

If you're interested in getting in on the AJAX craze, but don't feel like putting up with the hassle or learning curve of some of the more complex AJAX frameworks, SimpleJax is for you.

SimpleJax Support

For SimpleJax support, please direct all messages to tim@mediajolt.com. Read more about SimpleJax on the JoltBlog.

Scripts.com


Web Design

Our staff has the skills necessary to develop visually captivating, intuitive web sites that accurately reflect your image, while helping to increase your brand recognition and credibility.
Search Engine Marketing

At MediaJolt, we use proven strategies backed by proven results to ensure that our clients maintain competitive rankings in all of the web's major search engines, such as Yahoo, Google, and MSN.
Application Development

At MediaJolt, we have a passion for developing hosted software solutions that solve real-world problems; software that makes it easier for you to get work done.
Products

From enterprise-level e-commerce to project management, MediaJolt has the software you need to get work done.