Advertisement

jQuery

  • Web Development
    jQuery Succinctly: jQuery PluginsJquery cover
    Use the $ Alias When Constructing a Plugin When writing a jQuery plugin, the same conflict prevention routine used with regular, old jQuery code should be implemented. With this in mind, all plugins should be contained inside a private scope where the $ alias can be used without fear of conflicts or surprising results.Read More…
  • Web Development
    jQuery Succinctly: jQuery and the Web BrowserJquery cover
    Disabling the Right-Click Contextual Menu Using JavaScript, you can disable the browser's native right-click contextual menu. Doing so with jQuery is a snap. We simply cancel the contenxtmenu event.Read More…
  • Web Development
    jQuery Succinctly: Events & jQueryJquery cover
    Not Limited To a Single ready() Event It is important to keep in mind that you can declare as many custom ready() events as you would like. You are not limited to attaching a single .ready() event to the document. The ready() events are executed in the order that they are included.Read More…
  • Web Development
    jQuery Succinctly: HTML Forms & jQueryJquery cover
    1 shares
    Disable/Enable Form Elements Using jQuery, you can easily disable form elements by setting the disabled attribute value of a form element to disabled. To do this, we simply select an input, and then using the attr() method, we set the disabled attribute of the input to a value of disabled.Read More…
  • Web Development
    jQuery Succinctly: jQuery ManipulationJquery cover
    Creating, Operating, and Adding HTML On the Fly You can create HTML markup on the fly by passing the jQuery function a string of raw HTML.Read More…
  • Web Development
    jQuery Succinctly: Traversing With jQueryJquery cover
    2 shares
    Difference Between find() and filter() Methods The filter() method is used to filter the current set of elements contained within the wrapper set. Its usage should be left to tasks that require filtering a set of elements that are already selected. For example, the code below will filter the three <p> elements contained in the wrapper set.Read More…
  • Web Development
    jQuery Succinctly: jQuery SelectingJquery cover
    Custom jQuery Filters Can Select Elements When Used Alone It is not necessary to provide an actual element in conjunction with a filter, such as $('div:hidden'). It is possible to simply pass the filter alone, anywhere a selector expression is expected.Read More…
  • Web Development
    jQuery Succinctly: Core jQueryJquery cover
    1 shares
    Base Concept Behind jQuery While some conceptual variations exist (e.g. functions like $.ajax) in the jQuery API, the central concept behind jQuery is "find something, do something." More specifically, select DOM element(s) from an HTML document and then do something with them using jQuery methods. This is the big picture concept.Read More…
  • Web Development
    jQuery Succinctly: jQuery IntroductionJquery cover
    This session is intended for three types of readers. The first is someone who has read introductory material on jQuery and is looking for the next logical step. The second type of reader is a JavaScript developer, already versed in another library, now trying to quickly learn jQuery. The third reader is I, the writer. I crafted these articles to be used as my own personal reference point for jQuery concepts. This is exactly the type of resource I wish every JavaScript library had available.Read More…
  • Theme Development
    Using jQuery Masonry for Pinterest-Like PostingPost image
    51 shares
    With the inclusion of jQuery Masonry in the WordPress 3.5 core library, it's never been easier to change up a template's layout for recent posting.Read More…
  • Creative Coding
    Integrating the WP Media Uploader Into Your Theme With jQueryIntegrating the wp media uploader into your theme with jquery
    A while ago, we had a tutorial showing how to integrate the WordPress Media Uploader in Theme and Plugin Options. Based on this idea, we'll develop another version of it by changing something in JavaScript (basically, the core PHP code is almost same as the old one). In short, we will take advantage of jQuery to create a tiny jQuery plugin to meet our purpose instead.Read More…
  • Web Development
    Making Use of jQuery UI's Widget FactoryJquery ui widget factory
    29 shares
    For a long time, the only way to write custom controls in jQuery was to extend the $.fn namespace. This works well for simple widgets, however, as you start building more stateful widgets, it quickly becomes cumbersome. To aid in the process of building widgets, the jQuery UI team introduced the Widget Factory, which removes most of the boilerplate that is typically associated with managing a widget. Read More…
Advertisement
Suggested Tuts+ Course
JavaScript for PHP Developers$15
Advertisement