Skip to content

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 …

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 …

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…

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 $(“#note…

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 functio…