A couple options XML and remote scripting.

With XML you can send the data to the client tier or browser. At which point 
using a XML parser, you can query the the XML document and also insert and 
delete from it. When all modifications are complete you can post it back to 
the server.

You also could use Remote scripting. Remoting scripting allows you to make 
round trips to the server without updating/refershing the current page in the 
browser. This is accomplished via the use of a Java applet that proxy the 
info xfer. RS 1.0 comes with MS Interdev ... or visit Microsoft:

http://msdn.microsoft.com/scripting/default.htm?/scripting/remotescripting/

There might be other options open also. However, I would tend to keep things 
simple (KISS). The added complexity will open browser compatibility issues 
along with increasing the level a maintenance etc.

Good Luck,
Bill

In a message dated 4/9/01 1:27:31 AM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:


> Hello all,
> I'm new to this list and to CF in general.
> I'm building an application and I want queries to be performed at the 
> touch of a button without the page being reloaded. If the page *has* to 
> be reloaded then its not the end of the world, just uglier.
> 
> I understand how to use CFML to insert dynamic content into a html page. 
> How do I cause CF queries take place when a user clicks on a button? 
> (This is in contrast to having a submit button that sending the form 
> variables to another page that does the processing and then returns a new 
> page as a result of that interaction.)
> 
> the queries should be transparent, click on button and then the contents 
> of a particular feild in the html form is inserted into the database.
> 
> There will be multiple buttons on the page, some insert and some select, 
> each uses differt feilds in the html page.
> 
> The data I want to move around exists in the javaScript scope, is this a 
> problem for this application? (the CFML2JS WDDX object looks pretty ugly)
> 
> Thanks everyone!
> 
> 
> 
> B. Bogart
> Convergent Media Designer
> 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to