0


can anybody tell me why i get the error "translater is not defined" ?

working example http://jsfiddle.net/PkqKg/7/

I am confused.Thanks in advance!
Peter

1

3 Answers 3

1

jsfiddle runs the contents of the Javascript box inside a closure, so your variables cannot be accessod globally. You can do this if you want

window.translater = function() {.. }
Sign up to request clarification or add additional context in comments.

Comments

0

Or simply change it to no wrap(head or body) http://jsfiddle.net/PkqKg/9/

Comments

0

or you can use as well like this :

http://jsfiddle.net/corotchi/PkqKg/10/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.