jQuery UI is the official jQuery user interface library. It provides interactions, widgets, effects, and theming for creating highly interactive web applications.
3
votes
2answers
60 views
Replacing simple jQuery methods for better use
There are a few common jQuery call I find my self calling when creating my app. I need some help and maybe a better way to do all this or rewrite it.
1) Singleton Selector
If I want to select only ...
0
votes
1answer
37 views
Using jquery to prepare jQuery UI tabs, optimize?
I am looking for someone to review my solution to a jQuery DOM manipulation exercise on appendto.com: http://learn.appendto.com/lesson/dom-manipulation-101#exercise
I'm wondering if there is a way I ...
0
votes
1answer
40 views
Roll your own widget factory
So for practice with Javascript, I wrote this lightweight widget factory which is similar in functionality (okay, that's a bit of a stretch) to jQuery's UI Widget factory. I was hoping I could get ...
-1
votes
1answer
46 views
Improve this jquery code
Such as the title, how to make it more clean and improve it.
(from a jquery novice)
$.extend({
misTip : function($tipSettings) {
$tip = $tipSettings.tip ? $tipSettings.tip : '';
$closeTime = ...
3
votes
1answer
125 views
Jquery sortable style function
This is a basic sorting function written in jQuery that moves items in the DOM around to create empty spaces for a droppable(). Since there is so much going on in a droppable over event, i'd love some ...
1
vote
0answers
26 views
Exceptions for control flow
I just wrote the following javascript (jQeury loaded):
var valid, ui;
try {
$.each(this._cache, function() {
$.each(this, function() {
$.each(this, function() {
...
1
vote
1answer
65 views
autocomplete jquery -renderItem- option
$(function() {
function log( message ) {
$( "<div>" ).text( message ).prependTo( "#log" );
$( "#grille" ).scrollTop( 0 );
}
$( "#my_ac" ).autocomplete({
source: ...
0
votes
1answer
31 views
Grab Text storing it in a var then adding html method and adding animation to it
I want to know the correct way to finish up this code at the bottom. I'm thinking there has to be a better way to grab content from one section of your site and displaying it somewhere else with ...
2
votes
1answer
35 views
Multi jQuery Sliders, Help me write this in better code
I have three sliders with different min, max values, everything is working fine from following the tutorials on the jQuery UI website.
$("#yield").slider({
range: true,
min: 15.2,
max: ...
0
votes
0answers
67 views
jQuery ui draggable-sortable List, used to Create a Gui Sql Crud-Capble Data-Driven Website application
in this JsFiddle (the link below, it's also my first JsFiddle setup , great tool!),
I am trying to implement a new jQuery ui : draggable, droppable and sortable list , so this gui will be the ...
2
votes
1answer
244 views
jQuery Toggle Animation / Can This Be Condensed?
I have the following script: JSFIDDLE
As you can see, when you click open - a div slides out. If you click on the new div, an additional div slides out from under it. This is working great, but I ...
0
votes
0answers
70 views
What could make this jQuery Plugin Template nicer?
Or is it already well designed? I've used this for a couple years on jobs and it has been great. I love my template (especially since i made it!), but recently i've caught myself giving this great ...
1
vote
1answer
102 views
optimise jquery code
I have written a jquery code for a pop up but the problem is I wanted to optimize the jquery code can you tell me how to optimise it to have a better results in the browser..
it would be great if u ...
2
votes
2answers
132 views
Refactor jquery (coffescript) code with checkboxes
I have two different set of checkboxes. With the coffescript code below I set the maximum amount of checkable items at 3. I would like to refactor this code, to be cleaner and compact, but I can't get ...
0
votes
1answer
218 views
Improving jQuery Login Code
<-----------------------------------JQUERY----------------------------------->
$(function() {
$('button').button();
$('#tabs').tabs();
$('.ui-state-error').hide();
...
3
votes
1answer
131 views
How to improve this JavaScript implementation of a TODO manager?
I was asked to create a TODO manager using JavaScript and CSS.
I did not get a good review on the code nor specific comments on how to improve it.
My implementation:
<html>
<head>
...
4
votes
1answer
2k views
Pie Chart jQuery-UI plugin
I would greatly appreciate the input of any gurus out there. I have recently begun learning JavaScript and then jQuery and jQuery-UI and have thought I would take a stab at writing my own jQuery-UI ...
5
votes
1answer
243 views
Movable Square-Div with Web Sockets, ws module, Node.js, and jQueryUI [closed]
I'm trying to make a simple little program in Node to use as a code base from with to program my whole web app. However, it isn't exactly working as planned because I'm stuck.
I wanted it so that ...
1
vote
0answers
194 views
is the Jq grid for server side binding possible? [closed]
is it possible to do server side binding using jq grid for doing add,delete,update and search operation in C# means data binding of jq grid should be done from server
4
votes
2answers
409 views
Refactor this jQuery datepicker code to be as small as possible
I am using jQuery datepicker on 2 forms on the same page.
I currently am using the following code (below), but as you can see, I am using the same parameters over again (showOn, buttonImage, ...
10
votes
2answers
349 views
Is there a better way to write this jQuery UI effect animation?
I'm writing some code to perform some simple form validation and I would like to display error messages inside the actual relevant textarea by means of a text fadeout/fadein effect.
To achieve this I ...
2
votes
1answer
206 views
How can I simplify/improve this jQuery code & comply with best practices
I'm trying to improve the quality/efficiency of my coding (having only been learning jQuery for a couple of months).
I have a function which loops through all $('.loop-bar')'s and applies a jQueryUI ...
0
votes
0answers
63 views
How to improve this jQuery code? [duplicate]
Possible Duplicate:
How can I simplify/improve this jQuery code & comply with best practices
I'm trying to improve the quality/efficiency of my coding (having only been learning jQuery ...
1
vote
1answer
117 views
can we use of $this in closure for jquery plugin
I tried creating a quick tooltip plugin using the jquery and jquery ui position. Is the way I have used the enclosure are right and is the use of position right since in ff it seem to have some memory ...
1
vote
1answer
288 views
How can I make this Javascript (jQuery, jQuery-UI, AJAX) code better?
There's things I know about Javascript and jQuery, and things I don't. I know that this works, gets and stores what I want so that, when I need to do stuff, I don't have to wait for it. Functionally, ...
1
vote
1answer
434 views
jQuery and cross browser input fields focus handling
I have a form and need to be able to highlight/decorate fields as they gain focus (change their background color, border). I'm also decorating their corresponding 'labels'.
All works fine where it ...
2
votes
1answer
146 views
JQuery UI button and some calculations
I'm using JQuery and Jquery UI (latest versions).
I have a list of checkboxes styled using JQuery UI as buttons. Each have a data-price attributem containing a price in this format: ...
4
votes
1answer
208 views
Organizing page functions and page state using the Module pattern
So I'm developing a webpage using MVC which will be mainly JavaScript driven.
Instead of using global variables, and global functions, I would like to do it right this time. I don't want to use ...
2
votes
2answers
211 views
JQuery UI Widget Programming
Hi, i'm creating chat ui with JQueryUI.
here some code:
$.widget("ui.chatwindow", {
options: {
nickname: "obama";
},
setNickname: function(nick){
var self = this;
...
2
votes
2answers
593 views
JQuery Delay slideDown using Queue
So I have the task to create a function that adds some messages to the page and another to show them in last to first order with a jQuery slideDown() effect.
So i came up with: (jsfiddle)
...
9
votes
3answers
3k 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 ...
4
votes
1answer
6k views
JQuery UI Datepicker with beforeShowDay function
I am relatively new to JavaScript and JQuery. I wanted a Datepicker that has the following functionality:
1) Weekends are not selectable
2) Non working days (bank holidays etc.) are not selectable
3) ...
3
votes
1answer
1k 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 ...
7
votes
1answer
2k 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 ...