innerHTML

innerHTML is only simple for the CLIENT side of a web app From a client-side point of view, innerHTML is pretty simple to use. You just get an XHTML response from the server, and drop it into a web page with an element’s innerHTML property. function displayDetails() { if (request.readyState == 4) { if (request.status == 200) { detailDiv = document.getElementById(“description”); detailDiv.innerHTML = request.responseText; } } } The problem is that the server has to do a lot of extra work. Not only does the server have to get the...

read more

XML requests and responses

How will you describe yourself in 10 years? How about 20?_ Sometimes you need data that can change with your needs… or the needs of your customers. Data you’re using now might need to change in a few hours, or a few days, or a few months. With XML, the extensible markup language, your data can describe itself. That means your scripts won’t be filled with ifs, elses, and switches. Instead, you can use the descriptions that XML provides about itself to figure out how to use the data the XML contains. The result: more flexibility and...

read more

Ajax FAQ

What makes a page “Ajax” ? Ajax is a way of designing and building web pages that are as interactive and responsive as desktop applications. So what does that mean for you? You handle things at the client’s browser whenever you can. Your pages make asynchronous requests that allow the user to keep working instead of waiting for a response. You only update the things on your pages that actually change. And best of all, an Ajax page is built using standard Internet technologies, things you probably already know how to use, like: Q:...

read more

Web Apps for a New Generation

Tired of waiting around for your page to reload?_ Frustrated by clunky web application interfaces? It’s time to give your web apps that slick, responsive desktop feel. And how do you do that? With Ajax, your ticket to building Internet applications that are more interactive, more responsive, and easier to use. So skip your nap; it’s time to put some polish on your web apps. It’s time to get rid of unnecessary and slow full-page refreshes forever. Thinking Ajaxi So you’ve built your first Ajax app, and you’re already thinking about...

read more

Updating Data in SQL

Not only do you need to add new records, but at some point you also need to change the records. To update records, you use the UPDATE statement. Specifying which records to change is the main difference between inserting new data and updating existing data. You specify which records to update with the WHERE clause, which allows you to specify that the only records to update are those where a certain condition is true. For example, say film club member Steve Gee has changed his address. His MemberId is 4, so you could tell the database to...

read more

Inserting New Data in SQL

The INSERT INTO statement makes inserting new data into the database very easy. All you need to do is specify into which table you want to insert data, into which columns to insert data, and finally what data to insert. The basic syntax is as follows: INSERT INTO table_name (column_names) VALUES (data_values) This line of code adds a record to the Category table: INSERT INTO Category (CategoryId, Category) VALUES (1, ‘Thriller’); You can see that inserting data is simply a matter of listing each column name (separated by a comma) in the...

read more

Glad to have you at RDX

X
Glad to have you at RDX
Welcome to RDX Support
wpChatIcon