Bootsrap jquery Dropdown – How can I display the data values in the content area

can someone please help with this? My goal is to create a Bootstrap Dropdown Box via jquery. Everything is fine apart from the last bit, the output of the data-value field(s) into the .menu, the for the content. JS Fiddle here: http://jsfiddle.net/schllrcgn/0yzru5va/75/ Any help is appreciated! Thank you very much! $(document).ready(function(){ var classes = [‘.DDFProjectTopics’];…

jquery – how to close div

I have button that open div with form. how do i close the box when use click on “.fa-times”? index.php <script> $(document).ready(function(){ $(‘.st-actionContainer’).launchBtn( { openDuration: 500, closeDuration: 300 } ); }); </script> HTML file: <div class=”st-actionContainer left-bottom”> <div class=”st-panel”> <div class=”st-panel-header”><i class=”fa fa-bars” aria-hidden=”true”></i> Contact <a href=”#”><i class=”fa fa-times pull-right” aria-hidden=”true”></i></a></div> <div class=”st-panel-contents”> Some text…

How to send Image files using jQuery Ajax PHP?

Having problem with my code. I am trying to store these 3 data (product title, price and image); but its not sending images to the database. I tried many online solutions but could not solve myself. This is my html and jquery: <div class=”add-new-product”> <form class=”add_product_form” action=”” method=”post” enctype=”multipart/form-data”> <p> <label for=”title”>Product Title:</label> <input type=”text”…

Jquery: how to use the existing input text value without using on interaction like “change”, “keyup”

here is the jquery code that be use to display the output.. but i am using existing value in input text. Because of that, the data can display, but I need to click the textbox and change inside the textbox to display item from database. i dont want to change the textbox value. $(document).ready(function(){ $(‘.search-box2…

jquery select all inputs with class gives wrong results?

I am trying to read all inputs of class form-elementNameInput after iterating over: <li class=”liClass”><div class=”containerClass”> There are 2 of them (text1 and text2) For some reason I am getting wrong results from one of the buttons, I am not sure why? I also tried $(this).first(“.form-elementNameInput”).text(); full code: function readInputText(){ var elementText; $(‘li.liClass>div.containerClass’).each(function(){ elementText =…