what does this mean?  (function($){ })(jQuery);   to make the question clearer, what does wrapping a function in parenthesis mean in JS (sorry, I'm a bit confused on the concept of closures). What about the $ parameter? and the "jQuery" i...
I was wondering if anybody knows how I would go about detecting when the scrollbar appears inside a textarea.  I am currently using mootools for my JavaScript and I am having issues getting it to detect a scrollbar....
I have a problem retrieving the exact css property value (in '%') on firefox.   Suppose we have this extremely simple markup:  <div id="box">box</div>   and this css:  #box{     width:200px;     height:200px;     left:10%;...
How to find out which file and line a variable was defined in using google chrome console?  For example, the variable Native (from MooTools) has been defined in global scope. I want to know in which file that defined this variable using google chrome...
I wonder how to replace the bindWithEvent function in Mootools 1.3, the example in the documentation is very basic:  Element.addEvent('click', function(e){ myFunction.bind(bind, [e]);});   But, what about if I need to pass a param to the even...
I've got a page where I'm using Mootools 1.2.4 and MediaboxAdvanced as a lightbox. I can't seem to get the thing working because of a particular javascript error     document.body is null   at the initialization of Mediabox:  $(document.b...
I am evaluating several Javascript UI toolkits for building web applications that have a desktop-like feel, mainly because of dialogs and window management.  I looked at several options - here are my evaluations so far:   ExtJS - Great widget librar...
I have 4 inline-block elements with fixed width but variable content, and I want all of these elements to have the same height - that of the largest element. Please see This jsfiddle.  How should I achieve this? If its not possible to do it using onl...
I'm using MooTools ( part of the project ) to load a page using Request.HTML which works fine except that I don't want the whole page, just one fragment which has an id.    This is the code in question  var req = new Request.HTML({     onSucc...
I was wondering if it were possible to get the end result in the keypress event? Currently, I am using the keyup because it is activated after the user has done text editing in a texteara, but I have written a method that does something similar using...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.