jquery

Jquery in Checkbox

I have multiple html checkboxes that all have different names. What I have to do is when it is checked it should disable some radio button that has a different name. I know it can be simply done using jquery. Any help...with a simple example..thanks ...

How to keep header footer size and resize only the main body part?

----------------------------- Header (100%) ----------------------------- Center margin auto | | Desc | |unknown | | | size | 200px | | | | | Image fit | | | | | | A | | | | | | | | ----------------------------- Footer 100% hei...

How to show dropdown expanded automatically so that it displays all the options when page loaded

I have the need to show the DropDown (HTML select element) expanded initially when it is loaded so that all the options in the DropDown are shown. I searched quite a bit, but suprisingly, I did not find an answer to such a simple problem. I am using ASP.NET MVC with jquery. ...

Delaying the reload of a page using jQuery

I need to delaying the reloading of the page. Right now, I have this: $('div.navigation_sorter ul li a.delete').click(function(event){ event.preventDefault(); var li = $(this).closest('li'); $.post('<?php echo site_url('admin/navigation/delete_link');?>', { link: li.attr('id')}, function(d...

ExtJS/jQuery Script to check username and email availability

I am trying to write a script to check the availability of the passed username and email address, using ExtJs or JQuery; and Coldfusion 9 as server language. I have written one script but it's not working as intented. Thanks Vicente ...

jQuery Select and Drag elements with relative and absolute position

I have a select and drag code that works well until in selection is added a position relative div. Here is the code and you can see a working demo at http://jsbin.com/azeli/2 To see the problem just mouse select span 1, span 2 and the nested span 4 $(function() { var selected = $([]), offset = {top:0, left:0}; $("#selectable1").se...

how to make appear and disappear div background color in jquery?

Hi all, I am trying make the background color of a div appear and then disappear like a flash coming and going but without nay success till now. On the click of a div, I am trying to give a flash effect to another div's background color. So far, my jquery knowledge have come to the following code: $("div.first_div").click(fun...

ajaxSubmit enables disabled fields

I have some disabled=true fields, but then I submit a form using ajaxSubmit(), all disabled fields become enabled. What I have to do to keep fields disabled? ...

image column in jqGrid?

Hello All, I want a image column in my jQGrid,I have used a formatter,but doesnot work,please give me the solution for this. my code is as follows: jQuery(document).ready(function() { var TheGrid ; var resp; jQuery("#registerUsers").jqGrid({ url: 'EventsList.aspx', datatype: "js...

Regarding swapping of widgets using jquery in php

Hello all. I have a drag andn drop option to be made for multiple widgets in my website. It should perform swapping, but not sorting of the images. Can you suggest to me any solutions for this, with demo if possible? ...

jquery remove last created element

I need some help with removing some elements from my page with jQuery, currently I have PHP loop that builds links, <?php $findMore = array(); $i = 0; foreach ($backgrounds as $row) : ?> <a id="<?=$i;?>" class="findOutMore" href="<?=$row['backgroundAddress']; ?>">Find Out More</a> <?php $i++; endforeach; ?> ...

jquery extends question

Can someone explain the below, $.myfunc.extend({ gethtml: function (id, access, html, myfunc_change, myfunc_replace) { },.... }); what is extend ,gethtml, myfunc in the code and how is the function accessed Thanks.. ...

Redirecting to a page after post from within ajax

I want to redirect to the action Index, controller Admin after the post from ajax. $.post("/Admin/Create", { inputs: inputs, columnsCount: columnsCount, }); How can I change this code to redirect it to the index page after success? ...

Tile 2 popup windows

Hi all I have struggled with this for a week now and seem to hit walls everywhere I go...so here i am looking for some help with this....hopfuly it is possible. I need to TILE 2 popup windows....dont worry...not annoying ones and they will be at the request of the user ok...to the point. What im trying to is have a link on my site th...

the best way to make a gallery page

hi, Just wondering if someone could tell me the best way to make a gallery page, cos at the moment I'm using images inside the html and as the page and images are getting more the page takes for ever to load, so I'd really appreciate it if you could tell the practice regarding different galleries on one page. thanks ...

Jquery Tablesorter sort same column after update

I have a table which is updated with ajax and after update it if sorted but I need to sort not a fixed column but the same column which was last clicked before update. function tableUpdated() { $(".tablesorter").trigger("update"); //alert($(".tablesorter").sorting); var sorting = [[7, 0]]; $("table").trigger("sorton", [sorting]); } In...

jQuery show/hide different sets of form elements on same hyperlink

I have a form which can have up to 6 children added to it. Therefore there will be 6 sets of the following HTML: <table class="portletTable child" cellpadding="0" cellspacing="0" border="0" summary="Please enter some more details regarding your dependants"> <tr> <th> <label fo...

Jquery ul with many li items seperated to a ul with rest of the li items

Whats up peeps.. lets say i have a ul with 30 li items <ul class="column"> <li>portfolio items 1</li> <li>portfolio items 2</li> ... <li>portfolio items 29</li> <li>portfolio items 30</li> </ul> i need jquery to take li items from 10 into a new ul column and if possible from 20 into a third column so if my ul list had 30 l...

problem regarding transition

How to put transition on a web page? I have tried, but it doesn't worked on internet explorer. how to add transition during opening page? transitions effects like fades,dissolves etc. same as in ppt's ...

Vertically aligning a Div using jQuery to set margin-top

Hi! Can anyone tell me where I am going wrong... I am using the following to vertically align a div by setting the margin-top, using the (window).height. 625 is the height of the Div being centered... This works in Firefox but IE7 doesn't set the margin-top until you resize the browser window. The test site is at http://guylloyd.co....