Firstly I’d suggest wrapping your JS like this:
(function ($) {
$(document).ready(function(){
$("#Yes").click(function(){
$(".apptype").show();
$(".specify").hide();
});
$("#No").click(function(){
$(".specify").show();
$(".apptype").hide();
});
});
})(jQuery);
You’re also enqueuing jQuery twice, and the above the above script twice…. and with your shortcode you don’t need to declare the DOCTYPE, or wrap your from in an HTML tag.
I would also include the bootstrap CSS file in the HEAD of document.
Related Posts:
- WordPress Plugin development Call to undefined function jQuery()
- a weird attribute on every html tag
- Call javascript functions from each page
- I have no idea “How change font for elements in widget?”
- View Private Published Page with URL Code (no login required)
- Notepad sticky plugin
- JS Support Ticket – Auto create WP account
- How to show Recent Page instead of Post?
- scrolltop always 0, can’t trigger script
- Bootstrap Drop Down menu is not working
- Remove Duplicator plugin from admin menu if not an administrator
- Loading jQuery UI in the head
- Input with spaces in Shortcode attributes overwritten by defaults
- How can I implement an Add to Collection function on my Image Gallery to be downloaded later?
- Form isn’t inserting data into database with ajax plugin
- Add a custom form on the post-new.php admin page
- Removing customise fields during plugin uninstallation
- Best approach to fetch data from wp options to js file or php file
- Edit Yoast SEO breadcrumbs output [closed]
- What’s the best way to implement AJAX in WordPress?
- How to Create a Custom Panel and Fields in Post Page [Plugin]
- Translating long texts with html formatting
- custom changes removed after plugin update
- Adding a slider captcha to the comment system
- How to put JQuery/Ajax inside shortcode?
- Plugin for a text modal box [closed]
- Can someone please tell me what is wrong with my plugin?
- Error with Image Slide plug-in/ s3slider in WP
- How would I go about creating a user ranked post popularity page?
- Is there a way to set the default active tab on Post UI Tab pluggin?
- looking for navigation plugin (accordion) [closed]
- wordpress site | All-in-one-cufon IE Issue
- Anonymous Postings
- Do widget options need to be escaped widget()?
- Is there any W3C compatible Share & Follow plugin?
- Does any one have Idea to get these functionalities with the plugin wp-multi-network
- WordPress function not being called from jQuery method
- Change upload folder for a CPT
- Need to change url paramenter of share product pintrest [closed]
- How to tie dark mode with prefers-color-scheme webkit? [closed]
- Disable woocommerce cookies and delete cart data automatically
- Ajax contact form widget plugin data not insert in database
- Time consuming callbacks in customizer
- className not populating in custom block
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Run plugins only on certain pages
- Modifying a .js Function for Print [QZ Tray, WooCommerce POS]
- Overide plugin files from child theme (/inc/ ) folder
- wp_generate_attachment_metadata is creating an empty array
- custom payment gateway in woocommerce failed to connect to remote api server
- Display encrypted content on my website
- How to hide CSS by default and show on button press
- Uncaught TypeError: jQuery(…).flipster is not a function in wordpress
- Post category with counts been display like a menu
- Post custom Data value in The Events Calendar plugin [closed]
- Send reply with pre-prepared answers
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Save custom attributes of product in woocommerce
- Calling an attribute from a plugin shortcode
- Best place for short bio,image and button [closed]
- Use of Templates in a Plugin
- jQuery for custom plugin not working with Divi theme
- Why can’t I access my Intranet LDAPS with NADI?
- External Domain on WordPress Multisite
- In the archive widget, how do I sort in between two years?
- Customization API for plugin development
- Fromcraft Plugin On click submit button [closed]
- creating a custom shop page display on archive woocommerce
- Redux Framework: Page freezes on typing in Editor
- Setup page on first login on multisite
- How can I inject options into an select tag inside the widget form?
- polylang + category/tag custom language link
- Anspress Customization: How to show logged in user votes on a single answer?
- Custom wordpress Theme and Plugin repository
- Automatic Updates Individual Plugins Not Working
- How do I make a child theme I made POST through a 3rd party plugin?
- jquery tinymce and bundled wp plugins
- How create Group Blogs based on user created Groups
- Display wordpress post’s in popup?
- How to prevent plugins from loading jQuery
- Using color picker in plugin, does input attribute order matter?
- JQuery plugin that works with Google 1.10.2 and not with WordPress 1.10.2
- How to redirect users to their profile after they successfully edit their profile
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Loading a purchased jquery plugin in a wordpress theme
- Using window.onload with Ubermenu
- Getting Theme element into plugins page editor in wp admin
- WordPress as web application base
- Post Comments with Ajax in WordPress
- Customize The Events Calendar to Include an Option to Expand for More Events Listings
- URL rewrite of independent plugin?
- Plugin for users to create their own ads like Google Adsence
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- jQuery | JJ Carousel Plugin – Can’t set speed [closed]
- How do I apply style to each category of a list?
- Create shortcode to echo javascript
- Integrating jQuery Datatables with Editor into wordpress admin
- Add category selection to custom post type (plugin)