Elementor from select field placeholder

Add this Custom HTML in Elementor

ID: form-field-customdropdown

				
					<script>window.addEventListener('DOMContentLoaded', function() {

jQuery(document).ready(function($){

    const select = $('#form-field-customdropdown');

    // Reset selected value
    select.val('');

    // Disable placeholder
    select.find('option:first').prop('disabled', true);

});

});</script>
				
			

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest tutorials

Freelancer Mojibur
freelancer mojibur

Start a Project!

Interested in working together? Send a quick message or schedule a meeting. Ask questions, discuss details, and decide if we are a good fit.

Website Project Inquiry

This form helps me get a general idea. We’ll schedule a meeting soon to discuss everything in more detail!

Freelancer Mojibur

Contact person

For quick communication email at: freelancermojibur@gmail.com