Ok I’m working with Jquery, I really like it , it looks easy and
I have an issue here. I’m trying to change one CSS property from Jquery.
This ‘add-photo-mw’ has pre-defined* ‘display:none’*. Below is the code.
- <%= link_to ‘Add photo’, adding_photo_path(current_user),
class:‘css3button’, :id => ‘add-photo-mw’%> *
When this link is tiggered <%= link_to ‘Go to Gallery’,
loading_gallery_path, class:‘css3button’, :id => ‘show-add’ %> the
following Jquery code is launched.
$(’#add-photo-mw’).css(‘display’,‘inline’); });} );
Everything looks good, when the link is selected the link_tag is showed
the browser, but secods later the link is hide again. You know why is
Thanks & regards.
El jueves, 8 de mayo de 2014 13:52:09 UTC+2, James Davis, PhD escribió: