Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Drop Random Pins Onto Dumby Map Reply To: Drop Random Pins Onto Dumby Map

#189287
__
Participant

So, “dumby map” meaning “not a real map.” I figured you might mean something like that, but I wanted to make sure I wasn’t overlooking something.

BTW, GSutherland’s post and my own are actually the same suggestion. jQuery allows you to call most of its methods either on a jQuery collection object (what I showed), or on the jQuery function itself (what GSutherland showed), and pass the collection object as an argument.

Also, in your demo, do you need all those scripts for something else on your page? You should need only jQuery (which you can have codepen load automatically — click on the gear icon on the JavaScript box).