function passFromValue(){ var x = 15; return x; } ...
Map and Set Array Map set isa a complex data structures.But that’s not enough for real life. That’s why Map and Set also exist....
Promises are used to handle asynchronous operations in JavaScript. They are easy to manage when dealing with multiple asynchronous operations where callbacks can create callba...
Many events automatically lead to certain actions performed by the browser. For instance: A click on a link – initiates navigatio...
We can not only assign handlers, but also generate events from JavaScript. Custom events can be used to create “graphical components”. For instance, a root element of our own...
JavaScript URLSearchParams https://test.com/?device_id=md00142&location=dhaka https://test.com/device?device_id=md78547 const params =...
URL Structure: https://site.com:8080/blog/angular?p1=device1#specification Origin: protocol = https host = site.co...
Show the javascript method raw code in import such as a function is function getActiveChannelID(){ let a = 10; let b = 250;...
local Storage Set Array Item And Get Array Item userIsAdmin() { // Set item (Keep in Local) localStorage.setItem(...
Here we make a carousel with js library of "OwlCarousel 2" & Bootstrap. First add the bootstrap and jquery. Bootstrap css+js...
In my html the ckeditor automaticly removed my custom html code. I am solved this issue here . Update your script where you declear the ck editor at bottom . <script&nb...
We can also use multiword property names, but then they must be quoted: let myVar = { user: 'Mr.rakib hasan', phone: 999898989, '...
Ajax Get method not supported in javascript because of using the jquery slim version. And use Jquery at head. to activate the get method in ajax use the orginal version of jquery....
To store special character and other language string like german, franch wordpress special character filter. Keep Special character into wp database. For special Character store...