balazs-endresz / jquery-translate

Automatically exported from code.google.com/p/jquery-translate
5 stars 5 forks source link

Uncaught TypeError: Cannot call method 'replace' of undefined #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
jquery-translate version: trunk
jQuery version: 1.3.2
browser: Chrome
OS: Windows 7

URL of the page, with non-minified JavaScript, http://jsfiddle.net/qV9zx/
can be used too:

What steps will reproduce the problem?
1. Put the code to call jquery-translate
2. call the translate method jQuery('body').translate('es', 'en', {async:true});
3. The browser shows "Uncaught TypeError: Cannot call method 'replace' of 
undefined" error all the time

What is the expected output? What do you see instead?

Please provide any additional information below.
I'm using Microsoft AppId to use with Microsoft traslator

Original issue reported on code.google.com by fid...@gmail.com on 6 Dec 2011 at 7:59

GoogleCodeExporter commented 9 years ago
Are you using the latest version of the plugin? (I updated the page with that 
accidentally)
And you load the API like this: $.load(msAppID) ?

Original comment by balazs.endresz on 7 Dec 2011 at 11:08