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 iphonewebdev@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---