Yes, the rest of the HTML is being echoed back from the server in an XHR
object. I did setup an onFailure callback with alerts, and it triggered at
odd intervals.  Certainly not consistently otherwise I'd say something is
blatantly wrong with my code. Why it fails would be really key to figuring
out the issue here.

On 12/28/07, ∞ | millenomi <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On Dec 27, 8:24 pm, "Steve Finkelstein" <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm experiencing intermittent oddities with my JS on an application I'm
> > currently working on. Essentially, I have a hidden div that gets put
> into
> > the viewport based on a click action.  It looks a little something like
> > this:
> >
> > <!-- START EDIT_PATIENT_VIEW -->
> > <div class="edit_patient_view" id="edit_patient_view"
> style="display:none;">
> >     <h1 id="pageTitle">Edit Patient</h1>
> >     <a id="homeButton" class="button" href="javascript:void();"
> > style="display: inline;margin:0;"
> >
> onmousedown="slidePanel('edit_patient_view','patient_list_view','right')"><
> img
> > src="<?= base_url() ?>media/img/homeicon.png" alt="Home"></a>
> >     <div class="panel" id="edit_patient_form_container">
> >
> >     </div>
> > </div>
> > <!-- END EDIT_PATIENT_VIEW -->
> >
> > Once that comes into play, I make an ajax call to the server, which
> > populates a form into that view. It's basically a PHP variable that I
> > populate with HTML and then echo back into the viewport.  80% of the
> time it
> > works fine. Another 20% just the hidden div comes in without any of the
> > content from the server.
>
> Is the content being served from the server? Is XHR reporting an
> error? (You can use a few well-placed alerts(), if nothing else, to
> check that out.)
>
> - ∞
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to