Re: [Rails] Problem in jquery

2012-08-09 Thread Colin Law
On 8 August 2012 08:46, Maddy wrote: > It is my jquery/ajax coding. > it is not not working now. Since you have not told us what it is supposed to do and what the problem is then we have little chance of helping. I suggest you strip your code down to a very simple starting point with no more tha

[Rails] Problem in jquery

2012-08-09 Thread Maddy
It is my jquery/ajax coding. it is not not working now. $(document).ready(function() { $(".ac_odd").live('click', function() { alert('odd'); var s_name = $(this).text(); $('.sport-name').val($(this).text()); $('.ac_results').css('display','none'); var sport_id = 22