jquery

Any APIs or tools available to make web page tables highly configurable?

I am in the process of designing a financial web page (using Java, Wicket, JQuery..) where one of the page has around 5 tables and each table has around 10-15 columns. These columns should be highly configurable that means some clients want to view/hide selected columns or some clients may want to see column name as different from other ...

ted devito datepicker question

I can't figure out how to change the format for this and there is nothing really in the sparse documentation, which I find bizarre since it is surely one of the most important things when dealing with date inputs. I have: <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#event_start").simpleDatepicker(); })...

jquery cluetip breaks when loaded more than once

I am using the jQuery cluetip plugin in a portal environment where there can be more than one instance of a portlet on a portal page. Each portlet is its own app, so it really knows nothing about the other portlets. Each portlet needs to use the cluetip plugin, so it is loading it when it needs it. The problem is that, when the cluetip s...

Rotate li items with jquery...

Hi all, I have a UL list like: <ul> <li>menu1</li> <li>menu2</li> <li>menu3</li> <li>menu4</li> <li>menu5</li> </ul> I want to use this list as a animated JQuery menu. Setup in such a way that if a user clicks menu3 it becomes the first item in the list as menu1 and menu2 get appended to the end. So after clicking on menu3...

Cookies and javascript navigation (tabs)

I have a navigation tabs and when user clicks a tab the div changes with ajax. I would like to it to remember on what tab user was when user changes page. I havent done the tab navigation and im totally new to javascript/jquery. Here is the javascript for the tabs: jQuery('#contentContainer #tabNavi .nav-item').each(function(i, item) {...

How do i refresh the page in Jquery when the dialog Modal is closed

I have some set of values updated in the modal and the modal is opened on the same page . on closing the Modal How can i refresh the Page in jquery $("#dialog-modal").bind('dialogclose',function() { //How Do i refresh the current Page. )}; ...

inconsistant output from JSON.stringify

Sorry if this is repost but I couldn't find my question after I posted it. I have a rails app that is rendering a json string and storing the same sting in the db. The output from the initial page that receives the output and the page that displays the data from the db have different output. The data and the function to format the data a...

JSF 2.0 Saving dynamic form to a database

Hi, I'm writing an application that serves as an admin panel using JSF 2.0 and Hibernate. I have a JSP page with a JSF form which elements are added dynamically using javascript (jQuery to be specific). So I cannot make any assumption on how much data do I have to process. I have a managed bean but I don't know how to put the getters and...

positioning pager buttons in jquery cycle

Hello, I am using the jquery cycle on a new website and am having trouble positioning the pager element. Here is the url: http://www.rockymountainsports.ca/web/layout.html in the jquery the #nav element is defined with .before(element) I can change the .before to .after and it positions it about 300px below the box. I would like for t...

JQuery grid with detail tables

I have a grid that is currently using Telerik Grids, I would like to convert this to using all Jquery with JSON. I would like to know what is the best tool to use. FlexiGrid and jQgrid are the top ones on my list although I can not find any examples with FlexiGrid having nested tables (detail tables), which is a must. My question is, wh...

How do I pull in data with an ajax request

I am using this jquery ui autocomplete but i need to grab the data from a json object every keystroke and put it in the dropdown as the user types. But the example uses just an array <script type="text/javascript"> $(function() { var availableTags = ["ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "Co...

JQuery - Browse <img> which are child of a specified div

hello. i have a div, and i'll browse each elements child of this div. html page : <div class="articleviewphoto1"> <div class="articleviewphoto1small"> <a href="#" onClick="loadPhoto('53')"><img src="./articles/photos/1284393671790/1284393671790-1.jpg" class="photoartsb" id="53" /></a> </div> <div class="articl...

Using Jquery to pull data from checkboxes

I am fairly new to Jquery and javascript and have jumped in head first and am a bit stuck. I have a page where clicking a button opens a small overlay via an AJAX call that then gives a whole bunch of checkboxes for users to choose what tags they want to associate with the keywords. I'm then trying to process the checkboxes via another ...

Jquery vs PHP - load an image into a div

Hi. i'm looking for a php script server side that load an image in a div on client side. first shot : ajax.php if((isset($_POST['id'])) && ($_POST['id']=="loadphoto") && (ctype_digit($_POST['idp']))) { $query=mysql_query("SELECT articleid, photoid FROM articles_photos WHERE id='".$_POST['idp']."'", $mydb); if(mysql_num_rows($qu...

Toggle with jQuery

Greetings everyone! I want to know if its possible to find out if a div with id="contentEditDiv" excist AFTER the link i just clicked. My goal is to toggle (remove) only the ajax thats been loaded and inserted after the link. <a href="#" class="contentEditLink" id="1">link 1</a> <a href="#" class="contentEditLink" id="2">link 2</a> <a h...

Why is my jQuery generated dropdown not posting back the selected value ?

I think I'm missing something simple, but I'm just not seeing it. I have an ASP.NET MVC app that is dynamically building a dropdown based on the value of another dropdown. The dropdown list is being populated correctly but when the form posts back the value of the combo isn't posted back for some reason. $(document).ready(funct...

How can I display a banner on a web page to notify the logged in user they have a new message?

I've been tasked with adding functionality to an existing ASP.net Form Application. Users are authenticated when they log in. I've been asked to program the application so that when the user logs in, they see a special message notifying them that they have a new message(s). I think that StackOverflow implements this functionality extr...

JqGrid add button to advanced search dialog

I'd like to add the ability to save a complex query built up in the advanced search dialog. Saving the generated SQL is no problem, but I'm not sure how to add buttons to the advanced search query dialog to give users the options of saving / loading a query. Any advice would be appreciated. ...

Using AJAX to load an MVC user control inside of a jquery tab inside of a jquery dialog (C# Inside)

I have an index page for listing products. From this page I would like to be able to open a dialog with the following tabs. Edit/Create Product, Product Images, and a tab for Brands. The brands tab isn't specific to the product being edited/created, and doesn't require being passed an ID. I have everything broken up into the following pa...

How to change pager text in jquery cycle

I am trying to change the text of the jquery cycle pager element. By default is is 1, 2, 3 etc. I would like to just make a customized name for each one. Here is the url: http://www.rockymountainsports.ca/web/layout.html Any help is great, Thanks ...