This code can be made really simple... Have a look at this thread and see if it helps any:
https://spservices.codeplex.com/discussions/548914
The key takeaway for you would be to store the information you want to use in your click handler, add that as an attribute onto the element that will be clicked.
Cheers,
Matthew
https://spservices.codeplex.com/discussions/548914
The key takeaway for you would be to store the information you want to use in your click handler, add that as an attribute onto the element that will be clicked.
Cheers,
Matthew