Sign In/My Account | View Cart  
advertisement

Article:
 Very Dynamic Web Interfaces
Subject: Why does the method take input and response?
Date: 2005-05-17 12:20:44
From: drewmclellan
Response to: Why does the method take input and response?

You're right. It could be two functions. Making it one was simply a design choice. If you were to have lots of different actions on a page resulting in an xmlhttprequest call, it can be a lot tidier just to have a single function to handle each action.


If using two functions works better for you, there's no reason not to do it that way.


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: