Yes the issue is due to jquery version. In your code, please replace 
.prop() to .attr() (for reference see http://api.jquery.com/prop/)

Below code worked in my test:

<script>
jQuery(document).ready(function(){


   jQuery('#a2_other').hide();
  
   jQuery('#survey_a2').change(function(){
          console.log('table changed', jQuery('#a27').attr('checked'));
        if(jQuery('#a27').prop('checked')){
            jQuery('#a2_other').show();}
        else {jQuery('#a2_other').hide();}
   });
   
        
});
</script>


Il giorno giovedì 25 luglio 2013 12:12:43 UTC+2, Johann Spies ha scritto:
>
> I did that (again) now and immediately the javascript stopped working as 
> expected.  
>
> Then I just put back the file jsquery (*/*! jQuery v@1.8.0)* from the 
> older copy of the app and the javascript worked again as expected.
>
> Regards
> Johann
>
>
> On 24 July 2013 18:42, Richard Vézina <ml.richa...@gmail.com <javascript:>
> > wrote:
>
>> Johann don't forget to update the other files too...
>>
>> https://groups.google.com/d/msg/web2py/tVyL7z7WHkw/mce13Vh-k3UJ
>>
>> Richard
>>
>>
>> On Wed, Jul 24, 2013 at 4:46 AM, Johann Spies 
>> <johann...@gmail.com<javascript:>
>> > wrote:
>>
>>>
>>>
>>> On Wednesday, 24 July 2013 09:54:28 UTC+2, Johann Spies wrote:
>>>>
>>>>
>>>> I have not been able to determine the exact course of the problem.
>>>>
>>>>
>>> It seems that static/js/jquery.js is the problem.  Replacing the file in 
>>> the working app with the one from the Welcome app, breaks things.
>>>
>>> Regards
>>> Johann 
>>>
>>> -- 
>>>  
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web2py+un...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>  -- 
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to