FrEaKmAn escreveu:
> $('a#addsuggest2').click(function() {
> alert('working');
> });
> $('a#addsuggest').click(function() {
> //alert('working');
> $('#message').html('add');
> });
> Add
>
>
> what is wrong? When I click on second add link (addsuggest2) nothing
> happens
>
>
thanks for reply. I was also able to solve the problem with
livejquery...
On 16 feb., 22:06, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> The problem here is that you are bind the "click" handler to
> "#addsuggest2" when the document is first loaded, but that element
> doesn't get created until you
The problem here is that you are bind the "click" handler to
"#addsuggest2" when the document is first loaded, but that element
doesn't get created until you click on "#addsuggest"
Unlike with CSS, which allows you to set styles for non-existent
elements that will be automatically applied
just as info, I have included all jquery files + jquery code is in
$(document).ready(function(){
code here...
});
4 matches
Mail list logo