jquery-ui

Retaining of page using pagination in jQuery after performing few actions on the page

Hi, I am using JQuery for pagination. I have a button in that page, when clicked information is stored in back end and the page gets refreshed. But after refreshing i am able to see the first page of pagination and not the page in which I ckicked. ...

JS/jQuery: How can I select the first LI item of an UL navigation when hovering over another (lower) LI element?

Hello again. I am trying to make a navigation that uses simple unordered lists to list all the links. Basic stuff. However the first LI element has a class name of "section-title". following this 'section-title' are the links to the other pages. Now i would like to change the background color of the li.section-title to black while hove...

jQuery UI slider - can't slide to 0

jQuery 1.3.2 / jQueryUI 1.7 / Slider $("#slider").slider({ range: "min", min: 0, max: 40, value: 0, slide: function(event, ui) { CalculateOrder(event, ui); } }); it starts off just fine, but after I move the slider I can't get it back to 0, ui.Value is 1 when i slide it all the way to the left. I've tried setting m...

using jquery-ui

Hi, I'm trying to pop a simple datepicker but can't or I don't know what reason. here's my code: <!DOCTYPE html> <html> <script type="text/javascript" src="jquery/jquery.js"> </script> <link type="text/css" href="css/smoothness/jquery.css" rel="Stylesheet" /> <script type="text/javascript" src="jquery/jquery-ui.js"> </script> <scrip...

jQuery UI Dialog Issue With IE

I am using the new jQuery 1.3.2 and jQuery-ui-1.7 libraries along with the UI Dialog. I have a div tag with several form elements (textbox, checkbox, etc.) in it. Upon page load, jQuery shows the div as a dialog. This works absolutely fine in FF, but in IE, the height of the div is wrong. It is just showing the title bar a bit of t...

JQuery draggable divs

I have an application whose interface is based around a typical OS user interface with draggable tabs. I want to make the tabs act like windows in an OS in the way that the last clicked tab/window appears 'on top' of any other windows. I know this has to do with the z-index of the elements. Here is a simplified version of the code: ...

Why does the function run when there are no elements found?

I have the following code, however if the input.formdate is not found it will still run the getDateFormat function. This doesn't make sense to me. Does anyone know the reason? $(function() { $("input.formdate").datepicker({ changeMonth: true, changeYear: true, dateFormat: getDateFormat() }); }); function getDateF...

How do I make a textarea draggable? (i.e. inhibit text selection, but allow cursor positioning)

I have a textarea that I've set to draggable, but it's not... The browsers I've tested (FireFox 3 and Safari 3 on OS X) think I'm trying to select the text inside the textarea (even when there is none). I would like to allow for clicking inside the textarea to position the cursor for editing, but a dragging movement should be handled by...

JqueryUI show highlighting wrong cell

I'm using Jquery to add a row to the end of a table, that works fine. I want to use the JqueryUI highlight method to highlight the row whenit gets added. It works, but its not highlighting the new row, but the one above it. I'm guessing this is because i'm using the .after function to add the new row. How can I make it highlight the righ...

jQuery Accordion and loading content through AJAX

I would like to load the content under each jQuery accordion header using the jQuery load command. Currently, I have set this up as the following $(function() { $("#accordion").accordion({ header: "h2", active: false }); $("h2", "#accordion").click(function(e) { var contentDi...

Jquery UI accordion question - how would you approach this?

I am using jquery UI accordion control in one of my apps asp.net apps. The data for the accordion comes from a database, and each database record has an ID, a Title Field and a content field. The title is the heading, and the content is the data that shows up when the draw is opened... I'd like to be able to call my page like this: htt...

Jquery UI Tabs & jcarousel conflicting in IE

I've both the UI Tabs & jcarousel plugin in my webpage, all works good in all browsers apart from IE where i assume there's some sort of confliction as if i take out the jcarousel JS then the tabs works fine. Has anyone got any suggestion on this issue or how to fix it? Thanks <script type="text/javascript"> $(document).ready(function...

jQuery-UI Theming - CSS Sizing Differences

When using the jQueryUI samples on the website (theme browser) things look great. But, when I put the code and theme into my application, the sizing is way out of whack (I'm trying to utilize the Redmond theme). Any ideas as to why these samples look so different? In the application I've built, there is only 1 CSS reference which is f...

How to resize the jQuery DatePicker control

I'm using the jQuery DatePicker control for the first time. I've got it working on my form, but it's about twice as big as I would like, and about 1.5 times as big as the demo on the jQuery UI page. Is there some simple setting I'm missing to control the size? Edit: I found a clue, but it opens up new problems. In the CSS file, it state...

How to change the pop-up position of the jQuery DatePicker control

Any idea how to get the DatePicker to appear at the end of the associated text box instead of directly below it? What tends to happen is that the text box is towards the bottom of the page and the DatePicker shifts up to account for it and totally covers the text box. If the user wants to type the date instead of pick it, they can't. I'd...

How do I animate a background color to transparent in jQuery?

I can animate from transparent to color, but when I tell jquery to animate the backgroundColor: 'transparent' it just changes to white. Any idea how to fix this? ...

Firing the JQuery Dialog using an ASP.NET Button?

I have a Page which has a Control on it with 2 textboxes (username and password) and an asp:Button. If the user's membership is going to exipre within 30 days and the button is clicked, I want the JQuery dialog to popup. Inside the JQuery dialog, I have some text and an asp:LinkButton. The link button has an event attached to it, but ...

How to call a client-side method from an asp.net method?

I have the following javascript: <script type="text/javascript"> function showjQueryDialog() { $("#dialog").dialog("open"); } $(document).ready(function() { $("#dialog").dialog({ autoOpen: false, modal: true, buttons: { "Renew Membership": function() { $(this).dialog("close")...

Scrolling a jQuery animation backwards and forwards

I am making a futsal (indoor soccer) coaching application which allows a coach to add players on the screen, set their movement direction (by drawing arrows using HTML5 canvas), and then press 'play' to move all players on the screen. A player is made up of a div with a background image of a player. Animation is being done by using jque...

jQuery UI vs. Scriptaculous ?

Which is better for UI development. Are there any differences between the two UI toolkits? ...