Skip to content
Advertisement

Tag: jquery

uploading image not working in codeigniter 3

i’m new learning codeigniter 3, i have problem that i can’t upload image in edit method. i’m really stuck, i already figure it out from the internet and documentation but there is no answer and my code still not working, when click submit button the method was success update to database but not with the image, here is my code

jquery remove class / addClass not doing anything [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. Improve this question I use some switch in jquery to add/remove class: I have some image

Use function parameters as a variable call

what has already been described in the title, but basically I want to send a function perimeter and use it to call one of the three different variables. Also so it doesn’t come to a miss understanding the “$(‘#’+id)” part of the code works all I need is the correct syntax for the “id =” part (if even possible). And

JQuery Search function for div containers

I am trying to use JQuery and this script (to filter my mySql output): the mySql entries I want to filter look like this in html: so each <div class=”card” id=”notes”> is one entry. The problem is (as you can see) I probally use this function wrong because I filter $(“#notes div”).filter(function() { so if I search “ABC” the script

Remove parent node on click of button throw function on found error

I’m working on my companies legacy project. It uses jQuery. I have to add a feature to it. The feature is that, on clicking a checkbox, a span with the checked value (let’s call it “filtered value”) will be displayed with a “remove” icon in it. On clicking the remove icon of the “filtered value”, filtered value should be removed

Setting variable to target all divs with same Class

When selecting a class with querySelectorAll i get an uncaught error Uncaught TypeError: b.getBoundingClientRect is not a function at overlaps is there a way to fix that? I have div being generated with an ID ‘enemy’ and want to detect overlapping with my div ID “char”, but the function only targets the first div with ID ‘enemy'(the console log(overlaps) fires

Datepicker flashes and disappears after field receives focus

I have an html page that displays a modal dialog with two jquery datepicker fields. When the dialog is instantiated, the cursor is properly placed in the first datepicker field and the calendar is displayed. Upon selection of a date, focus is moved to the second datepicker field. The calendar flashes but disappears. How do I correct this? The code

Advertisement