Ruby on Rails Monday, November 30, 2015

this snippet which follows another code block under       $(document).ready(function () {    isn't working, the previous block works, but not this one

  $('#listing_free_shipping').change(function(e)
   {
    if (e.listing_free_shipping.attr('checked'))
     {
     $("#listing_shipping_cost").toggle( "blind" );
     }
    else
     {
     $("#listing_shipping_cost").show();
     }
  })

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b61f22f6-cd32-4dd7-9f53-e4eaf637a523%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment