[jQuery] Add class on click, then remove when click another, and add to that.

2008-06-25 Thread hubbs
I have a list of links, and when one is clicked, I would like a class to be added. I understand how to do this, but when you click another link, I would like the class removed from the first click and added to the second click, and so on, so that there is always only one link with the class appli

[jQuery] Using "this" with jQuery

2008-06-25 Thread hubbs
I have a listing of items, each of which has a transparent "cover" over each item, but when you mouse over the item, the transparency hides, and shows full color item, then on mouseout the "cover" is added again. This works fine if I use IDs, but I want to get away from this, as I am not always s

[jQuery] Re: Select option name attribute

2008-06-25 Thread RobG
On Jun 26, 1:08 pm, Brad <[EMAIL PROTECTED]> wrote: > On Jun 25, 6:03 pm, Chas <[EMAIL PROTECTED]> wrote: > > > How do I retrieve the name attribute of a selected option using > > jquery. > > > IE: > > > > > Text > > Text 2 > > > > > In this example, I would be trying to get 12 when the "Text"

[jQuery] submitting a form by pressing enter

2008-06-25 Thread [EMAIL PROTECTED]
Hi, I have a form, with id="myForm", with a number of text fields (input with type="text"). How do I cause a form submission by pressing enter in any of those form fields? Thanks, - Dave

[jQuery] Re: Select option name attribute

2008-06-25 Thread Brad
Your options should have "value" attributes and not "name". Text Text 2 Try something like $("textselectoroption:selected").val(); On Jun 25, 6:03 pm, Chas <[EMAIL PROTECTED]> wrote: > How do I retrieve the name attribute of a selected option using > jquery. > > IE: > > > Text > Text 2 > >

[jQuery] Cycle Plugin - how to animate/transition of the pager nav

2008-06-25 Thread Andy Ford
I'm using jQuery with the pager and pagerAnchorBuilder functionality to generate the navigation into an ordered list. My slides (#slides) are fading in and out beautifully, but I'd also like to add transitions to the pager nav (#navSlides) as well. For this particular project, the slides themsel

[jQuery] select option name attribute

2008-06-25 Thread chasryder
How do I retrieve the name attribute of a selected option using jquery. IE: Text Text 2 In this example, I would be trying to get 12 when the "Text" option is selected. -- View this message in context: http://www.nabble.com/select-option-name-attribute-tp18124157s27240p18124157.html Sen

[jQuery] Re: Load specific id on click

2008-06-25 Thread Ischa Gast
Damn, I thought it works on Firefox/Safari/Opera on the mac then it should also work in Internet Explorer, but is does not :( On Wed, Jun 25, 2008 at 11:56 AM, Doover <[EMAIL PROTECTED]> wrote: > > Thank you so much for this! :) > > On May 29, 11:48 pm, IschaGast <[EMAIL PROTECTED]> wrote: > > Af

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-25 Thread TonyB
I was able to fix by own bug. I commented out like 899 ($self.blur();) and added a return true after line 901. That makes it so if you hit tab while at the end of the tree the tab will bubble up to the browser which will move focus to the next item. I tested in IE7 and FF4 and it works great.

[jQuery] Transversing ul and manipulating

2008-06-25 Thread arandlett
I have a ul with sub ul. I want to grab just the li items and copy then make one long ul. They say i had 30 li items. I would like to take first 10 and make a ul then second 10 and make ul and third 10 and make ul. I tried to do it like this but it also grabs the sub ul not just the sub ul li'

[jQuery] Select option name attribute

2008-06-25 Thread Chas
How do I retrieve the name attribute of a selected option using jquery. IE: Text Text 2 In this example, I would be trying to get 12 when the "Text" option is selected.

[jQuery] php with javascript...jquery...

2008-06-25 Thread Aaron
Hi I have a question. Is it possible to use php with javascript and even jquery? I want to make an if and then statment in php where it checks the database if their is a photo/image present or not, if not then a table that supposed to show the image would not be visiable if their is a image then

[jQuery] slideToggle() giving a noticeable "skip" or "bump" when revealing/hiding div

2008-06-25 Thread jaredh123
I have a test page showing my issue here: http://www.professionalphotographertheme.com/demo2/ Click on the "5 Comments" tab, and you can see it. It's even more obvious if you click it again to toggle it closed again. I slowed down the effect significantly to make it easier to see. I'm certai

[jQuery] Re: A Pluggable jQuery Extension Architecture

2008-06-25 Thread Scott
YIKES! That really looks like crap. I swear I tested it but must have changed something without re-testing. Makes it appear like it's amateur night. Thanks for the heads up. On Jun 25, 6:42 am, "C.Everson" <[EMAIL PROTECTED]> wrote: > On Tue, 24 Jun 2008 21:48:42 -0700 (PDT), Scott wrote: > > You

[jQuery] select option name attribute

2008-06-25 Thread chasryder
How do I retrieve the name attribute of a selected option using jquery. IE: Text Text 2 In this example, I would be trying to get 12 when the "Text" option is selected. -- View this message in context: http://www.nabble.com/select-option-name-attribute-tp18124154s27240p18124154.html Sen

[jQuery] Problems with jQuery click functions embedded in AjaxSubmit Form Results

2008-06-25 Thread Adam
Hi, I have a page which shows data for the next 5 weekdays. It has two buttons which submit via JQuery AjaxSubmit to move the page back and forward days. This works fine. However, the details for each day can be collapsed via a button that is in the results for each day, i.e. name1 [+]day

[jQuery] getJSON callback not executing

2008-06-25 Thread wellmoon
Hi, I have a PHP script that returns a JSON object with one property and one value. If I use the PHP file on my local web server the following code works: $.getJSON("myphpfile.php", callback); function callback(data) { alert(data.prop); } This produces the alert which contains the correct da

[jQuery] Re: how to popup a login box without leaving the current page?

2008-06-25 Thread [EMAIL PROTECTED]
thanks! On Jun 25, 4:03 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Here are some to check out: > > search for 'modal' on > plugins.jquery.com:http://plugins.jquery.com/search/node/modal+type%3Aproject_project > > 'Windows & Overlays' category on > plugins.jquery.com:http://plugins.jque

[jQuery] Re: [validate] automatically clear error messages when pass validation rule?

2008-06-25 Thread Josh Joy
Ok, I have attached a sample html. It seems that using tables is causing some confusion? I'm not sure. Hope you can pinpoint what I'm doing wrong. Note I'm using spring so it does the data object binding for me which is the reason for the name. I changed the id to "password" cuz I was figuring

[jQuery] Re: Noob Question: Using Selectors after ajax load

2008-06-25 Thread aldomatic
Take a look at http://brandonaaron.net/docs/livequery/ On Jun 25, 12:22 pm, Eric <[EMAIL PROTECTED]> wrote: > I  am sure this has been answered before, but I could not find it. > > I click on a link which loads a second page into a div using the load > function > > $(document).ready( >          

[jQuery] Re: jQuery Doing Comet

2008-06-25 Thread EllisGL
Here's the XHTTP version: This version is not so memory friendly. Any help getting the memory usage down would be great. index.html http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd"> http://www.w3.org/1999/xhtml";> jQuery Comet demo http://ajax.googleapis.com/ajax/ libs/jquery/

[jQuery] Re: Can anyone help me with this Superfish problem?

2008-06-25 Thread Adam Weis
Delic, Two things I noticed just glancing at your page - 1. your No Conlict function is placed inside a inside of another