jquery

jQuery/WCF Web Application

Are there any VS template/Starter Kit/Any example of an ASP.NET Web Application, which uses jQuery and WCF (JSon), without ASP.NET Web Forms or ASP.NET Ajax, and generates clean code? jQuery and C# for Web. No Web Forms/MVC. Is it actually possible? ...

How do i customize the skin of CKEditor 3.0 (their docs are complicated)

How can i customize the skin for CKEditor 3.0 I downloaded a new skin and i have this js powering it at the moment: CKEDITOR.replace( 'pageBody', { toolbar : [ ['Format'], ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', '-', 'About'] ], }); I hope its simple ...

Is jQuery UI a jQuery Plugin?

Does jQurey UI considered as a jQuery Plugin? Is it possible to use jQuery UI without jQuery? ...

Can I use regular functions with jQuery variables?

$(document).ready(function(){ $("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank"); $("a[target!='_blank'][target!='_top']").click(function(){ $("#actualcontent").load($(this).attr("href")); window.location.hash=$(this).attr("href"); return false; }); }); So I have this code so that my link...

jQuery - fadeOut on Scroll / fadeIn on "scrollstop"

Hi everybody, i am trying to figure something out in jQuery and yes you may see now horrible code but i am not a programming expert ;-) So sorry if it hurts your eyes... But to describe the problem: I have a div positioning working which gets fired by the scroll-event. What happens it that the scroll event gets fired a bunch of times wh...

How to find any string in a page using jQuery.

I'm desperately looking for a jQuery function to parse every string in a page (may be in a table) and replace its content with another one. For example, i want to uppercase any string that is in a table row. Couldn't find any clue on how to get started, would appreciate some starter help. ...

jQuery/Javascript - how to detect that image was re-loaded

Hi, I have a several actions that can be taken on the screen that would cause image to be re-loaded via Ajax call (non-jQuery). I need a way to detect that image has been reloaded so that I can attach event handler to the image again. How can I do this? ...

jqueryui showing hidden tab content on this tab

I have an iframe in a tab with a hidden element, and I want to show the element when the tab is opened. This element (same class) is also under all the tabs, but I only want the element under the current tab to be shown. Here's my non working attempt at it: $("#tabs").tabs({ collapsible: true, show: function(event, ui) { ui.find(...

disable and enable button in jquery after server event

hi, i need to disable the button during the click and need to enable after my server side event is done right now my code looks like this $(document).ready(function(){ $('.saveButton').bind("click", function(e) { $(this).attr("disabled", "true"); return true; //causes the client side script to run. }); }); ...

google reader json image

i'm using json to read shared google reader items. But item not contain image link. only contain [image: imagename] on content field . How can get image url? ...

Inserting a table column with jQuery

I have a table of data that I need to dynamically add a column to. Lets say I have this basic table to start with: <table> <tr><td>cell 1</td><td>cell 2</td><td>cell 3</td></tr> <tr><td>cell 1</td><td>cell 2</td><td>cell 3</td></tr> <tr><td>cell 1</td><td>cell 2</td><td>cell 3</td></tr> </table> I would like to insert a column betw...

listen browser width / height changes with jquery

Hi, I have some divs that are set with position absolute (CSS) when the page is ready, and are positioned relative to another fixed div, wich works fine. However, before the page is loaded and everything is set, if the page is resized, those absolute divs don't follow the changes, moving to other places, wich I think they are given valu...

input boxes in table header not working

I have a problem with a table header containing input boxes. I have similar div's in the rest of the table and they work fine. the div is hidden by default, and is absolutely positioned The table inside the div usually just contains a few columns with a single form element in each column. This would be typical: <a>show editrow</a> <...

jquery serialize post

I have a div with elements below it that I am serializing. I am then posting that data to another page. The problem I have is I want to add something to the post but am unsure how. For example I have this: var tabs_sorted = $("#sortable_tabs").sortable('serialize'); $.post(DOC_ROOT+"helpers/update_tab_position.php", tabs_sorted); It t...

jquery: get descendants of a parent with hiearchy intact.

consider the following example div > h1 > p > a div.children() gives the immediate children which is h1 of course i use find('*') to get all descendants. however, i need div.find( h1 > p > a) not div.find(h1,p,a), which is what the default find('*') is doing: it is simply ignoring the original hiearchy. please note that div can be ...

jqueryui resizable Unable to set iframe as resizable

Hi, I'm trying to use jquery ui resizable with iframe. It simply does not work, I don't see any handles at all. However the class ui-resizable is added. Sample: http://jsbin.com/uyolu Is this normal? How do I fix? Thanks. ...

jquery click even on element inside iframe

How can I attach a click event handler to an element inside an iframe. Here's what I tried and doesn't work: $("#parent iframe").contents().find("a").live("click", function () { alert ("test"); return false; }); Thanks. Edit: the iframe is on the same domain. ...

Modal windows plugin to rails

Hi, I'm starting to digg some rails plugins to create modal forms in rails. Almost all documents that you find are too old (2006,2007) or more focused in php. I would like to create a "feedback" tab that when you click on that, it opens a form. For example, you can check the railscast website, http://railscasts.com/. Ryan Bates made it ...

jqueryui caching resize alsoresize

I'm resizing something inside a tab. I want to also resize a different element in the same tab. However, selecting that element is relatively slow, using :visible to figure out which tab panel is visible, and so on. I want to cache the selection, but how? Does alsoResize even accept an object? // The actual selection is more complex tha...

how to get full descendant hiearchy ?

given a parent, how can i get its descendants so that their hiearchy is kept. parent > des1 > des2 > des3 parent.find('*') simply returns not in order. it gives find('des1, des2. des3') what i expect was find('des1 des2 des3') ...