In main page:

<cfform id="search_form" name="search_form" action="new_leg_details.cfm"
method="post">
        <table>
                <!--- Other stuff --->
                <tr>
                        <td class="gback" nowrap>
                                <textarea id ="test_text" cols="70"
rows="14" wrap="soft"></textarea>
                        </td>
                </tr>
        <table>

</cfform>

In engine.js above the eval(str) add

document.search_form.test_text.value = str;

Or in the errorHandler function

document.search_form.test_text.value = data;


Will set the text inside the textarea to the str value.

B.








-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Renando
Sent: Tuesday, 21 June 2005 12:56 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: Ajax


> If it was me I would still add a big textarea and look at the value of
> the data varaible that way. 

How doe you do this?

> Don't you just love debugging in js..

Um... no.

Chad
who's tires are squealing around this learning curve

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
        Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to