Yes, you need to create a custom template without get_header and get_footer. Copy page.php to custom.php. on top write the template name.
Than make an Ajax call (register an Ajax action first). Requesting the url with your custom template.
Yes, you need to create a custom template without get_header and get_footer. Copy page.php to custom.php. on top write the template name.
Than make an Ajax call (register an Ajax action first). Requesting the url with your custom template.