jquery

Failing jQuery ajax call

Hi all. I've just started working with jQuery and love it. I'm having a problem with an ajax call though, and I was wondering if anyone could help me out. Here's my ajax call: //start the ajax $.ajax({ //this is the php file that processes the data and send mail url: "php/login.php", //GET method is used type: "GET", //pas...

jquery plugin for making a slideshow from image urls

The request is a simple one, but is hard to google for. Here are the requirements: I have a JS array with image urls I dont have any backing html I want a decent slideshow plugin to consume this array and give me a slideshow The slideshow supports using keyboard navigation (bonus) So far, ive seen lots of slideshow plugins that requi...

jQuery slideDown erases number of last inserted list item?

Hey all. I have a bit an issue. I have an ordered list with a series of pre-populated list items. <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> </ol> When I add another list item dynamically with jQuery, and slide the element down, it will display the item, but not the number. Resulting in som...

paging and sorting using jquery

Hi all, I want to use paging and sorting using jquery.I want to embed this with jsp/servlets at back end. ...

issues with jQuery plugin TreeView's toggle when unique set to true

Hi, I'm experimenting with TreeView plug-in located here: http://docs.jquery.com/Plugins/Treeview One of the options it has is "unique" - to have only one item expanded at a time. It works very well for display purposes, but then I try to hook in to the TreeView's "toggle" property/event to find out which one exactly was expanded. Wh...

Slider problem for buttons

I am using slider module for sliding the content page. I want change the "next" and "previous" button. When the slider page is loaded, I want to hide the "previous" button. When I click the "next" button, the "previous" button should display, and when I go to the last slide, the "next" button should hide. How can i do this? I am using ...

Horizontal text scroller with length detection javascript/jquery

I am looking for a way to do Horizontal text scrolling that only scrolls ONLY WHEN the text length is longer than the container DIV. Any suggestion how to do that? ...

Usage Quotes in JQuery

Hi, I am using JQuery and cakephp for my application. I have created a select input Element using $(document).ready(function(){ $("#"+<?=$r['Attribute']['id'];?>).each(function() { type= "<?=$r['Attribute']['type'];?>"; attribute_id= "<?=$r['Attribute']['id'];?>"; if(type=="dro...

jquery focus on input

I got one main search field always visible at the site and a login form (by default hidden) only visible if the login button is pushed (this trigger a jQuery toggle function). I have no problem getting the main search field to have focus, but I want the first element in the login form to have focus if visible. In the HTML code, the th...

Jquery cycle overflow problem.

In the jquery.cycle.js file, there is the following code: $.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) { $cont.css('overflow','hidden'); opts.before.push($.fn.cycle.commonReset); var w = $cont.width(); opts.cssFirst = { left: 0 }; opts.cssBefore= { left: -w, top: 0 }; opts.animIn = { left: 0 };...

jquery dialog old values

Hi All, I am using jquery dialog box .It has a problem that it takes old values when i reopen a dialog. Is there any way i can reopen a dialog without having the old values. Can i use modal window instead of dialog? Can anyone give me an example how can i use modal window. Thanks ...

Can I implement a callback with each animation step in jQuery?

I'd like to implement an animation in my site which: needs to update multiple DOM elements. each DOM element has it's own animation path (depends on their position) and still have an easing effect. If I call jQuery's animate() function for each element (with queue: false), it will make each element move slightly out of sync with the ...

CSS background position a:hover rollover, changing other elements?

Hi, You know when you use the CSS background-position property for rollovers, right? Roll over element 1, the a:hover property changes background to position-x/y Roll over element 2, the a:hover property changes background to position-x/y And so forth. What I need to achieve this time, is: (lets say its 4 list elements we have) Roll...

HTML/CSS Best way rounded corners

Possible Duplicate: What is the best way to create rounded corners using CSS? What is the best way to make rounded corners in div-containers! I need a solution which works in every browser .. what i have tried is jquery corner plugin (don't work in Chrome) CSS tags (don't work in IE) Is the only working solution (for every b...

Web browser: Hide mouse cursor

Is it possible to hide the mouse cursor in a web browser? I've done this in Flash for a touch screen application, where a mouse cursor is distracting and unneeded. This time it's for a display screen that is non-interactive, so a mouse cursor is not needed. My gut feeling is there's no easy way to achieve this in the web browser, only ...

Unterminated String Literal in JQuery

Hi, I have used cakePhp Form->input to create a Dropdown box inside JQuery using $('<?php echo $form->input($r['Attribute']['label'], array('name'=>$r['Attribute']['label'],'options'=>array(1,2,3)));?>').appendTo("#main #EntrySubmit"); But its showing me the error as Unterminated String literal...Why so??? ...

jquery is not working in IE

hi please try this link for getting my code. its working in all browsers not in IE. thank you carousel ...

processing returned json array in jquery

I have a PHP page that returns a piece of HTML to set the values of a menu. while($employee = mysql_fetch_array($query)) { $employee_menu = $employee_menu . '<option value="'.$employee['id'].'">'.$employee['first'].' '.$employee['last'].'</option>'; } echo json_encode ($employee_menu); Then update it with jqu...

jQuery UI and using/not using themes

We're using jQuery UI Tabs at the top of the page (with no themes, using our own styles in the screen.css file) and using jQuery UI Datepicker later on down the page. We want to use a jQuery Theme for the Datepicker, but we want to use our own styles for the Tabs. But as soon as we include the Themes, it (obviously) styles both complete...

Is IE supports JQuery

hi i have a carousel code which is not working in all browsers not in IE (even IE+6). find the code mycarouselcode ...