Planit.js

infobox ()

Class: Marker

Returns the jQuery object for the marker's infobox's container. This will (obviously) only work if you gave the marker an infobox when you created the marker.

Returns: jQuery object

Example

// assuming you already have access to `marker` as a Marker object
marker.infobox()

// if your container's ID is 'planit,' then that is equivalent to calling:
 $('#planit').find('#' + marker.planitID())