Skip to content

Tag: jquery

How to reset a leaflet map after a case in JS

Hi, i have the following problem: I have a map in leaflet linked to a change function in jquery, depending on the ID that I receive in the “select” of the previous query, the case is entered below in JS: At the moment of choosing another case (Stored in a select in HTML ) the data that the first c…

Changes image based on time of day

good evening all. I’am a beginner programmer, I need your help in changing the image based on the time of day. for example: 00-11am = image A 12pm-18pm = image B 19pm-23pm = image C Can anyone help me? I know that I need to use JS but I don’t know how to implement it properly. Thanks Answer Someth…

AJAX Post Function without form Not Reset

Hello i’m kinda confused with ajax POST method, i try to make api request and since the respond have a similar parameter i make it as one global function so it can be use by my other html / js in other page, i know that the ajax post will make the function required to refreshed. but i don’t know