sct
  • HTML5
  • CSS3
  • JavaScript
  • jQuery
  • PHP
  • Frameworks
  • WordPress
  • SEO
 

Tag: jquery variable

jQuery toggle/hide/show etc. div using variables

jQuery hide/show div using variables
JavaScript
1
2
3
4
$('.get-delete').click(function() {
var get_id = $(this).attr('id');
$("#" + get_id ).toggle(400);
});


  Frameworks, HTML, JavaScript, jQuery     hide div jquery, jquery variable

About

SimpleCodeTips offers you a wide range of code tips mainly in the area of web development. Don't hesitate to comment or contact me for questions or requests.
Do you need to take your website to the next level?

I design responsive websites from scratch starting from €150.

Learn more here: site-instant.ro

Popular Tags

ajax bandwidth color compresion css color css responsive css selector database event facebook open graph fixed navbar google maps gzip hide element htaccess http image javascript jquery jquery menu link linux command menu meta tags mobile first mysql mysql connection nav bar nav menu onclick one page onmouseover open graph page speed panel php portfolio protocol responsive scp command sem seo tips site optimisation ssh twitter

Tools

Password Generator - Quick and easy generate strong passwords

About the author

Front-end developer with back-end experience

 
 
About Us Privacy Policy Terms of Use Contact Us
© 2017 CosminR