Skip to content

Tag: javascript

How to get the changed select button among many select buttons?

I have many filter button like below, how can I get the select value without using its id? Normally, I will use this code to find the changed select button: But the problem is when there are many filter buttons, I have to write many functions like above and just only change the id. How can I just use somethin…

Set cookie everytime user deletes it

I want to create a cookie everytime a user deletes it, using Javascript. For example, I have many cookies, even some cookies which set a ban time to the user who abuses the website. Basically I want to set a cookie which will be set whenever all of the cookies are deleted. Btw, I do not want to create the

How can I use arcgis js in Vue js

There are several example in docs of arcgis, but I can’t use it properly. When I import Map from arcgis like shown as in that example: import Map from ‘@arcgis/Map’ It gives error in browser which not found ersi like that Why it tries to download files from assets? Answer Using the ArcGIS JS…