Are there any debugging tools to trace when/where an element id is
defined and then becomes undefined?

I'm using:
jQuery 1.3.2 with and without the fix at //http://dev.jquery.com/
ticket/4420
http://www.appelsiini.net/download/jquery.jeditable.mini.js
http://code.google.com/p/submodal/ (old version v1.1 with a common.js
file)
scriptaculous 1.8.2
http://www.quirksmode.org/js/detect.html
http://yellow5.us/projects/datechooser/ DateChooser 2.9
and a custom call to "events.add(window, 'load', WindowLoad);"

FF 3.0.10, Safari 3.2.1, IE 7

I was thinking the events.add might conflict with jQuery
(document).ready, but the ready function does get called with and
without the events.add commented out.

The following works fine in a stand alone page, but when I include it
in a page with the above libraries, I get undefined.

jQuery.noConflict();

jQuery(document).ready(function(){
        jQuery('.jeditable_text').editable(function(value, settings){
                alert("#hid" + this.id);// #hidPONumber
                alert(jQuery("#hidPONumber").val());//undefined
                alert(jQuery("#hid" + this.id).val());//undefined
                jQuery("#hid" + this.id).val(value);
                alert(jQuery("#hid" + this.id).val());//undefined
                return(value);
        });
});

Reply via email to