Issue when using Jquery in jQuery.noConflict() mode
| Project: | TypeWatch |
| Version: | 2.0.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | DennyDotNet |
| Status: | closed |
Jump to:
Hi there,
Thanks for the excellent plugin, you saved me hours of work!
I did find a issue when using your plugin with JQuery version 1.2.1. If I use JQuery in No conflict mode (see http://docs.jquery.com/Using_jQuery_with_Other_Libraries) and use as a different variable (For example $j instead of $), I get a javascript error - $ is not a function.
The line with the error is line 90 which is
var elTxt = $(timer.el).val();
The fix is quite simple
var elTxt = jQuery(timer.el).val();
However I've not had a chance to properly test the fix with No conflict mode turned off (Ie normal usage)
If you need any more information let me know
Pete 'Brammers' Hatton

Comments
#1
#2