ok thanks for your reply. Could you please tell me is it possible to do like this with any free themes?
I have tried it. But its not working. After including this file, nothing happen. But if I write any code at the top of “require” then it works.
I have fixed that, but still having same problem. 🙁
I have saved the file in theme folder.
/themes/GeoTheme/values.php
my javascript code below,
var value_tuh=document.getElementById("sr_tuh").value;
jQuery("#content").load("<?php bloginfo('template_directory');?>/values.php",{s:value_tuh});
I am using child theme.