there were a few issues.
- my table element wasn’t closed.
- datatables needs thead and tbody elements.
- wordpress uses jquery.noconflict so i had to change my javascript file. i took out the $ and replaced it with jQuery: http://api.jquery.com/jQuery.noConflict/
Related Posts:
- How to include jQuery and JavaScript files correctly?
- Test to see if jQuery or Prototype is queued by another plugin?
- jQuery in header or footer
- Hook the Keydown Event in the TinyMCE Post Editor
- How to Add a .js file Only in one specific Page Dynamically to Head
- How to trap “Publish” button to check for meta box validation?
- Use js script from one plugin in another plugin
- Mixing Regular Javascript With jQuery in a Plugin
- Is there an event or an other method that tells me the preview is loaded?
- Plugin – Make sure jquery is loaded in my settings page plus my JS file
- should i be checking for jquery before enqueing it in a plugin
- Need help about understand api, wp, $ syntax in WordPress plugin script
- Insert Into Post Not Working For Audio File Using jQuery
- wp.media gallery collection sometimes undefined
- Query String Filtering API
- jQueryUI draggable doesn’t work in WordPress plugin
- Filterable posts using categories
- Add a Script button in W3 Total Cache plugin not working due to conflicting jQuery version
- How do I use (or mimic) document.getElementById() on a page loaded from WordPress database?
- How to get the value entered in the input field in wordpres
- How react js and other Javascript Technologies works on WordPress plugin?
- Insert meta-description into Yoast-SEO input-field via JavaScript
- Why does WordPress use outdated jQuery v1.12.4?
- Is it possible to reuse wp.media.editor Modal for dialogs other than media
- How to add a javascript snippet to the footer that requires jQuery
- How Do I Use jQuery UI In My Plugin
- Remove profile picture option (and other things) from profile.php (in admin)
- How can I run AJAX on a button click event?
- Can I use the wp media uploader for my own plugin?
- Customizing the 3.5 “Add Media” popup (Backbone.js)
- Add a jQuery function to admin pages
- lodash dependency in a Gutenberg plugin
- wp_localize_script $handle
- Help adding image upload functionality to widget
- How do I only load js on the post-new.php and post.php pages in admin?
- creating elements/innerblocks via rangecontrol
- Using Ajax call in jQuery doesn’t work in widget
- What is the difference between these two methods of writing $ instead of jQuery in WordPress [closed]
- How do I use WordPress PHP functions in my Javascript code?
- WordPress plugin options and jQuery
- Can’t get JS code to work with shortcode
- How do I add a javascript file to all admin pages via a plugin?
- Ajax in WordPress – path issue
- Make a list with header and subtext in Gutenberg blocks
- How to Load Plugin JS in theme’s footer section
- Loading jQuery and jQuery plugin script files correctly [duplicate]
- Add a row on clicking each post featured image
- Best approach to fetch data from wp options to js file or php file
- Gutenberg: import dependency or assign from global variable?
- Hide shortcodes “code” when using the “editor” the same as wordpress do with “gallery”
- add javascript files only when plugin is called?
- How can I avoid conflicts between plugin and theme?
- How to control an elements classes from multiple Gutenberg sidebar controls?
- How should I go about registering JavaScript that isn’t a file? [duplicate]
- jquery & ajax sending data to php
- Run JavaScript validation script on form submit in plugin
- Custom Plugin – CSS works, JS doesn’t
- how to get the post id in plugin
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Data not insert and update through ajax and jQuery in admin page?
- WP ajax requests not stacking?
- How to add a panel/box/widget/are/screen to the right side of edit post/page confusion
- Service Worker Uncaught (in promise) DOMException
- jquery in wordpress plugin with depdendency
- ajax working when function is on child theme but not in plugin page
- About a programming language starts with [closed]
- Ajax +wordpress onClick link redirect to new page and create html content
- Use options to control jQuery plugin
- Should I put my plugin javascript inline?
- sanitizing/escaping plugin options
- Loading Images from Javascript on the Front End
- Using jQuery prepend() with file include
- How to deal with different jQuery versions?
- wp.media libary pdf type
- escape html in jQuery for WordPress
- Jquery php request is returning a weird result
- Multiple TinyMCE on button click is initialized and appended but why only last one is writeable?
- converting a node.js project into a wp plugin
- Is “document loaded” different on admin side than public side?
- why is apiFetch throwing Unhandled Promise Rejection: TypeError: Object is not a function
- WordPress Jquery with heade and footer sritp plugin
- Load script on frontend from widget plugin
- Append php file to footer
- XMLHttpRequest to open PHP file responds with Missing Page
- Using JavaScript in WordPress page to call for server data using AJAX
- wp_ajax add_action fuction won’t fire on custom jQuery action
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- WordPress function is not called and ajax return 0
- How can I add the Post ID to Class Name in Jquery?
- Javascript in plugin not working
- Ajax, jQuery and WordPress
- How do I call the dashboard’s sortable javascript in a plugin page?
- get_option include in my adsense
- Page reload occurs before request finishes
- Load css classes after using ajax calls
- Trigger a JavaScript function based on the data fetched from Woo commerce hook
- How can create a custom plugin to call my webapi after any registration or membership plugin functionality
- Trouble Importing whatsapp-web.js in a WordPress Plugin Development
- Reinitiate Gutenburg’s blocks using javascript
- how to add contact form 7 shortcode in javascript variable