Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function Testing(){
  2. //Some Javascript Operation
  3. var string="This Is Testing";
  4. $('.selector').each(function(index,object){
  5. var temp = string;// the String variable is not accessible, giving ReferenceError: string is not defined
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement