Re: HTML_AJAX and MDB2

From: Date: Wed, 04 Apr 2007 15:02:14 +0000
Subject: Re: HTML_AJAX and MDB2
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27005@lists.php.net to get a copy of this message
T A wrote:
The first thing I would try is making a test script for that class so you can see things working without AJAX involved.
My class works,it works with Ajax too,the only problem is when i try to use a MDB2 object within the class.
Another thing to look at is how your handling errors. Those die messages aren't caught by HTML_AJAX so they can't be shown by an error handler on the browser side.
How should i handle error messages then to see them on the browser side?
You could echo them to the browser for now, just to figure out what's happening (or not) before calling die(). Just as a testing measure. brian

« previous php.pear.general (#27005) next »