jquery

submit multiple forms to same page

I have three forms on a page. They each have multiple inputs including files. I would like so that when I submit the last form, the inputs for all three forms are sent to the POST data for the action location. I can jQuery if necessary. ...

Problem with jquery fade images and menu drop down

hi I have a small problem when im working with a menu and a list of images that change with jquery, my problem is that when I'm on the menu the submenu that is lost in the list of images. here leave the example http://www.wowweedesign.com/problem/ Thanks in advance ...

jQuery events and .load()

Hi All Never ran into this problem with jQuery before. I have the following: $(document).ready(function() { $('#browser_cat a').click( function() { $('#browser_cat').hide(); $('#browser_cat').load('/api/browser/catchildren/'+$(this).attr('id')); $('#browser_cat').fadeIn(); return(false); }) }); ...

using jQuery to reload entire page

Can I use jQuery.load() or and other jQuery function to load the entire page? Edit: I am looking for the ability to include data that the jQuery functions offer. ...

turn serialized form into invisible form and submit

How can I take a serialized form array and create an invisible form and then submit it using jQuery? ...

How to scroll to top of a div using jquery?

I have a gridview inside a div... I want to scroll to top of the div from the bottom of the div using jquery... Any suggestion.... <div id="GridDiv"> // gridview inside... </div> My gridview will have custom pagination generated linkbuttons in it... I will scroll to top of the div from the bottom on the link button click ... protecte...

Stumped on JS Tree... how to get the ID of currently selected <LI> ??

I wish JStree had more examples of peforming AJAX actions when deleting a node, etc. Like how does it transfer the ID of selected node and pass that as a parameter? Spent a few hours and can't figure this one out. <li id="10" class="open"><a style="" class="clicked" href="#"><ins>&nbsp;</ins>fff</a> </li> <li id="1" class="open"><a hre...

Tinyeditor + using jquery to update

Hello, I tried to use Tinyeditor (works without js libaries)... http://www.leigeber.com/2010/02/javascript-wysiwyg-editor/ The problem i have now is... there isn't a docu on their website how to implement it to a CMS. After pressing the submit, it seems that the iframe does not send the changes to the textarea. On comments area the t...

How to set calendar on popup text box

Work on Asp.net VS 08 C#. Want to use jquery calendar on popup text box .If i use my syntax out side the popupn div than it's work .Why it's not work on popup div.How to use it? Popup div <div id="divEditCustomerDlgContainer"> <div id="divEditCustomer" style="display: none"> <asp:UpdatePanel ID="upnlEditCustomer" ru...

jcarousel, I need :active state on external controls

I am running a Jcarousel and I want to add a.active to the current pagination option. I have seen other posts around about this same thing. /** * We use the initCallback callback * to assign functionality to the controls */ function mycarousel_initCallback(carousel) { jQuery('.jcarousel-control a').bind('cli...

Global event if a jQuery selection returns no elements?

Is there any way to globally monitor or listen to if a selection is made in jQuery and it returns no elements? E.g.: You have a page with: <div id=”some-id”></div> And in a JavaScript someone tries to get the element but mistypes the id: $(“#someid”) Is there any way to globally handle when a jQuery selection returns no elements? ...

Saving array of objects with jQuery AJAX and PHP?

Hi I'm using fullcalendar, jQuery and CakePHP. When using the clientEvents function I get all of the calendar events in an array of objects. I then pass that array to an action via jQuery's $.ajax of type post. But when I inspect the post data I get something like: Array ( [undefined] => undefined ) What seems to be the problem? ...

What is wrong with this jquery function?

I am using jquery to scroll to an anchor.... It works fine with a html button calling the function... But when i call it from server side i get the id but it doesn't seem to work for me... LinkButton lb1 = (LinkButton)sender; ScriptManager.RegisterClientScriptBlock(lb1, typeof(LinkButton), "scroll","goToByScroll('myAnchor')", true); ...

jquery desktop blocking input and textarea

I'm trying to modify this: jquery desktop by adding a input field inside one of the windows. However, I can't type anything into the input. I opened firebug and the classes are flashing when I click the text input so I'm guessing that's what's blocking it. But I don't know how to fix this. Any help is appreciated. ...

jquery show div next to link tag

Can someone please help? I'm new to jquery and I'm stuck on something that seems too simple. Sorry if this is a repost but I couldn't find what I was looking for. I have 2 links on a page and as you hover over one of the links, you show a corresponding div next to the link. Like a dialog popup. Heres what I have, please let me know ...

Prevent overlapping events in jQuery FullCalendar?

Hi is there a way to prevent overlapping events in jQuery FullCalendar? Thanks in advance! ...

jQuery make loaded file part of DOM

I've loaded file in div $("#div").load("file.txt"); That file has html images . I want to access them by $('#div>img') (or other selectors), but nothing happens. If they were in page initially, there are no problems. How can you access loaded content by jQuery as part of the usual page? ...

jQuery Method to select the contents of a whole page

How can I select the contents of the whole page using jQuery for later to be copied to clipboard and hence another WYSIWYG. The case is: $("#SelectAll").click(function(){ //CODE TO SELECT ALL THE CONTENTS OF THE CURRENT PAGE /* PS: $("body").focus(); $("body").select(); //doesn't work */ }); Any help is appreciated. Thanks FOUND T...

jQuery: selecting grandparents

is there a better way to select grandparents elements in jquery in order to avoid this ? $(this).parent().parent().parent().parent().parent().children(".title, .meta").fadeIn("fast"); thanks ...

Jquery ui sortable (Empty-list ) example...

I am creating a interface where user can interact with the given options. I am using Jquery UI sortable Empty-list for that. What's the requirement:-- Suppose there is a table having two columns having some number of rows(>0). Now i need this Empty-list in every row.(I dont need this middle one shown in the demo ie non-drop-able) Only ...