Hi I was looking but was unable to find an answer to my question. I'm trying to find out how I can reference database columns with javascript. For instance I have user favorites set up and when a user adds a favorite I want to change the button from add to remove with jQuery. or if the user has not saved any favorites i can display a message saying "No favorites added yet" . So i could possibly write some code saying if this item ID exists hide this button and show this button .. or if no records exist in this collection show this message.
Thanks in advance