jQuery custom selector, “undefined”
问题 i am trying to make a jQuery ui calendar make ajax calls when a date is clicked on, but i ran into a problem a few days ago. I found a snippet of code that supposedly does this , but as i found out it uses jQuery custom selectors. The code gave me an error so i started digging into the custom selectors to find out more about them. So far i haven't been able to find out why i get this strange behavior. Here is a picture to hopefully clear things up , i will explain more after it I've typed in