ドキュメント

Talk:Tutorials:Getting Around The Minimum Height Glitch

From jQuery JavaScript Library

Jump to: navigation, search

i m having a strange problem. i have link on my page by cliciking on this link i append another link in a seperate division.

that dnamicaly appended link too have an id attribute and i have attached a jquery click event to that id also.. but this is not working.

first link perfectly append second link in div but then new link just added with append function is not working this is link to page.

http://www.zanetine.in/problem.html

all code is on same page.


--Yansky 16:03, 7 April 2007 (EDT)

Hi, this page is probably not the best place to get help, try http://groups.google.com/group/jquery-en

But I'm pretty sure your second click function is not working because when the page first loads, the link has not yet been created, so jQuery can't bind the function to it.

For example, $("#test").click(function(){ alert("i supposed to display an alert"); return false; }); works, because the div is already there at page load.