jquery

jquery disable a button for a specific time

i want to disable a button for a specific time. how can i do that? ...

Creating values for HTML post form from JStree checkbox list

I am just starting out with JQuery and Javascript, and adapting a nested set of checkbox inputs to make use of jstree checkbox behaviours. After realising that each item had to be an anchor tag to be recognised by the jstree code, I am now unsure how to generate values from the items for a POST form submission. Previously they were check...

How to completely stop the jQuery UI dialog from opening if the tab is shifted?

Hi, I want to open a jQuery UI dialog box (whose content is loaded via ajax) within a jQuery UI tab. Scenario: I have two tabs in the page. If I click on the overlay link (for the modal dialog) in one tab, and during the loading of the dialog (which is not yet visible - an ajax call is happening), I click on the other tab, I want the ...

Select all options in select

I have a multiple select. How can make, that all options will be selected always? Or how make a selecting all options ob submit. I have only class of select(not ID). ...

A few questions about JavaScript basics - $, "is not a function"

Being fully self-taught without actually reading up on JavaScript (It's my job now, believe it or not) there are a few things I accept but don't understand. The first one is the dollar sign. As far as I use understand it, it's a shortcut to document.getElementById(), but if I log $ and document.getElementById() to console - Only $ retu...

How can I get multi select dropdown box?

I have two dropdown box. 1st box having list of values. When I click add button the selected value from dropdown1 shift to dropdown2. Then when I click "add all" button all the values from list will shift from dropdown1 to dropdown2 through jQuery. Here I am having problem. After add the values from box1 to box2 when I click submit but...

Django - Ajax HttpResponse delay

I have a django view function that calls another function if a condition is true, the function is called as a separate process, the view returns a status variable which shows if the function was called or not, the status is returned to a ajax click event assigned to a button. The problem is that when the function 'do_work' is executed aj...

Draggable has been droppped and cloned, but the clone isn't draggable

Bit of a cryptic title there, hopefully you can help :) When I drag one of the Draggables, it clones itself but doesn't drop on the droppables :( any ideas? My code: <!DOCTYPE HTML> <html> <head> <title>jQi</title> <script type="text/javascript" language="javascript" src="http://code.jquery.com/jquery-1.4.2.mi...

How to get scrollbars showing when when using an accordian in jQuery?

function pageLoad() { $('#accordion h3').click(function() { $(this).next().toggle(); return false; }).next().hide(); <div id="accordion"> <h3><a href="#">Section A</a></h3> <div id="a"> <Ctrl:A id="a" runat="server"></Ctrl:A> </div> <h3><a href="#">Section B</a></h3> <div id="b"> ...

How can I access widget and its functions from other scopes?

I am building custom jquery widgets by extending dialog widget. How can I access widget itself and its functions from button press event function? $.widget("ui.ImageLibrary", $.ui.dialog, { options: { title:'Choose Image', buttons:{ "Ok":function(){ // How can I access _somePrivateFunction here? }, "...

How to see text from one text field in another text field?

Hello all, I have a tricky questian this time...for me anyway.... clarify: i am using a virtual keyboard that has to work on deferent text fields, and deferent pages, every time i click on a text field it sould pop up and every key i press i need to show on the text field....the problem, as every one knows, is to bind a deferent text f...

Calling simple web service (.asmx file) from AJAX and JQuery using JSON - parse error

Hi all, Making my first steps in trying to use all these technologies together.. I'm having some toubles.. Here is my Server side: [WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string simplestMethod() { return "Simplest method returned"; } And here is my client side: $(document).rea...

MultiColumn HTML List Box

Is it possible to create a List Box, with List Items in Multiple Columns? I am aware of the alternatives, but I am wondering if this is possible in <select> ...

touchmove events

I am using mousemove events to change the background color of the text $("span").mousemove(function(){ $(this).css("background-color","yellow"); }); but when I tried it with touchmove event for iPhone application, it was highlighting the first span tag, but not sequentially. ...

JQuery: multiple-select operation

Hi Everyone, Does JQuery library, a method that can easily make a multiple-select operation? Or is there example? Thanks in advance. ...

How can I create a "grid" layout where everyone knows their neighbour?

Hey there guys, I was wondering what the easiest way to create a grid-layout in Javascript/jQuery that will allow each "node" to talk to their nearest neighbours (up, down, left and right). Does anyone have an idea?! :) ...

[Jquery] How queque sending data via POST ?

Welcome, I have question. On my website i have form what allow user to submit data via POST (ajax). The problem is, when user submit field, ajax start request... if server is free, or user network is fast everything work very smooth. User can send messages very fast, and everything working. But if server is overloaded or user have slo...

Library/script for creating a training/guide mode for web appliction

I'm looking for a js library or jquery plugin that helps me to create training/guide mode for web application. Best example I know of training/try now mode is Atlassian JIRA one. ...

jQuery Date Picker

I am using following attached date picker. http://rapidshare.com/files/417385026/jQuery_Date_Picker.zip http://www.2shared.com/file/d2NK63P-/jQuery_Date_Picker.html Problem is if i don't use font-size tag in the body of the HTML page date picker size becomes too big . I tried using Font-size tag with the div/table/td inside which i put...

jquery validate

I've this jquery code, loading a remote page with a parameter from an input text form $(document).ready(function() { $('form').submit(function() { $('#result').load("/api.php", { 'url': $("input:text[name=url]").val() }); }); }); I need to validate the input text, that is a url. How can I use the...