Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know which link is clicked using Javascipt

Status
Not open for further replies.

ayusuf

Programmer
Jan 6, 2010
1
US
Okay you know when you create a list in Sharepoint and say in that list you categorize the items in that list where it creates the Expand/collapse buttons. I want to know how in Javascript I can make a function where I know which category the user clicks. Let's say I have these 3 categories Blue, Pink, Yellow. If a person clicks blue I want to write something and if a person clicks pink I want to write something different. Thank for your help in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top