Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Can't seem to get my tooltip to display when prepending it to the page.

I'm trying to get a tool tip to show up when you rollover a map marker. A marker is placed on the map when a U.S. state has been selected from the drop-down. The following code is how I'm placing the markers on the map:

$(document).ready(function() {
Tipped.create('#fla', 'Some tool tip text');

if ($("#states").val() === "FL") {

The funny thing is if I place the following piece of code directly in the hmtl page it works fine tooltip and all:

But when I try to prepend it like the example above, the map marker appears but with no tootip.


Sign In or Register to comment.