I resolved my issue.
My error came from both calling the php file from the wordpress theme and converting the html code to an object value so that jquery ajax interprets it as it should.
$tmpdir = get_template_directory() . '/ajax_user.php';
$resumeaccount = file_get_contents($tmpdir);
So I get Html content inside singles quote (value object) instead of directly interpreting the html code
Related Posts:
- Should meta boxes for specific pages be save in their own plugins?
- Ajax Call in page theme not working?
- AJAX in plugin wp_send_json() sending html
- How to display (plugin?) output on a single page (not a widget, probably not a short code) – template, plugin, combination?
- Facebook Messager Plugin
- Best place for if/else piece of code related to custom plugin?
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Advanced Custom Field DatePicker [closed]
- A new translation folder overrides my usual translation from “nowhere”
- Use of Templates in a Plugin
- Ajax call returning 0
- Add comments for template variables
- Ajax with plugins returns 0
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- Ajax fail and get 504 error
- Ajax Search Lite: Customize Autoscroll
- admin-ajax.php warning max input vars exceeded on layered pop plugins [closed]
- WordPress Integration with Google Groups
- Best place to load wp_ajax_the_ajax_hook action in plugin
- jQuery.post not working within shortcode – WordPress Ajax
- Create tabs in admin options page from custom post type loop
- How to load wp_editor via AJAX
- How can I inject options into an select tag inside the widget form?
- Init plugin again after ajax call finish
- Display wordpress post’s in popup?
- Render custom php template into string
- Installing plugins and using complex folder structure with child theme in WordPress
- Perform internal redirect in WordPress?
- Using AJAX to generate front end / viewer end pages
- How WordPress is able to change locale without using setlocale
- Using color picker in plugin, does input attribute order matter?
- Is there a directory my plugin can write files to that cannot be viewed via the browser/url?
- How to handle cookies from a WordPress plugin on a cached page?
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- wordpress file upload with ajax when site is ajaxyfi
- Post Comments with Ajax in WordPress
- AJAX search as you type? [duplicate]
- WordPress api call using wp-ajax returns error 400
- AJAX call – failling to call do_action
- how to insert data in wordpress table usnig jquery ajax
- Using wpdb without loading all plug-ins via wp-load.php
- Is there any hook for theme activation ? or something similar?
- How to use get_template part in the plugin?
- What are the Best Practises When Using AJAX in Plugin Development?
- changing posts layout in ultimate member profile plugin
- Template filter for custom taxonomy terms
- how to force tag page layout to use same as search layout?
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- AJAX fileupload – TypeError: not a function ajaxSubmit()
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Call plugin with php function
- Calling the_excerpt from inside a plugin template file
- Best practice for including plugin output in a template without using shortcode?
- Timber – Twig post.content returns null can’t create ACF Gutenberg blocks
- How to get path or root of plugin folder, not file or dir?
- Render Modula Plugin Shortcode On Ajax Request
- AJAX on Front-End Button Click not working – Custom Plugin
- How to handle WordPress Plugin Front-end AJAX Call [duplicate]
- Does having more than 30 Admin Ajax affects site performance (plugin)?
- Submit Form data to another page via Ajax (WordPress Way)
- AJAX Load more start with x posts
- Is it safe to use admin-ajax.php in the frontend?
- plugin shortcode not working on ajax request call
- Where to find the code used to render a page that has a shortcode and a template defined?
- wordpress add_action() issue in ajax call
- How to display checked posts on another page over AJAX? (like comparasion style)
- How do I override plugin templates and stylesheets?
- Create WordPress posts from JSON array using plugin in admin
- WordPress as template engine
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- Ajax Plugin Not Echoing Response
- Adding inside wp-plugin jQuery script that receives JSON-formatted data, generated by php-function inside this plugin
- where do I send my ajax calls
- Default taxonomy template in plugin, override in theme
- Ajax save data to database on document ready, no data being saved
- WordPress front end AJAX. Return 0 :?
- wp-mail attachment is not sent for no reason?
- WordPress Ajax code is not Working
- Using WordPress to build membership Page
- don’t call ajax if not plugin page
- How to get specific string/value from an array? php [closed]
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- Plugin Admin Menu Boiler Plate
- How to do the simplest possible frontend ajax call from a plugin?
- Proper way to handle admin-ajax calls
- Opening a JQuery modal window on click of a button with a JQuery plugin
- woocommerce search by sku and title ajax
- Using custom php file for ajax url inside plugin
- Where Should i write the code for wordpress ajax voting?
- Minimize and Uglify WordPress Plugin Files
- How to use template inside plugin shortcode with variables for big HTML code
- Asynchronous request in wordpress
- Remove value from array within post meta ajax admin
- How do I localize admin-ajax.php that is used in Ajax Load More – Infinite Scroll?
- Convert to shortcode?
- Is there a better way of handling AJAX requests in WordPress?
- Ajax object not defined – JS file is in plugin folder
- How to get CPT category checkbox list and show post of selected(multiply) checkboxes via ajax?
- WordPress subfolder installation AJAX Problem
- Pagination shows Same posts