Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Testing(){
- //Some Javascript Operation
- var string="This Is Testing";
- $('.selector').each(function(index,object){
- var temp = string;// the String variable is not accessible, giving ReferenceError: string is not defined
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement