FraserK FraserK - 1 year ago 94
jQuery Question

jQuery Simpletip which dynamic content

I have the script:

$('#download').live("click", function(e) {
alert('Please right-click and select "Save As".');
//do other stuff when a click happens

I need to have a similar script that will append a simpletip popup to the link (This plugin here SimpleTip). As the element with the id #download is created after the dom initially loads.

This is how simpletip is activated:

$("JQUERY SELECTOR").simpletip();

Thanks in advance :)


If you can link me to or suggest another way of doing this with the 'hover' event that will help.

Answer Source

The only possibility you have is to call


after you created that element.