jquery-ui

How to submit to the server with JQuery.UI Dialog and ASP.Net?

Hi, I'm looking for a way to submit information captured in a JQuery Dialog to the server in ASP.Net. I originally thought it would work with a 'hidden' asp button, but the click doesn't seem to be submitting the form. Here's the code I have so far: <script type="text/javascript"> jQuery(document).ready(function() { var dlg = jQ...

jQuery UI Dialog and Textarea Focus Issue

I'm working on a modal comment system using jQuery and jQuery UI, but I'm having some issues with focus. I have a series of divs inside the modal to switch between Login and Add comment, as below: <div id="modal" title="Loading"> <div id="modalContent"></div> <div id="modalLogin"> <div class="loginBox"></div> <div class="addComm...

Keep the current Jquery accordion pane open after asp.net postback?

I have a jquery accordion on an asp.net aspx weppage. Inside the panes, I have asp.net buttons. When I click on the button, the pane I was in, closes and reloads the page, defaulting to the first pane. I don't mind the reload, but is there a way to keep the current pane open after the reload. Right now, I am just calling accordion() ...

jquery UI sortable: how to leave the original visible until the drop?

In the standard behavior demonstrated at http://jqueryui.com/demos/sortable/ when you drag an item in the list a placeholder element is displayed where the item would be dropped. However, the original location of the item to be dropped is not indicated. I would like to leave the original location visible until the drop, so that the v...

Jquery postback, maintain same tab after postback

I'm using jquery tab and following js method, how and what can i modify it to maintain state of tab between postbacks? (This resets tabs to first tab after page_load) $(document).ready(function() { //When page loads... $(".tab_content").hide(); //Hide all content $("ul.tabs li:first").addClass("active").show(); ...

Get the active index of the jquery accordion pane from asp.net on the server-side?

How can I get the active index of the jquery accordion pane when a button is clicked? What I want to do is when a button is clicked in pane 3 for example, I want to store that value and when the page is reloaded, I want pane 3 to remain open. I intially had this in my server side click and when I hard code a value in for paneIndex it w...

jquery UI sortable: how can I change the appearance of the "placeholder" object?

In the example given at http://jqueryui.com/demos/sortable/#placeholder the placeholder is the orange box that appears when you drag any of the items. This element can be tweaked using the placeholder option -- but it only lets you modify the class of the element as described here: http://jqueryui.com/demos/sortable/#options I would li...

selecting a column with jquery-ui selectable

I have a table that represents a physical 12x8 grid. Each <td> contains the text name (A1-H12) of the grid co-ordinate. I've added the jquery-ui selectable interaction to the table. I want users to be able to select an arbitrary set of grid co-ordinates. As well as selecting <td>s I'd like the user to be able to select entire rows and/o...

Javascript/jQuery: does anybody already created a loading fixed div on top 100%:100% of the page with jquery?

Hi all, i used sometimes a 'loading' method with the javascript onload & onunloadbody events.(www.restaurantebarocortico.com) Now i'm learning jQuery, and i used the $(document).ready & $(window).unload to replace the old events, but the unload event isn't working correctly. Does anybody knows another method to call a function on unloa...

How do I themeroll jGrowl

Hello, I am working on building a site and i'm trying to use jquery ui themes for as much of the styling as possible. and the jGrowl site says it can be theme rolled. from the site: Changes in 1.2.2 Notification can now be theme rolled for jQuery UI, special thanks to Jeff Chan! there isn't really any explanation as to ho...

html gets wiped on dialog call

I am using $(selector).dialog(); to call a tag in my html code. When I click on the link that sends me to this dialog, firebug (a firefox add on) shows that the tag gets erased!! The html code in the tag gets displayed fine the first time, but when the dialog box is closed by the default X in the upper corner, the dialog box won't re...

onclick form submit, open jQuery loading image until form submit complete

Hi Team, Can you offer a bit of advice. I am using a hosted SAAS CMS solution that enables you to create basing apps with a web apps system. I have created a form for members to submit a bunch of images and content to their own area. Everything is working great except if the images being submitted via the form are large, it takes ages ...

How do I add datepicker in the add row dialog in jqGrid?

Hi I'm using jqGrid and I'm wondering, how do I add jQueryUI's datepicker to some of the input fields when in the add row dialog? Also how do I check if the input entered are valid? Thanks in advance! ...

jqgrid in MVC not working

Hi Am currently learning how to use jqgrid in Zend MVC structure. Below is my js script. $(function() { //tabs $("#tabs").tabs(); //Accordion $("#accordion").accordion({ header: "h3" }); //place jqgrid in accordian. $("#list1").jqGrid({ url:'/../../artist/index', datatype: "json", colNames:['ID','Artist...

problem with modified jquery ui photo manager

I'm using a modified version of the jquery ui photo manager example on their site. My problem i am having is i want the photo to go to an external link as well as being dragable. How do i do this? i thought it would be as simple as wrapping the image with an tag, but that doesn't work. Any ideas or thoughts? Jquery code i'm using is:...

How do I prevent jQuery from resetting all my CSS?

I have a web application made in ASP.Net. Well, I have a few jquery server controls I made. Well, I just now started to bother with getting a "proper" jquery running with a theme and everything. So I replaced my old default jquery theme with a custom one and such and now everything is completely different. From firebug it says that eve...

jQuery UI - Dialog passing custom effect options to the dialog for show and hide

The Dialog widget in jQuery UI has a hide and show options that you can pass the name of effect you want it to run on show and hide events. some of the events have extra options like { direction: down } for drop or slide effects but I can not find a way to pass these options to the Dialog widget. do you know how to do this? ...

jquery ui datepicker inside asp.net UpdatePanel

Hi. I have a web page, where I'm using a jQuery UI datepicker on an asp.net textbox, which is located inside an UpdatePanel. Here is a description of what I do roughly <script type="text/javascript"> $(document).ready( function() { $(".datepicker").datepicker(); } ); </script> <asp:UpdatePanel ... > ... <asp:TextBox runat=...

Is using a jQuery theme for your entire website wrong?

Hi, I've recently been messing around with jquery(ui) and now I want to add some jquery bits to my personal website. Well, the themes produced by Theme Roller are really awesome, and I'd like my entire website to look like that, not just the few jquery enabled parts. So, is it wrong to use css classes as listed at http://jqueryui.com/doc...

jQuery UI dialog - how to make it not closable?

Hi, I'm trying to use the jQuery dialog as a loading screen for ajax. I have it working very well so far but I'd like the loading screen to be not closable. However it seems the UI dialog doesn't have "closable" as an option? How do you make it non-closable? I tried setting closeText to blank but that didn't do anything. The little 'X' ...