Try something like this…
var code = $('div#wp-content-editor-container textarea').text().match(/\[(schema.*)\]/);
code="<" + code[1] + '>';
alert($(code).attr('description'));
Related Posts:
- Creating Multiple wp_localize_script for Shortcode?
- Adding jquery and thickbox to WordPress theme
- Lightbox popup on WooCommerce add_to_cart action
- Add custom shortcode button to Editor
- Using the WordPress Media Library and returning the Attachment ID rather than URL?
- call shortcode in javascript
- Including javascript for a shortcode
- Localize variable for multiple Shortcodes
- How disable checkbox when listbox value changes in tinymce
- Creating multiple enclosing shortcodes and fixing JS issues on click
- WP UI style within shortcode – Any Suggestions?
- Why Won’t my jQuery Play Nice with WordPress?
- Reload wordpress shortcodes
- Adding URL of PDF from Thickbox in a Meta Box
- Populating shortcode values dynamically in theme template
- Nested Gallery Shortcode INTERMITTENTLY working
- Change shortcode value by jquery in WP Editor
- echo do_shortcode for Contact Form 7 from within dynamically loaded php file
- How do I make Contact Form 7 pop up in thickbox? [closed]
- How to modify iFrame content in an admin thickbox
- How to add shortcode to show/hide press releases?
- Uncaught TypeError: undefined is not a function (shortcode-box)
- Append jquery script for each [partners] shortcode with specified values
- Create a short code that inserts js
- jQuery not working for tabs shortcode [closed]
- How to send multiple data fields via Ajax?
- Adding an onclick function to go to url in JavaScript?
- Download File Using jQuery
- Jquery Ajax Posting JSON to webservice
- correct way of comparing string jquery operator =
- Jquery to change form action
- Split string in jquery
- Detecting value change of input[type=text] in jQuery
- Javascript : array.length returns undefined
- Comparing dates in jquery
- jQuery: using a variable as a selector [duplicate]
- Slide right to left?
- Correct Method to run scripts with dependencies without enqueue?
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- How to get a jQuery script to run on a page?
- Loading jQuery With Two Fallbacks
- Moving jQuery to the footer without using de-register in WordPress
- Best approach for loading a sidebar Only if the screen max-width is >900px?
- Including jQuery in WordPress
- Prevent five different copies of jquery from being included on every page
- javascript is not working on Event Submission?
- WordPress audio player causing js error, mediaelementplayer is not a function
- How to get a value from PHP in Jquery through Ajax
- Script for initializing JQuery Masonry for WordPress
- Correct way to write jQuery functions in WordPress
- Use jQuery to conditionally hide elements in Quick Edit
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- Trouble with WordPress Ajax Login System – 302
- Why does javascript works only if logged in?
- Load the next posts ajax
- How does WordPress handle HTML Tables interaction with jQuery
- Problem passing id-specific objects to javascript via wp_localize_script
- I am trying to modify a plugin and am adding Jquery, but it does not seem to be executing
- FacetWP – conditionally display facet labels
- Callback After WordPress Customizer Complete Loading
- Creating a new div onclick wordpress+ajax
- Uncaught ReferenceError: jQuery is not defined . How do I define it correctly?
- Close Fancybox, sumbit form data and redirect
- Jquery UI Google CSS, from where?
- datepicker for custom post type admin
- Disable Cloudflare Rocket Loader for jQuery javascript and make it load first
- How to add plugin with jQuery to custom theme?
- jQuery selectable() function won’t work in wordpress
- jQuery(selector) vs. $(selector)
- Null/undefined return in WordPress AJAX request
- Disable auto hide of the login form on Woocommerce’s checkout page
- Sorting dynamic table content with jQuery
- jQuery .load and WP function
- How can I get this menu container to be the height of the contents?
- JQuery is not working after complete load of the page
- Carousel Slider For Custom PHP Snippet Is Not Working
- why does so many javascript libraries are loaded along with my website?
- Why does my media selection script write to ONLY the first input field?
- Modify the href attribute of tag dynamically in WordPress
- Add a jQuery snippet for sepcific user role
- Move jQuery on *top* of footer
- How to specify url for ajax call in wordpress plugin
- Call admin ajax using absolute url? Relative URL breaks (frontend ajax)
- Dynamic image grid gallery
- Responsive framework – edit child js
- Page keeps refreshing with Ajax form
- JS script not being included [closed]
- jquery issue in functions.php
- JS plugin script loading but not working
- WP Calendar Shortcode not working on my theme
- Are you sure popup on Contact Form 7 [closed]
- change the icon of a custom post type in WordPress to use twitter boostrap
- Using jQuery toggle() in WordPress post to show/hide Tweet button?
- Call a Simple JQuery from within Flash
- Ajax request with jQuery without WP_ajax
- JQuery WordPress gallery [closed]
- JS file not loading [closed]
- How can insert JQuery in WordPress? [closed]
- I need a Pop up with description when i click an image
- Jquery in IE, fully messed up