In the meantime, I suppose you could use JavaScript to append a variable to the URL, and then have your CF decide what to send based on the presence of that variable. Example:
<html> .... <script type="text/javascript"> $(function() { var $exampleForm = $("#exampleForm"); var oldAction = $exampleForm.attr("action"); $exampleForm.attr("action", oldAction + "?isAjax=true"); }); </script> .... <form id="exampleForm" action="example.cfm"> <!-- Form fields go here --> </form> .... </html> For the "form is initially hidden" thing, you could use JavaScript to hide the form in a $(document).ready() function. That way people without JS see the form, and people with JS see what you originally wanted them to. On 4/20/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
Waiting for CF 8... -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Priest, James (NIH/NIEHS) [C] Sent: Friday, April 20, 2007 12:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Best way to determine if a user has Javascript enabled? > -----Original Message----- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 12:00 PM > (Hopefully it's compatible with CF 4.5!) Unfortunately it looks like it was introduced in v5: http://www.actcfug.com/files/cfmlhistory/functions/gethttprequestdata.ht m You need to put down the Ajax and upgrade your CF :) Jim
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com