jquery

jQuery problem with multi-select

Hi everybody, On my page I have to select option values loaded by a $.post funtion. I have a button to "move" data from one select to the other. The example works in a new page but not in my page not. The elements selected do not move to the other select after the click. The question is there is another way to do it or how can i corr...

Calling multiple jQuery functions in an ASP.NET page

I have a page with three HTML labels and their corresponding ASP.NET gridviews contained within divs. Now while learning jQuery, I am trying to achieve two things: 1. Change the css class of the lables upon mouse hover/out. 2. Slide up/down the grid div upon clicking of the labels. It looks to be working as expected, but I wish to know i...

Best way to make title bounce when a new message is received and tab is inactive?

This is what I have so far, but it's ugly and feels non-best practicey. For example, if multiple messages are received, it starts the changeTitle cycle multiple times. var hasFocus = true; $(window).bind("blur", function() { hasFocus = false; }); $(window).bind("focus", function() { hasFocus = true; document.title = 'SiteN...

How to search in returned json result

I am trying to find away to search in returned json result. the returned result like : {"Result":["Css","java","jquery","asp.net","mvc","javascript","asp","c#"]} I want to get all the words that starts with "j" in an array or another json object. ...

click event not triggered at the first click in jquery

I have a main.php inside which another page (page1.php) is being called embedded in a div. I am dynamically updating the a table in page1 when the page1.php is loaded. Now when I call a function on the click event of the table the funtion is called but the control doesn't enters in the click event of the table which I have called inside...

Pagination problem in jqgrid with array data.

I am facing problem with pagination in jqgrid with array data having 18 records, but the records are not displaying in pages even I specified pagination:true,pager:jQuery('#pager1'). Can you please help me to implement pagination instead of scrolling. <script type="text/javascript"> jQuery("#list4").jqGrid({ datatype: "clientSide", h...

jCarousel + jQuery Accordion + fadeIn

Please check this link www.aboud-creative.com/demos/mckinley3. There I have a jQuery Accordion with jCarousel inside "Developments" section of it. I use standard fadeIn function for the logo, accordion and a stag on the bottom right to fade in on page load. So, When you go to "Developments" section, you will see there are no images shown...

jQuery plugin definition

There's something about the "standard" jQuery plugin definition that I can't seem to understand, and it seems that no plugin tutorial out there explains it. Most plugin definitions I've seen are something like: (function($) { $.extend($.fn, { pluginName: function( options ) ... }); })(jQuery); Now, while I ...

Asp.net js script with jquery problem

Hello! At my asp.net project I use telerik asp.net ajax controls set. so at my masterpage I have. <telerik:RadScriptManager ID="RadScriptManager1" runat="server"/> Also I would like use some jquery functions: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <div class="pnlFind" style="display...

How to add a CSS class to a table row after loading a page in an iframe with Jquery

Hi, I'm loading a form in an iframe (with facebox). When the form is submitted and the page inside the iframe is reload, I would like to add a css class to a specific table-row on the parent page. the table looks like this: <table> <tr id="row-1"><td><a href="">link to open facebox with iframe</a></td></tr> <tr id="row-2"><td></td></t...

How to update the jquery FullCalendar appointment after i have created the event

what is the event or method name that i have to call or handle to update an existing event in the calendar(the event i click on). full calendar can be found here http://arshaw.com/fullcalendar/ ...

Attribute Starts With Selector [name^=value]

I need to match some input fields by name. The name consist of a base name plus squares brackets, so the PHP interpreter converts them to array. According to the jQuery API, I could use the following selector: ":input[name^=foo\\[]" (It's okay to ignore the closing bracket.) However, it won't match any of the elements. Other variation...

How to change date format of a jQuery Date Picker plugin (Jonathan Leighton Input Date)

I am using Jonathan Leighton's Date Picker Plugin (Input Date) URl : http://jonathanleighton.com/projects/date-input The problem is, The selected date is in the format "16 Aug 2010" I want it to be in the format of "2010-08-16" i..e yyyy-mm-dd Also, is it possible to include timings as well.. i..e set both date and time using this plu...

SharePoint Folder QueryOptions Does Not Work With JQuery

The option seems to be ignored when using JQuery. This will only bring back the root folder. Here is my code: <script type="text/javascript"> $(document).ready(function() { var serviceName = "http://win2k3r2ee:90/_vti_bin/lists.asmx"; var postData = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap...

Where to find jstree jquery plugin images?

I'm trying out jstree, the jquery plugin to create a treeview. It works fine, but I can't get some of the inner workings of it. And one (seemingly) simple thing bothers me like crazy: Where do the images for the folder icons etc come from? I mean, even if I don't define a theme there are still default icons for the folders in the result....

Uploading multiple files per field and storing in a db with codeigniter

Hi, I have a form which uploads multiple file fields into a db using codeigniter. I need to be able to upload multiple files for each field. I understand that this could be achieved using some jquery magic, however, my problem is how do I intercept the multiple files and what is the best way to store them in my database? At the minute...

Why is my function not called on click?

<script type="text/javascript"> $('.pp').click(function() { alert(); }); </script> <p class=pp>asdf</p> <p class=pp>asdf</p> <p class=pp>asdf</p> Why the function is not called on click event? It must be very silly and stupid question, but I don'w know what I'm missing. ...

jquery Sortable connectWith calls the update method twice ..

Hi, In the code below the update function gets called twice when an item is moved from list sortable1 to sortable2 .. though i need to call that function only once. $("#sortable1 tbody, #sortable2 tbody").sortable({ connectWith: '.connectedSortable tbody', helper: fixHelper, handle : '.handle', update : function () { ...

How to send/receive json object between JQuery and JSF (Myfaces Tomahawk component library)

I am using JSF(Myfaces Tomahawk component library) and jQuery. All I want is to send json object to jsf bean when i click a button and similarly send a json object(from jsf bean) to page when it's loading. ...

jQuery animation for a hover

Hello I'm trying to animate a logo when you hover over the anchor element. When I hover over the logo, an image needs to go upwards and another one downwards when the first one is done. When the mouse leaves it should the other way around, the current element (2nd) should go upwards and when it's gone the first element should go downwar...