itgo.me

  • Javascript fileReader

    up vote 3 down vote favorite I've been working on a page that aa user will be able to load some local files and basically stream them to the browser, I'm having problems with the below code in IE10, i

  • JavaScript !function(){}

    up vote 4 down vote favorite This question already has an answer here: What does the exclamation mark do before the function? 7 answers when looking at the minified Sizzle code, I noticed that it begi

  • Passing a javascript variable to a javascript function?

    up vote 0 down vote favorite I have a mapping application that lists different map layers in a menu, with each layer having a particular class name. This class name is used when the user clicks on the

  • angularjs - Javascript .map files - javascript source maps

    up vote 186 down vote favorite 47 Recently I have seen files with .js.map extension shipped with some JavaScript libraries (like Angular), and that just raised few questions in my head: What is it for

  • Cloning a JavaScript object?

    up vote 15 down vote favorite 5 Possible Duplicate: How to clone js object? This is another way to create a javascript object (using object literal notation instead of function): user = { name: "Foo

  • javascript - delete cookie

    up vote 186 down vote favorite 40 Is my function of creating cookie correct? and how do i delete cookie at the beginning of my program run? is there a simple coding? function createCookie(name,value,d

  • javascript string to object

    up vote 22 down vote favorite 3 How to apply string object value to a variable Ex. var str='{a:"www"}' Now how to set var obj={a:"www"} I try eval() but not working javascript string object share |

  • JavaScript Inheritance question

    up vote 3 down vote favorite 2 This is the extend function from the book "Pro JavaScript Design Patterns" function extend(subClass, superClass) { var F = function() {}; F.prototype = superClas

  • Javascript Array Alert

    up vote 17 down vote favorite 9 Im new to Javascript. Im trying to code these four buttons. I'm currently on the second one. I've coded an array. But when I click on the button, it replaces the page.

  • XMLHttpRequest responseText & javascript

    up vote 0 down vote favorite So I have two pages: index.php and contents.php. Index.php is doing an XMLHttpRequest to grab a table from contents.php... But when Index.php displays the response.Text, i