Changing
img: obj_test.stylesheet_directory_uri + '/img/ajax-loader.gif',
to
img: "http:// urltoimage .com/test.gif",
solve the problem.
Important – the url between ‘…’ does not work! The url must be between “…”
That was the problem i dont figured out before 🙂
Related Posts:
- How to set time delay in javascript
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- My javascript is returning this error: $.ajax is not a function
- JavaScript: filter() for Objects
- Rotate image with javascript
- How to make a simple image upload using Javascript/HTML
- How to get client’s IP address using JavaScript?
- javascript function wait until another function to finish
- Enable & Disable a Div and its elements in Javascript
- Javascript – ERR_CONTENT_LENGTH_MISMATCH
- The ‘describe’ keyword in javascript
- Is there a way to enable Cross-Origin Resource Sharing for WordPress’ ajaxurl?
- How to get attachment id as soon as it is uploaded through media uploader in jquery?
- Move WordPress native javascript to bottom of page?
- Ajax call does not activate callback function
- Using ‘$’ instead of ‘jQuery’ in WordPress
- Automatically decrease font size for long words
- Javascript included but alert() function not working
- Trying to get single posts to load on the front page via ajax
- Ajax not firing properly using Firefox, but works in Chrome
- jQuery Hoverintent plugin in TwentyEleven Menu [closed]
- How wp_enqueue_script works?
- Script won’t execute in the media manager
- How to properly add Bootstrap and JQuery Javascripts?
- Gravity Forms not loading under https, jQuery is not defined
- WordPress Jquery Fade in, Fade out effect
- wp_ajax unauthenticated and authenticated
- WordPress ajax function parameter value not being passed
- Is it safe to include a javascript file in a template’s php file?
- Add a Fancybox automatically to post type “post” images
- Enqueuing javascript files
- WordPress customizer refresh screen after save
- Creating multiple enclosing shortcodes and fixing JS issues on click
- Can’t load a class into WordPress post editor’s content field
- Gutenberg Filtering Metaboxes by Post Format
- JSON output returns page source code [closed]
- No data received
- Dealing with a library that depends on jQuery
- CodeMirror on Custom Widget Textarea
- Sending click events to Google Analytics in WordPress: the easy way
- start.js:45TypeError: Not enough arguments on Safari [closed]
- How to Dynamically Load Content Into Body of Bootstrap Modal Window?
- I want to import my Json file into a custom made display-modal. How do i link my Json file?
- Help with a jQuery Carousel
- Searching multiple tags and adding jQuery dependant script onto page template?
- TinyMCE 4 remove/add attributes for all images
- videopress videos are not displayed when loading the content with ajax in a lightbox
- Javascript stopped working [closed]
- Call a javascript function from another file
- Fall Back Google CDN in JavaScript
- Why doesn’t jQuery use $, and how can I get it do so (GLOBALLY)?
- I have an old version of jQuery showing up. How do I figure out where it is coming from?
- How do I include javascript/jquery image resizing with wordpress?
- Loading scripts on a single page plants the script in the footer
- Search input area autogrow – how?
- Get value of selected option in select field in a WordPress form
- How to keep HTML form field that is conditional hidden with javasript hidden after page reload?
- Accessing javascript in multiple files [closed]
- How to change the text of the “You are about to permanently delete these items…” alert message when deleting media from the media library?
- Unable to get my javascript to work on my website – what am I doing wrong?
- Issues loading Jquery on WordPress website
- Required radio button does not validate in form, when clicked through Javascript/jQuery
- Multiple Media uploader output to input
- Using WP functions inside javascript
- How to add external remote JS source to Gravity Forms?
- Blur.js with WordPress – Enqueued, but server not finding file
- Screen Options JavaScript Code
- Is there some jQuery conflict here?
- Theme has superfish – how to add supersubs?
- Best way to add some custom javascript using jquery to a child theme
- Add JQuery As Code Snippet
- Form validation before submitting
- Defer Parsing of Scripts
- Orderby post__in Not Working Correctly?
- Site images are fixed in front of my site content [closed]
- JavaScript code do not works on online server
- JQuery toggle in Visual Composer
- jQuery not working for media uploader
- Adding scripts before plugins scripts
- How to toggle custom WP archive list
- WP Media Uploader modal conflicts with Bootstrap modal
- jQuery search function not running in WordPress but running locally (fiddle)
- JQuery Login Dropdown not functioning in theme
- Javascript function to switch out images
- Enqueue javascript that inserts custom php widget into jQuery-constructed div
- Retrieve customizer value using ajax or customizer api and print the value in theme
- Uncaught TypeError: undefined is not a function (shortcode-box)
- jQuery infinite scroll and pagination styling in wordpress
- Running javascript in a child theme. Works in jsfiddle
- How to block action if post is “dirty”?
- WordPress video end function [duplicate]
- wp_register_script Question
- Ensure an external javascript file called from plugin is loaded after jquery is called
- Why my vertical tab js code is refreshing the page continuously? [closed]
- bootstrap-slider.js by seiyria not working in wordpress
- Carousel Hover Image
- Individual Pages are loading halfway down
- Widget won’t work due to old JavaScript? Any ideas how to make it work? [closed]
- How to Javascript/jQuery