Okey, I found a solution… Problem was because of on AJAX loaded content
My code works if I use this:
jQuery(document).ajaxComplete(function($){
jQuery(document).ready(function($){
$(".more-info").click(function(){
$(this).closest('.resume_list').find('.main-box-info').slideToggle();
$(this).closest('.more-info').find('span.click-show-notes, span.click-hide-notes').toggle();
});
});
})
Related Posts:
- jQuery equivalent of JavaScript’s addEventListener method
- What is content-type and datatype in an AJAX request?
- How to send multiple data fields via Ajax?
- Adding an onclick function to go to url in JavaScript?
- When and why to ‘return false’ in JavaScript?
- Download File Using jQuery
- Jquery Ajax Posting JSON to webservice
- How is JavaScript .on() method defined?
- correct way of comparing string jquery operator =
- Jquery to change form action
- Split string in jquery
- How can I expand and collapse a using javascript?
- Detecting value change of input[type=text] in jQuery
- Javascript : array.length returns undefined
- Comparing dates in jquery
- Slide right to left?
- How do I send this form's output to a new WordPress page?
- Annoying “JQMIGRATE: Migrate is…” in console after update to WordPress 4.5
- Update jquery version
- Correct Method to run scripts with dependencies without enqueue?
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- WP set auth cookie using Ajax is not saved to browser
- Modify Custom Field in Media Library using JavaScript
- Loading jQuery With Two Fallbacks
- Moving jQuery to the footer without using de-register in WordPress
- Best approach for loading a sidebar Only if the screen max-width is >900px?
- Including jQuery in WordPress
- Comment form vaildation
- Enqueuing jQuery in plug-ins
- Prevent five different copies of jquery from being included on every page
- Script doesn’t load because of a javascript MIME type error
- javascript is not working on Event Submission?
- TinyMCE – TypeError: r is undefined
- WordPress audio player causing js error, mediaelementplayer is not a function
- Auto-detect javascript errors and warn theme user
- combining js scripts from a js newb [closed]
- Heartbeat API: How to access data already enqueued?
- How to get a value from PHP in Jquery through Ajax
- Script for initializing JQuery Masonry for WordPress
- Jquery integration with my theme
- How to stop focus() in custom js from scrolling to footer?
- Getting post meta in the flex slider
- Correct way to write jQuery functions in WordPress
- Removing jQuery from footer
- Use jQuery to conditionally hide elements in Quick Edit
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- WordPress jquery files not being enqueued
- Trouble with WordPress Ajax Login System – 302
- Load the next posts ajax
- Unexpected script loading order
- Problem passing id-specific objects to javascript via wp_localize_script
- I am trying to modify a plugin and am adding Jquery, but it does not seem to be executing
- FacetWP – conditionally display facet labels
- Creating a new div onclick wordpress+ajax
- Uncaught ReferenceError: jQuery is not defined . How do I define it correctly?
- Close Fancybox, sumbit form data and redirect
- How to enque js script in footer that are not in .js file?
- Properly embed javascript into WP (using function.php) – doesn’t work?
- jQuery tabs plugin with callback to fetch data
- jQuery is not defined [closed]
- Nested Gallery Shortcode INTERMITTENTLY working
- Best way of getting a a series of custom fields into an array?
- Cherry Framework theme, JQuery is using HTTP not HTTPS
- Custom AJAX form not working async
- JQuery UI not loading without explicit loading of jQuery
- Is it OK combined wp-include js, jquery, css? [closed]
- Including Older Version of jQuery for IE7/IE8
- Why won’t the Jquery validation plugin work?
- JQuery load php – php file without the template
- enqueue jQuery into the footer
- Uncaught TypeError: Object # has no method ‘datepicker’ [closed]
- Making jQuery-based galleries with WordPress without a plugin?
- JS behavior differs depending on page tree [closed]
- Long contextual help needs two clicks to close
- Query String Link With Anchor Tag Not Working on Same Page
- jQuey Popup no longer working
- Is textarea always accesible throught textarea#content in wordpress dashboard for a specific page?
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Bootstrap Carousel Slider – CSS & JS not working
- How to pull data from a table using wpdb?
- Is not using admin-ajax to ajax submissions okay?
- onclick jquery function not working in wordpress header file [duplicate]
- How can I add a new lib path without call each one on the header?
- Unable to remove jquery from header and put in before body ends
- Visual editor popover or placeholder
- Masonry – Can’t Find Variable imagesLoaded
- Custom button on admin page doesn’t trigger click event
- How to update scrollbar when using Jetpack’s Inifnite Scroller?
- Clear custom field when new tag is added
- wp_signon not working fine and 302 moved temporarily?
- How to move featured image to the top of the list?
- How jQuery Works in WordPress [duplicate]
- Getting “ReferenceError: jQuery is not defined” – don’t know why!
- Can’t get jQuery to enqueue into post edit script
- javascript not loading in wordpress
- Delete wp_deregister_script(‘jquery’) returns an not shown error
- Jquery in IE, fully messed up
- how to make this work with jquery 1.12.4 [closed]
- Theme variation conflict with jquery select2 dropdown
- Can’t seem to check off a category checkbox with jquery?