Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

JQuery notation

  1. Aug 24, 2009 #1
    I've looked all over the web, and even downloaded a http://www.pdf-search-engine.com/jquery-pdf.html" (looks very useful), but I have a very simple question.

    What does the colon ":" mean from the following three segment of code-

    (1.)
    SplitID : function()
    {
    return this.attr('id').split('-').pop();
    },

    (2)
    Slideshow :
    {
    Ready : function()
    {
    }
    }

    Thanks,

    JL
     
    Last edited by a moderator: Apr 24, 2017
  2. jcsd
  3. Aug 24, 2009 #2

    DavidSnider

    User Avatar
    Gold Member

    Property: Value

    All javascript code is essentially one giant hash table.
     
    Last edited by a moderator: Apr 24, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook