Archive: javascript

 

Posts Tagged ‘javascript’


If you are struggling to debug why some ajax, perhaps using jquery etc is working fine when you access the page via http, but if you use https then it fails silently with very little error messaging to work on then this could be your solution. Basically, although you have accessed the page over HTTPS, [...]



 

If you are scratching your head trying to figure out where in your Javascript the mysterious doIt error is coming from when testing using Chrome, this might just save you.. After loads of digging around it turns out that the error is actually caused by the Chrome SEO extension I had installed. Disable that and [...]



 

If you upgrade to Magento version 1.4 and find that your admin totally stops working then this might be for you. If you view source and notice that your javascript paths are totally wrong then it could be that Merge JavaScript Files is causing it. The answer is: go to System -> Configuration -> Developer [...]



 

If you need to work collaboratively on some Javascript then check out JS Bin It’s just like pastebin, but with Javascript compatability, handy. More Reading:Using Live Images on Staging Without Absolute URLs (but a bit of JS)Tip: Javascript late-loading trickTip: Copy CSS Selector in chromeMagento addAttributeToFilter() and addAttributeToSelect()Adding Confirm E-mail Address Field to Magento Frontend [...]



 

Douglas Crockford, author of Javascript the Good Bits and Yahoo’s Javascript architect is delivering his famous lectures. The first one is now available to download. Douglas Crockford is Yahoo!’s JavaScript architect and a member of the committee designing future versions of the world’s most popular programming language. In the first three months of 2010, Douglas [...]



 

Jquery, arguably the most popular Javascript library has has a new version released. The release features some dramatic performance improvements, especially on widely used functions like .html() It also features a host of new functionality and improvements. For full details check out this page: http://jquery14.com/day-01/jquery-14 More Reading:Tip: Javascript late-loading trickTip: Copy CSS Selector in chromeUsing [...]



 

If you are bewildered by the choice of lightbox style javascript plugins available, you might find this page useful: http://planetozh.com/projects/lightbox-clones/ Its a well organised matrix of lightbox clones so you can compare features and choose the right one for your specific requirements. Handy! More Reading:Tip: Javascript late-loading trickTip: Copy CSS Selector in chromeUsing Live Images [...]



 

If you are trying to use associative arrays in Javascript, the first thing is to not use the Array type and instead just use objects. The weird and wonderful thing is that if you create your array as an object, you can still use the array style square brackets to access object properties. So for [...]



 

I'm currently working on a project that has some really heavy javascript requirements. For the project I decided on using jQuery to implement the required functionality. Now having only used jQuery for a few days I have to say I'm impressed with how easy and intuitive it is. That combined with the excellent jQuery support [...]



 

Javascript can seem daunting for new comers who are learning html and coding for the web. However there are a few dead easy things you can do with javascript which do not require any particularly complicated code and can make your site a bit smoother and slicker for the end user. Form Submit on Change [...]