// include jQuery library
// call jquery.noConflict
// include Prototype or some other libraries
// do your jquery or other code
On Apr 29, 9:17 am, "$(Noob).bee" <dee....@gmail.com> wrote:
> 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/4420http://www.appelsiini.net/download/jquery.jeditable.mini.jshttp://code.google.com/p/submodal/(old version v1.1 with a common.js
> file)
> scriptaculous 1.8.2http://www.quirksmode.org/js/detect.htmlhttp://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);
> });
>
> });
No comments:
Post a Comment