NewSignature / us-map

An interactive map of the United States using Raphaël
BSD 2-Clause "Simplified" License
279 stars 184 forks source link

How to pass additional data. #24

Open sagarneo11 opened 11 years ago

sagarneo11 commented 11 years ago

Hi,

I have states defined into database by ID, so for example for California ID is 872.

I want to Pass ID in place of text CA while clicking on california state.

Anyone can help how i could do this?

Thanks In Advance.

careyestes commented 9 years ago

I resolved this by using an $.ajax call in the click function. I could not pass any variable outside of the .usmap() call.