jquery

Jquery drag /drop and clone

Hi I need to achive this .. I have a set of droppable items ( basically I am droping designs on a apparel ) and I am dropping a clone.. If I don't like the dropped object (designs) - I want to delete that by doing something like hidden . But I am unable to do that. Please help me.. here is the code var clone; $(document...

how to close colorbox within iframe?

i have a page manageGroup.php, where user can also add member to group. I used colorbox to show the addGroupMember.php. Now i need to close that colorbox once i have done submitting the form. javascript i am using in manageGroup.php <script language="javascript" type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="te...

What is the JQuery code for this snippet?

I have a parent page that contains a textarea and a link to open a child window. The child window has another textarea and a button. User enters some text in the textarea in the child window and clicks the button, a javascript gets fired that updates the content of the textarea in the parent window with that of the textarea of the child ...

JQuery :: retrieve values from form elements

Hi, I've wrote a html page wich uses jquery, but javascript execution stops at the following point: alert($('[name=fAantalVakjes]').val()); This is the relevant html tag: <input type="hidden" value="1" id="fAantalVakjes" name="fAantalVakjes" /> Could someone help me please? Thanks in advance, Yvan Edit: full code: function Vali...

Click on any label must execute JQuery function

I have a side-menu with labels under it define the menu-items and are dynamically generated. When user-clicks on any item, following code must execute: $("#label").click( function(event) ){ $.get( "../../phplibraries/productlist.php", { ControlName: 'ulCategoryName', Category: 'Beverages' }, funct...

How to tackle with different behaviour of drop down in FF and IE?

This is in continuation of the Question: http://stackoverflow.com/questions/2099564/how-to-add-tooltip-to-a-drop-down-combobox I am using following script to show the tooltip on drop down jQuery('#myDropDownID').hover(function(e){ var tipX = e.pageX + 12; var tipY = e.pageY + 12; jQuery(...

(jquery/js) - get text from field on keyup, but with delay for further typing

Hey all. I have a form which is submitted remotely when the various elements change. On a search field in particular i'm using a keyup to detect when the text in the field changes. The problem with this is that when someone types "chicken" then the form is submitted seven times, with only the last one counting. What would be better i...

Is there is any Jquery plugin for create complex DOM struture

Is there is any Jquery plugin for create complex DOM struture ? i want to create HTML table through ajax response. table cell contains checkboxes , radio button links html components. also want to handle events like click , onchanges on respected components. ...

I need to use jquery validation with update panel

I need to use jquery validation with update panel but update pannel refresh the validations how this problem can be solved ...

jQuery Validation hiding or tearing down jquery Modal Dialog on submit

Basically when clicking the modal created submit button, and calling jQuery('#FormName').submit(), it will run the validation and then call the method assigned in the submitHandler. After that it is either creating a new modal div or hiding the form, and I don't get why. I have debugged it and noticed that after the method call in th...

Simple modal div in jQuery?

I have tried almost all of the jQuery Modal plkugins I can find on the net but they are all much to bulky for what I need. I dont need all the fancy features, I want to be able to open a div and have the background of the page go transparent grey like the photo below and have my div be on top of it, that is all I need to do so I would l...

Getting clicked label's text using JQuery

I am using JQuery.live() functionality to trap click event of any label in a <div>. But when clicked, I want to get the text of the clicked label. I tried $(this).text, but it displays the entire code. ...

Jquery - save class state for multiple div #'s to a cookie?

Im trying to replicate a UI effect as on http://mcfc.co.uk I have written a script that hides a div on click function and applies a class to a div with the #id corresponding to the div that was clicked, and the reverse. Im new to jquery, how would i save the state of these 'clicked' div's to a cookie to show which were hidden etc?? Than...

jQuery slider problem reaching min and max values

I have a jQuery slider initialized and then dynamically set min max values depeding on the contents of a json-request. Steps av even 100, min a max are recalculated to even hundred, most of the case somewhere between 300 and 4800. The slider values and settings are fine, but when I move the handle I can't get it all the way out to the e...

jquery fade parent if chiled are style display:none

i have divs with class "someclass" each div has chiled divs with class "otherclass" i need to check if the divs with "otherclass" are display:none then fadeout the parent with "someclass" how can i do it every time i click on some checkbox on the page? ...

json jquery grid (using django) - having problems presenting the data

Hi, I'm trying this source where jqGrid gets some json data from django: link Unfortunately the data is not presented in the jqgrid, only an empty jqgrid. I'm rendering the jqgrid with this call: <script type="text/javascript"> $(function () { $.getJSON("{% url myapp.views_json.grid_config %}", function(data){ ...

JQuery Table filter not working using plugin

Hi I have a table and trying to filter using uiTableFilter plugin as given at: http://silverwareconsulting.com/index.cfm/2008/10/2/jquery-autofiltering-table Here is JQuery Function: $("#myTable tbody tr").find("td:eq(" + i + ")").click( function() { clickedText = $(this).text(); FilterText = ((FilterText == clicked...

JQuery sortable connectedlists - validate move?

When sorting between two connected lists, I want to validate the move from one list to the other - BEFORE the move is done. Now, I'm using the 'receive' event, but that's triggered after the element is added to the new list. I need an event that is triggered after mouse goes up, and before element is added to the new list. Any ideas? ...

Any dynamic database frontend tool from which you can update directly?

Hi Gurus, This is with reference to this question where I got one tabular report format. I need to update the user entered values correctly back to the same table rows. I am in the process of doing this by using general form post data methods by using some logics which I think will not be easy to maintain. So, just out of curiosity, Is...

JQUERY href disabling issue

Hi, I'm currently working on a home-made full front-office 100% javascript CMS of ours, and I'm having quite a problem. Some of the editable areas the user can edit are contained in href link. These href's are NOT editable, yet, when the user clicks on these zones (while in edition mode) browser follows these links. First, heres an exam...