Questions tagged [jquery]

A JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

Filter by
Sorted by
Tagged with
3
votes
1answer
963 views

jQuery Plugin Review - wrapper for jQuery UI's tabs

This is a jQuery plug-in I've created that relies on jQuery UI's tabs plug-in. It adds some framework specific logic when setting up tabs: Fixes a bug in jQuery that appears when an id/class contains ...
5
votes
1answer
9k views

Getting JSON with jQuery and creating lists with click events calling more jQuery and JSON

I have two elements on my page: <ul id="VerticalMenu></ul> <ul id="AccordionMenu"></ul> I'm calling some JSON with jQuery and loading ...
2
votes
1answer
517 views

Ordering cell rows and columns

How can I make this sort faster and better? ...
9
votes
3answers
6k views

Indentation and formatting for chained jQuery methods

Below I have some jQuery code that handles footnotes. My question is actually about the formatting and indentation of the code, so I won't bother trying to explain what the code does beyond that. I'd ...
6
votes
1answer
2k views

jQuery password confirmation

I have built a "reset and confirm password" section on a site. It works great. I just have this suspicion that maybe it isn't the most efficient way. I am relatively new to jQuery but I can usually ...
11
votes
3answers
4k views

Coffeescript beautification and refactoring

As much as I try, I cannot seem to get this Coffeescript code to look beautiful (I'd like to think it is possible). I have tried both Javascript and Coffeescript. Just to be clear, this code works ...
7
votes
1answer
16k views

JQuery UI Datepicker with beforeShowDay function

I am relatively new to JavaScript and JQuery. I wanted a Datepicker that has the following functionality: Weekends are not selectable Non working days (bank holidays etc.) are not selectable The ...
4
votes
2answers
3k views

jQuery plugin to create sticky headers

I've written a plugin that takes a generic approach to creating sticky headers and would like to have the code reviewed. Is this acceptable JavaScript? Demo Page It's my first plugin however and I'...
7
votes
1answer
2k views

Review on my multiple JQuery Slider on a page

I have successfully placed multiple jquery ui slider on a page and its transalation text too. you can check it live on: http://outsourcingnepal.com/projects/jQuery%20slider/ I have my jquery code as :...
5
votes
2answers
376 views

Window-scrolling controller

I generally feel that the pattern I use for development is kind of wrong. I start with simple functionality, then when I realize that some pieces can be reused I usually start to write "scope root ...
2
votes
5answers
2k views

How bad is this jQuery? [closed]

$($(this).parent().parent().parent().parent().parent().parent().children()[0]).html()
15
votes
3answers
724 views

Displaying RSS feeds from Google Feed API as HTML list

What it does is: Reads from a RSS feed using Google Feed API Shows the list in an unordered list How good/bad is the code snippet? ...
7
votes
2answers
287 views

JavaScript portion of regexp tester

I'm quite new to JavaScript, and I'd like a review of the code structure and syntax. It serves this little online regexp test (still a work in progress). The whole code (JavaScript, CSS & HTML) ...
5
votes
1answer
533 views

Creating a tab plugin

I am creating a tab plugin. I want to know if there is a better way of doing this or if what I have is good. It works just fine, but there may be some shortcuts or a more optimized way of ...
14
votes
2answers
2k views

Clickable icon for expanding/collapsing content

The general idea of the code is that I have a + or - icon (".trigger") that is click-able ...
8
votes
1answer
3k views

Looking for improvements on my jQuery-UI tagging widget

I am looking for any possible improvements on this tagging widget. I ask for special attention to be paid to my blur handler in the event of a autocomplete option being specified but any ...
6
votes
2answers
596 views

Basic form validation

Question + Desired Outcome The code below works currently, however I'm not convinced the utilisation of an Array to iterate through numerous non-existent form ...
5
votes
2answers
3k views

Do I always have to return something in an anonymous function?

I have inherited this snippet of jQuery JavaScript and am currently brushing up on my jQuery. NetBeans IDE complains that ...
4
votes
2answers
726 views

Making sure all elements are processed in a JQuery call

I have a piece code similar to below: But I keep having this nagging feeling that there has to be an easier way! Any ideas? ...
13
votes
2answers
3k views

Simple star rating system

I'm working on a simple star rating system, and before I move on to actually "tallying" the votes, which I figure I'll just do with $.ajax, I wanted to make sure ...
3
votes
1answer
678 views

Skin/theme swap

Theme-swap functionality will be done via a better-looking <div> at the top of the page, but for right now, it's just thrown on the button. The theme ...
7
votes
1answer
704 views

Build menu from MS Word XML

I've recently assembled some jQuery that allows a user to build out a bulleted list in MS Word with hyperlinks and turn that into a HTML unordered list. Ideas for uses are website menu systems where ...
16
votes
3answers
1k views

Using a navigation menu to help keep material organized

I'm working on a personal project to keep different snippets/examples/small projects of mine organized. I want to make the most of my page width, so I decided to write a navigation menu that slides ...
7
votes
2answers
473 views

Pagination plugin

This plugin is written in jQuery and is made to support the codeigniter framework. It is an ajax powered table pagination plugin designed to provide only that. You should be able to use almost any ...
29
votes
1answer
409 views

Managing network address information

I'm a developer at a networking company that really has no peers that work above me that I can use for any sort of sounding board for my code, so it's just me. I was wondering if anyone would be ...
11
votes
3answers
408 views

More elegant way to show | hide in jQuery

What is the best way to optimize this jQuery code? ...

1
44 45 46 47
48