Styling not being applied to SINGLE ELEMENT after exacting JQuery function on single element within a ,vue page

I’m using JQuery-AsRange (https://github.com/thecreation/jquery-asRange) within my vue.js project. The function execute within the .vue page within the script section of my vue page and the JQuery-AsRange library works perfect but, lack any css styling. The css style that is loaded should handle those id and tags that are generated (I can copy can paste the…

Get currently selected value in editable select box

I have used editable select Jquery plugin ,now the problem is i want the currently selected value of editable select control with out on change or other event link to Editable select I have tried following till now but no success $(‘#customer_name’).find(‘li.selected’).value() $(‘#customer_name’).siblings(‘.es-list’).find(‘li.selected’).value() $(“#customer_name”).val(); HTML <select id=”customer_name” name=”customer_name” class=”form-control”> <?php foreach($customers as $customer){ echo “<option…

Get currently selected value in editable select box

I have used editable select Jquery plugin ,now the problem is i want the currently selected value of editable select control with out on change or other event link to Editable select I have tried following till now but no success $(‘#customer_name’).find(‘li.selected’).value() $(‘#customer_name’).siblings(‘.es-list’).find(‘li.selected’).value() $(“#customer_name”).val(); HTML <select id=”customer_name” name=”customer_name” class=”form-control”> <?php foreach($customers as $customer){ echo “<option…

Converting DOM elements back into HTML

I am creating a script to rearrange <div> elements on a page. It can get them into an array, but that array’s contents look like: [object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement], None of the following have worked: my_array.innerHTML my_array.outerHTML my_array.html my_array.toString() So how can I get this array back into something that looks like: <div class=”rect…

How to select JSON data that is showing during live search in jquery?

My code for live search is working perfectly but I am not able to display data when I select it. Please help me. Thanks jQuery: $(document).ready(function(){ $.ajaxSetup({ cache: false }); $(‘#searchName’).keyup(function(){ $(‘#result’).html(”); $(‘#state’).val(”); var searchField = $(‘#searchName’).val(); var expression = new RegExp(searchField, “i”); $.getJSON(‘result.json’, function(data) { $.each(data, function(key, value){ if (value.name.search(expression) != -1) { $(‘#result’).append(‘<li…