--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 29, 2008, at 6:19 AM, pradeep_tp wrote:
Thanks all. I think it is the mistake of the author who wrote this
example on the JQuery help page.
I just copied and pasted the code,
but didnt realize that
Thanks all. I think it is the mistake of the author who wrote this
example on the JQuery help page. I just copied and pasted the code,
but didnt realize that I had to add an achor tag.
Thanks to everyone for your replies
On Mar 5, 9:24 pm, ajpiano <[EMAIL PROTECTED]> wrote:
> also, i'm not say
also, i'm not saying it's wrong or bad
but i have literally never ever seen anyone have line breaks in the
middle of their closing tags...
On Mar 5, 10:33 am, J Moore <[EMAIL PROTECTED]> wrote:
> wow, the lag on this list is brutal. is there any way of reducing it,
> so people don't spend
wow, the lag on this list is brutal. is there any way of reducing it,
so people don't spend time responding to already-answered questions?
On Mar 5, 9:34 am, J Moore <[EMAIL PROTECTED]> wrote:
> actually, your code doesn't display a link. it sets up an action when
> the link is clicked.
>
> You'
actually, your code doesn't display a link. it sets up an action when
the link is clicked.
You're missing: do something
There might be other problems too if you aren't even seeing the alert
message.
Download firefox and firebug. IE isn't much help for developing
javascript.
-j
On Mar 5, 5:16
That code does not create a link, it binds that function to existing
links. You either have to add a link in the html. Or create a link
with something like
$('a link').appendTo("body");
as the first line after $(document).ready(function() {
On Mar 5, 2:16 am, pradeep_tp <[EMAIL PROTECTED]> wrot
pradeep_tp ha scritto:
$(document).ready(function() {
$("a").click(function() {
alert("Hello world!");
});
});
This code simply add the function to the click event on all ""
elements on your page, but in your code there aren't these type of elements.
In markup add simply:
TEST
7 matches
Mail list logo