Tag: jquery
-
Remove a property from a JavaScript object
In this article we will discuss about What is the best way to remove the property to end up with new myObject as follows. It ‘s quite simple, let’s take a look at this sample code:
-
3 ways to use Exists function for jQuery
jQuery is really useful for client website programming. It help us a lot but sometimes we need to spend time for very simple problem. This article will show you 3 ways to use exists function for jQuery what help you check if an element exists or not.
-
3 ways to detect mobile device in jQuery
When working with magento, I usually meet the problem with mobile device. The thing is there are some javascript need to run different in mobile device and I don’t know my extension will be install in desktop theme or mobile theme and which device it is working in. So I found the very good way […]