[eluser]Unknown[/eluser]
Hi, I'm having a little trouble about implementing ajax. I'm really new on this, but as much as I review the code I don't found were's the problem.
Here's the fact:
I have a simple controller that calls a view. This view shows some information. Well, I really got angry when I tried to use a simple button showing an alert. The alert down't show. However, other alerts seems to work. I can not see what am I doing wrong. Here's the code:
[removed][removed]
[removed]
$(document).ready(function() { //this alert worksa fine
alert ('Hello World');
});
$('#message').click(function () { // this alert doesn't appear!
alert ('Hi!');
});
[removed]
....
<input type="button" value="Hi" id="message">
If somebody can help me.... I'll be greatfull
TNX
Sorry about my english