skip to Main Content

Remove css hover effect on click Jquery

This code seems not to work. The text stays blue on hover, but I want it to be red instead after clicking this text. Tried several actions, but none of them works $('.secondary').click(function() { $(this).unbind('mouseenter mouseleave'); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <style…

VIEW QUESTION

Ajax success data show undefind – Jquery

I return a array object data Ajax success result then i print li tag but its show undefind My Ajax code is $.ajax({ 'method': 'GET', 'url': base_url +'party/selectCities?id='+state, success: function(data) { var newData = data.replace(/"/g, "") if(newData == ""){ }else{…

VIEW QUESTION
Back To Top
Search