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.

I'm finding it extremely difficult to troubleshoot the issue as it's only
occuring on the iPhone and not on my desktop with WebKit/Safari.

Has anyone else witnessed random acts of 'weird' with their javascript/ajax,
where it intermittently works, and other times it doesn't? I'd really like
to have a solid way of troubleshooting events and figuring out what the
problem is so I can correct it.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to