JQuery notation

  • #1
312
0
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:

Answers and Replies

  • #2
DavidSnider
Gold Member
502
143
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-

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

And,

Slideshow :
{
Ready : function()
{
}
}

Thanks,

JL

Property: Value

All javascript code is essentially one giant hash table.
 
Last edited by a moderator:

Related Threads on JQuery notation

  • Last Post
Replies
2
Views
12K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
1K
Replies
3
Views
16K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
7K
  • Last Post
2
Replies
25
Views
561
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
15
Views
981
  • Last Post
Replies
15
Views
15K
Top