I worked on JS function to auto populate name of the skill field of contact form 7 with the page name. It is working correct when i am deactivating w3 total cache but it not working when w3 total cache reinstall and activate. My code is below.
jQuery(document).ready(function() {
jQuery('#cstapply').val(jQuery(this).find(".auto-titles h2").text());
});