[jQuery] How to select all input elements but the button one?
I'm trying to select all input elements but the submit or button. I appreciate the help. Aldo
[jQuery] Re: Adding hover to all table rows (tr) but the first one.
@Dean Landolt: That is a good point, I will take that into consideration. On Jun 26, 3:40 pm, Dean Landolt [EMAIL PROTECTED] wrote: Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Just to expand a little on sheshnjak's point above, if it does sound like it's a header and footer you're trying to differentiate. If that's the case, may I suggest the more semantic thead and tfoot tags? They might come in handy.
[jQuery] Adding hover to all table rows (tr) but the first one.
I'm having a difficult time figuring out how to add a hover effect on all but the first table row (tr). I appreciate anyone's help. Thanks!
[jQuery] Re: Adding hover to all table rows (tr) but the first one.
No I do not mind, I clicked on the wrong reply link. Thanks again! On Jun 26, 1:15 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Hope you don't mind that I'm posting a response to this question on the list. I'd like other people to be able to see the answer as well, just in case someone else might have the same question later on... Instead of using :gt(0) within the selector expression, you can use the slice method -- .slice(1,-1) So it would look like this: $('tr').slice(1, -1).hover(function() { // Stuff to do when the mouse enters the row;}, function() { // Stuff to do when the mouse leaves the row; }); Cheers, --Karl On Jun 26, 2008, at 12:23 PM, Karl Swedberg wrote: Hi, you should be able to do it like so: $('tr:gt(0)').hover(function() { // Stuff to do when the mouse enters the row; }, function() { // Stuff to do when the mouse leaves the row; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 26, 2008, at 11:27 AM, aldomatic wrote: I'm having a difficult time figuring out how to add a hover effect on all but the first table row (tr). I appreciate anyone's help. Thanks!
[jQuery] Re: Noob Question: Using Selectors after ajax load
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( function() { $(.actions a).bind (click, function () { $(#ajax_div).load($(this).attr(href)); return false; } ) $('#SampleCustDue, #SampleCustReq, #SampleVendorReq, #SampleVendorActual, #SampleVendorRec, #SampleCustShip, #SampleCustApprove, #SampleVendorApprove').datepicker(); }); The page that is being loaded has several text fields that I am using the date picker plugin for (#SampleCustDue etc...) The problem is that the selectors are not finding these fields after the page has been loaded in the #ajax_div. My guess is that the page needs to be re-indexed, but I cannot find a function to do that. My other attempt was to create a new $(document).ready() function in the page that was being loaded via ajax, but that never seemed to get called. Any ideas? Thanks in advance!
[jQuery] ajax loaded content and selecting current page show in navigation
So I have an issue, I want to highlight the link which is currently being viewed. The content is loaded via the LOAD method, but when I click on the other links the added class still remains and highlights them all. I want to highlight just the current loaded page and not the others. Here is the script I am working with: $(document).ready(function(){ $(div#header_nav ul li a).click(function(){ //var getTitle = $(this).attr('title'); $('div#contentWrapper').hide('slow',loadContent); var toLoad = $(this).attr('href')+' #contentWrapper'; function loadContent() { $('div#contentWrapper').load(toLoad,'',showNewContent()) } function showNewContent() { $('div#contentWrapper').animate({opacity: 'toggle', height: 'toggle'}); } return false; }); }); The navigation is just an UL list. As you can see i was trying to do an IF statement based on the Title attribute of the links. Any help will be greatly appreciated, I have been at this for a while now. Thanks.
[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown
This is swt! On Jun 18, 10:31 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Awhile back I blogged about a plug-in that my company was planning on releasing called mcDropdown (multicolumn dropdown.) Well, the plug-in was officially released today:http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm If you like the plug-in, feel free to digg it:http://digg.com/programming/Multicolumn_Dropdown_jQuery_Plug_in You can jump directly to the example here:http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm#example In a nutshell, this plug-in creates a tree-like form control. We need a UI control that would allow users to select an option from a large tree of data and this was the end result. I think the overall effect is pretty impressive and I've never seen a UI control like it (especially considering it supports keyboard entry.) -Dan
[jQuery] Firing a jQuery function from loaded content via the load method
Firing a jQuery function from loaded content via load method. It seems to work fine in FF and IE but Safari wont make it happen :( Thanks for the help.
[jQuery] how to redirect an Ajax loaded page to another page...
How do I redirect an Ajax loaded page to another page? The Meta refresh does not work. Anyone? Thanks.
[jQuery] Re: how to redirect an Ajax loaded page to another page...
I found a work around, yes I was asking for some magic :) Thanks though. On May 6, 2:51 pm, Christoph Haas [EMAIL PROTECTED] wrote: On Dienstag, 6. Mai 2008, aldomatic wrote: How do I redirect an Ajax loaded page to another page? The Meta refresh does not work. Anyone? You are expecting too much magic to happen. Unless you handle redirections yourself it won't work. Just fetch the correct URl and you don't need any redirects. Cheers Christoph (yes, I have a real name) -- When you do things right people won't be sure you've done anything at all. signature.asc 1KDownload