[jQuery] Form values getting unsynchronized after ajaxsubmit [validate]

2009-07-23 Thread Anoop kumar V
Hi All, I have a very weird issue that I have been trying to resolve for over a week now with no success in sight. I use jsp to generate a page of regional information. The regions are displayed as clickable blocks. On clicking each block a pop-up form opens up with the corresponding region detai

[jQuery] Re: Remote: Form Not Submitting Until Validation Fails at Least Once

2009-07-23 Thread Jörn Zaefferer
Thats still a lot of code. Can't spot anything wrong with the JS stuff - can you reduce that further? Jörn On Fri, Jul 24, 2009 at 6:54 AM, Field wrote: > > Dupecheck Function > [code] >        function dupeCheck() >        { > >                $request = > strtolower($this->input->get_post('bus

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Kuo Yang, * * *Thanks for your reply.* *I am doing the same thing, but if i am entering any other charecter like ( _ | ) ( ] [ )* *instead of comma, so its considering as a string & after that not able to validate it.* * * *I am writing this kind of functions to validate my multiple email value

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Kuo Yang, * * *Thanks for your reply.* *I am doing the same thing, but if i am entering any other charecter like ( _ | ) ( ] [ )* *instead of comma, so its considering as a string & after that not able to validate it.* * * *I am writing this kind of functions to validate my multiple email value

[jQuery] Re: Remote: Form Not Submitting Until Validation Fails at Least Once

2009-07-23 Thread Field
Dupecheck Function [code] function dupeCheck() { $request = strtolower($this->input->get_post('bus_number',TRUE)); $action = strtolower($this->input->get_post('action',TRUE)); $results = $this->business->getBusinessbyNumber($reque

[jQuery] [Validate] Remote: Form Not Submitting Until Validation Fails at Least Once

2009-07-23 Thread Field
I've got some strange behavior with validation. I'm loading up a form to allow editing of an existing database entry. If I make my changes to the fields, enter in the required "revision comments" and submit, the page does NOT post, it seems to only refresh and empty out all the entries in each of

[jQuery] Re: Listnav initial display of no items?

2009-07-23 Thread Jack Killpatrick
Hmm, it just dawned on me that listnav fires a click internally when it initiates, so this won't work quite like I wrote it out below. Instead of using: var isShowing = false; use: var clicks = 0; and: onClick: function(){ clicks++; if(clicks == 2){ $('#yourUL').

[jQuery] Re: Need help with a custom selector to bind ajax callbacks

2009-07-23 Thread Jules
Opps, Sorry, didn't realise request and settings are not available on ajaxSend and ajaxStop. So, my proposed solution is not working. May be a dumber solution var isFaceBox = true; $(document).ready(function(){ $(document).ajaxSend(function(event){ if(!isFaceBox) { $('body > div.

[jQuery] Re: [validate]

2009-07-23 Thread Jules
Validation is triggerd by 4 events that are active by default: Submit KeyUp Change Click -- for check box and radio button To prevent KeyDown and LostFocus validation use the following options onkeyup:false, onfocusout:false, onclick:false This information is available on the validate options d

[jQuery] Re: Using data(name,value) to store additional information

2009-07-23 Thread Karl Swedberg
One way to retrieve them is to use the .filter() method with a function. for example: $('div').filter(function() { return $(this).data('foo') == 'bar'; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 21, 2009, at 11:29 AM, Basdub wrote: I wan

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread RobG
On Jul 24, 3:20 am, sleepwalker wrote: > Eric you rock that's what I'm talking about!! Beautiful code man > thanks so much. > Learning is fun. Don't confuse less with better, it is often slower to execute and harder to maintain. The code I posted could be written as: function setButtonClass(

[jQuery] Re: [Plugins] looking for "iPhone contacts shortcut"

2009-07-23 Thread Jack Killpatrick
this was posted to the list not long ago: http://scott.sauyet.com/Javascript/Demo/2009-06-06a/ perhaps of interest. - Jack macsig wrote: Hello guys, I have a long list or product names and in order to speed up the research I'd like to have the alphabet letters on one side and when the user p

[jQuery] Re: Listnav initial display of no items?

2009-07-23 Thread Jack Killpatrick
Hi, I'm assuming the little treasure is the plugin? ;-) Thanks, glad you like it. There's nothing built into the plugin that will hide the full list (it's wired to show the first available letter unless you specify a letter to show), but here's a workaround that might do the trick for you:

[jQuery] Superfish Problem

2009-07-23 Thread GraphicsUNC
Hello! This is a great extension and I have it so that it uses the cssfrom the template I'm using. However, the drop down menu pushes down the main content below insteadof hovering over or poping up. Here is the link - when you scroll over "About Us" or "Services" you will see what it does. Plea

[jQuery] Re: jquery cookie text resizer

2009-07-23 Thread Magnificent
That was it! And it makes total sense - thanks much for the extra set of eyes, you rock! On Jul 23, 5:22 pm, James wrote: > Inside the textResize() function, on the first line try adding: > level = parseInt(level); > > I'm thinking when you're manually calling textResize, you're doing > somethi

[jQuery] Re: jquery cookie text resizer

2009-07-23 Thread James
Inside the textResize() function, on the first line try adding: level = parseInt(level); I'm thinking when you're manually calling textResize, you're doing something like: textResize(3); But when you're doing it through the cookie, it's not an Integer, it's a String: textResize("3"); Your switc

[jQuery] Re: Detect ajax with file uploads

2009-07-23 Thread James
Are you sure it doesn't receive the HTTP_X_REQUESTED_WITH header? It should be sent by jQuery. Which Browser/OS and jQuery version are you using? Have you tried using Firebug to check if the X_REQUESTED_WITH header is being sent? On Jul 23, 9:50 am, Lito wrote: > Hi! I'm developing a framework t

[jQuery] Re: Need help with a custom selector to bind ajax callbacks

2009-07-23 Thread Jules
Can't you check the settings.url? $(document).ready(function(){ $(document).ajaxSend(function(event, request, settings){ if(settings.url != 'faceboxurl') // replace faceboxurl with the real url { $('body > div.container').fadeTo('normal', 0.33); $('#loading').show(); } });

[jQuery] Re: GPL version of jQuery

2009-07-23 Thread Michael Geary
You don't need to worry about that at all. jQuery is also licensed under the MIT license, a much more liberal license than GPL. Simply use jQuery under the MIT license, not the GPL. That makes it fully compatible with any version of GPL you want to use for the rest of your code. More info here:

[jQuery] Re: looking for "iPhone contacts shortcut"

2009-07-23 Thread Macsig
Thanks, I will check scrollTo out. have a good 1 buddy. Sig On Jul 23, 4:24 pm, svanhess wrote: > This should be do-able without a plugin.  Absolutely position a > vertical list of letters to the side of your content.  Each letter is > a link to a anchor within your content.  Use something li

[jQuery] Re: [Plugins] looking for "iPhone contacts shortcut"

2009-07-23 Thread svanhess
This should be do-able without a plugin. Absolutely position a vertical list of letters to the side of your content. Each letter is a link to a anchor within your content. Use something like ScrollTo to move the page to the selected anchor. http://plugins.jquery.com/project/ScrollTo Throw eve

[jQuery] jquery cookie text resizer

2009-07-23 Thread Magnificent
Hello all, I'm doing a text resizer with a cookie to remember the font size level. I'm running into a little problem and was wondering if someone sees something obvious I'm missing. The cookie is being set/read OK and the text resizer works when triggered manually, but it's not being executed on

[jQuery] jQuery & Adobe Air: onclick event not working

2009-07-23 Thread DPeters65
I am stumped... have been banging my head for days on this one... I am pulling in XML, parsing it, then dynamically writing blocks (append) of code as I loop through the XML... all via jQuery. Within each of these code blocks, which btw are displaying properly, there is an onclick event (openInBro

[jQuery] Detect ajax with file uploads

2009-07-23 Thread Lito
Hi! I'm developing a framework that allow all navigation in normal mode or in ajax load. I have a form to upload images and I can upload files correctly, but if I use the ajax form, the save page don't receive the HTTP_X_REQUESTED_WITH in $_SERVER PHP array (only occours when a file is uploaded).

[jQuery] Quick question about www.wow-heroes.com

2009-07-23 Thread fermineutron
Hi, First let me say I know very little about js, I have coded in PHP and HTML before. I am trying to link to search results on www.wow-heroes.com but I seem to fail to understand the websites coding schema and create the direct link to search results. The normal process is: 1) open www.wow-heroes

[jQuery] Re: Trying to Validate a Form

2009-07-23 Thread Hayden Hancock
Technically, can you just put the alert message inside the submitHandler option? For example: $("#form").validate({ submitHandler: function(form) { $(form).ajaxSubmit({ success: function() { alert("Thank you for your comment!")}, clearForm: true

[jQuery] jQuery Validation Plugin & jQuery Form Plugin

2009-07-23 Thread Hayden Hancock
Validation plug-in version: 1.5.5 Form plug-in version: 2.28 I was able to get the validation and submit to work together properly. However, when using options in the validation plugin such as errorClass and validClass I was ran into some trouble. Upon submission, these classes would stick/stay.

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread karnqu
like morningZ said your probably looking for this... ClientScript.RegisterStartupScript(typeof (<>), "startupTabScript", "<>", true); The pain is knowing what the last tab they selected was. But in your case if the button they clicked was on that tab then it sounds pretty straight forward. On Ju

[jQuery] GPL version of jQuery

2009-07-23 Thread Alexey Chernov
Hello, I develop open source CMS under GPLv3 and would like to use jQuery in it. Could you please tell me what is the version of GPL of jQuery? I tried to find it on http://jquery.com but it's still a little bit unclear. This is important for me, because GPLv2-only and GPLv3 are incompartible.

[jQuery] Response not working after page has been loaded by jQuery Load

2009-07-23 Thread jan timmer
Hello all, I am trying use the Load function and it looks partly succesful: the script code is: function doCallBack(action, value) { if (action == 'projlokatiemutaties') { var test = $("#ct100_Inhoud__pnlLokaties"); var params = "project.aspx?ch=1&ph=1&cb=center&content=

[jQuery] Re: how to call custom function

2009-07-23 Thread gil
hi This link could help http://www.w3schools.com/js/js_functions.asp On 23 jul, 08:41, dhana wrote: > I dont know how to call the custom javascript function with arguments

[jQuery] Re: adding click event

2009-07-23 Thread gil
Can you provide sample code or a link? On 23 jul, 14:47, shaf wrote: > Hi Guys > > I have just inserted some content into my html page and now Im trying > to add event listeners for some of the links in the inserted content > but nothing happens. Do I need to update something before I can add a

[jQuery] Re: Combining jQuery Objects

2009-07-23 Thread Ricardo
Guess what? var e1 = $("#firstObject"); var e2 = $("#secondObject"); e1.add( e2 ) is exactly what you're looking for :) http://docs.jquery.com/Traversing/add#expr On Jul 23, 1:17 am, NeilM wrote: > Does anyone know if it is possible to join two jQuery objects to make > a new object.  For exam

[jQuery] [Plugins] looking for "iPhone contacts shortcut"

2009-07-23 Thread macsig
Hello guys, I have a long list or product names and in order to speed up the research I'd like to have the alphabet letters on one side and when the user presses one of them the list scrolls to the first name that starts with that letter. Something like contacts on iPhone. So, before starting to d

[jQuery] Listnav initial display of no items?

2009-07-23 Thread rubycat
Thank you for this little treasure! Is there a way to do it so that when listnav initially appears on the page, no items are shown? In other words, is there a way to just have the alphabetized index show with no initial display of anything else?

[jQuery] adding click event

2009-07-23 Thread shaf
Hi Guys I have just inserted some content into my html page and now Im trying to add event listeners for some of the links in the inserted content but nothing happens. Do I need to update something before I can add a click event?

[jQuery] Re: extend an Object

2009-07-23 Thread Cesar Sanz
$ = jQuery It is an alias - Original Message - From: "jeanluca" To: "jQuery (English)" Sent: Thursday, July 23, 2009 4:26 AM Subject: [jQuery] Re: extend an Object I just noticed that $ and the jQuery object are the same thing!! On Jul 23, 10:27 am, jeanluca wrote: thats exact

[jQuery] Re: Need help with a custom selector to bind ajax callbacks

2009-07-23 Thread Rodrigo Tassinari
Anyone? On 20 jul, 12:34, Rodrigo Tassinari de Oliveira wrote: > Hello everyone, > > I'm stuck with an annoying problem in this webapp I'm developing. > > I've created a small code to be called automagically on every ajax > request, which shows a "loading..." div overlay while the ajax request >

[jQuery] Re: [Plugins] New plugin - jqswfupload

2009-07-23 Thread Cesar Sanz
Very nice man!! Thanks for your contribution. - Original Message - From: "alexanmtz" To: "jQuery (English)" Sent: Thursday, July 23, 2009 1:19 PM Subject: [jQuery] [Plugins] New plugin - jqswfupload Hello everyone, I would like to announce the jqswfupload plugin: http://jqswfu

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread amuhlou
I'm not really sure what you are asking. Are you referring to the jQuery ui slider? If so, the jQuery UI google group is probably a better place to ask that question and search for threads where your question may have already been answered. http://groups.google.com/group/jquery-ui On Jul 23, 3:3

[jQuery] Insert SWF using JS

2009-07-23 Thread shaf
Hi Guys I have some JS that flash cs4 generated when I published my swf. I am trying to do some AJAX and download the SWF and then insert it into the page's DIV tag. How can I do this. Code below: AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/ swf

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread Krish
hi amuhlou, thank you for your quick response. with the same assumption is there any possibility to get all grandchildren in the handle property of jquery. On Jul 23, 12:11 pm, amuhlou wrote: > Assuming the grandchildren all have the class="grandchild" attribute, > you could use the find() me

[jQuery] Re: Loop with mouse enter / leave events: help needed !

2009-07-23 Thread deltaf
The container with the appearing image overlaps the rollover area halfway. I determined this with Firebug by changing the div's style to include "background: red". The answer was very clear then. :) On Jul 23, 12:40 pm, eelziere wrote: > Hi All, > > I am very new to jquery. > > Here is a small

[jQuery] [Plugins] New plugin - jqswfupload

2009-07-23 Thread alexanmtz
Hello everyone, I would like to announce the jqswfupload plugin: http://jqswfupload.alexandremagno.net/ The easier way to make a multiple file upload using swfupload. You can create a complete interface for multiupload files based on Flickr ux in just one line of code and them make custom setti

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread amuhlou
Assuming the grandchildren all have the class="grandchild" attribute, you could use the find() method: $('div.parent').find(".grandchild") On Jul 23, 3:04 pm, Krish wrote: > Hey All, > > I have to select all my grandchildren of parent div. only the > grandchildren not either of children or gr

[jQuery] select all grandchildren of a div

2009-07-23 Thread Krish
Hey All, I have to select all my grandchildren of parent div. only the grandchildren not either of children or great grandchildren. . . .

[jQuery] Working with progressbar as a preloader

2009-07-23 Thread shaf
Hi Guys I want to use the progress bar on the site first load which will basically act like the gmail preloader. The aim is to use an AJAX request which will download the content and the preloader is running at the frontend. Once the content is downloaded the progressbar is removed and the conten

[jQuery] Re: Adjusting Superfish menu alignment

2009-07-23 Thread Charlie
you are duplicate loading script  files and also trying to use $(document).ready in a jQuery.noConflict environment. If not familiar with noConflict read FAQ's on jQuery site dgaletar wrote: Hello. I love your module! Thank you for developing it. The issue I am having is that my menu is a

[jQuery] Re: How to append elements with event listener?

2009-07-23 Thread C1412
Thanks to jukebox42 from jqueryhelp.com. The problem is solved. "When you create your table row the remove button doesn’t get any events attached to it since it was created after you declare the event. a way around this is to use the live() function in jquery ( http://docs.jquery.com/Events/live#t

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Carina
Oh, thank you! that worked. On Jul 23, 9:11 am, Jack Killpatrick wrote: > yes (only use one of the listnav js files). That and rename this: > > > > to this: > > > > - Jack > > > > keith westberg wrote: > > It looks like you have the listnav script file loaded three times... > > this may be cau

[jQuery] Re: Trying to Validate a Form

2009-07-23 Thread Jörn Zaefferer
You've got an error in the second selector, a missing #. Try this: $("#submit").validate({ submitHandler: function(form) { $(form).ajaxSubmit(); } }); Jörn On Thu, Jul 23, 2009 at 3:22 PM, Nick wrote: > > Hi, > > I am currently trying to validate a form before sendi

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread MorningZ
"onclick event" would be: - in the aspx's code? - on the client? if it is in the code, then any running of that postback code is going to cause a page reload, and consequent defaulting to the first tab by default if you want the new page reload to stay on the current tab, then you would emi

[jQuery] Adjusting Superfish menu alignment

2009-07-23 Thread dgaletar
Hello. I love your module! Thank you for developing it. The issue I am having is that my menu is aligning to the right, instead of to the left where the normal menu was. I have worked with the CSS for some time now, but have not been able to figure it out. I would also like to make the menu colo

[jQuery] Trying to Validate a Form

2009-07-23 Thread Nick
Hi, I am currently trying to validate a form before sending it with the jQuery Form Plugin. I can get them working but it is always one or the other, I can't get them both working. The code I have so far is below: $('#submit').ajaxForm(function() { alert("Thank you for your comment!")

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Kuo Yang
You can split the Emails with the comma, and then validate them one by one. On Thu, Jul 23, 2009 at 9:49 PM, Mohd.Tareq wrote: > > Hi Guys, > > Can any one tell me validation ' *Email Validation for multiple emails > (comma separated)* ' for textarea. > > I am writing Regular expression but not

[jQuery] switching jquery tabs in code behind(C#)

2009-07-23 Thread noorul
I have five div tags(jquery tabs) in my aspx page...Inside the second div(tab) i have a button. onclick of that buttton the second div(tab) should be switched..instead of that the first tab is coming.. How can i switch the tab in code behind(Inside button onclick event)...

[jQuery] jQuery Cycle pager with images

2009-07-23 Thread matttr
Hi, I am fairly new to both jWuery and jQuery Cycle, but I have managed to set-up my slideshow using images as the pagers. The problem is that I want to be able to indicate which slide is currently being displayed by toggling the pager image to unique one when it is active. Essentially what I wa

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
It would be great if you could post your repacked version for us. Thanks! -Mario

[jQuery] Loop with mouse enter / leave events: help needed !

2009-07-23 Thread eelziere
Hi All, I am very new to jquery. Here is a small page I made to get familiar with it: http://www.compu-zen.com/tests/jquery.popup_test.htm Could anybody explain me the following: when mouse cursor is located above the middle of the height of the button image, javascript is looping while sendin

[jQuery] Re: Combining jQuery Objects

2009-07-23 Thread Kuo Yang
Do you mean append() or appendTo() ? On Thu, Jul 23, 2009 at 12:17 PM, NeilM wrote: > > Does anyone know if it is possible to join two jQuery objects to make > a new object. For example... > > var e1 = $("#firstObject"); > var e2 = $("#secondObject"); > > var combined = e1.add(e2); // This i

[jQuery] How to append elements with event listener?

2009-07-23 Thread C1412
I tried to append a table row to a table by clicking on a button. And inside the table, I put a link so i can click that and remove the row. I was using jquery.flydom plugin, by the way. The HTML looks like: HTML== ==

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
I found this link: http://return-true.com/2008/12/fixing-jquery-validator-plugin-in-internet-explorer-6/ Looks like it's a character set issue. -Mario On Jun 29, 4:21 pm, Tristan wrote: > The jquery.validate.pack.js file found > onhttp://bassistance.de/jquery-plugins/jquery-plugin-validati

[jQuery] [validate]

2009-07-23 Thread dustin.c
Hi all, I'm using the jQuery validate plugin. When select boxes don't pass validation, I want them to to be revalidated onChange. I don't see an option for this in the validate() options. Do I have to add it manually to the elements onchange attribute? -Dustin

[jQuery] how to call custom function

2009-07-23 Thread dhana
I dont know how to call the custom javascript function with arguments

[jQuery] Re: HELP: how to browser cache json request?

2009-07-23 Thread wgordonw1
Hi James, I understand that if they return a 304 headers then that means they are using the cached version... that is what 304 Not Modified means. The problem is that there isn't a 304 Not Modified header when a user visits the page. That only happens after the json is loaded. It is page cache

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread sleepwalker
Eric you rock that's what I'm talking about!! Beautiful code man thanks so much. Learning is fun. Daniel

[jQuery] Re: Make width of inner div equal outer

2009-07-23 Thread Eric Garside
$('.secondLevel').css('width', $('#header').width()); On Jul 23, 1:16 pm, Paul Collins wrote: > Hi all, > I've got a problem with IE6 and I need to basically find the width of the > "header" DIV and make the "secondLevel" DIV match it. So, I guess I need to > target IE6 specifically in the code.

[jQuery] Make width of inner div equal outer

2009-07-23 Thread Paul Collins
Hi all, I've got a problem with IE6 and I need to basically find the width of the "header" DIV and make the "secondLevel" DIV match it. So, I guess I need to target IE6 specifically in the code. Here's what I have: Home About Us Overview Contact I'm not sure how to start with the script

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread Eric Garside
function setButtonClass(){ $(':submit,:reset,:button').each(function(){ var el = $(this), val = el.val(), word = (val.split(/[^A-Z\W]/).length/2) + val.length; el.addClass( word >= 12 ? 'mb' : (word > 4 ? 'sb' : (word > 0 ? 'b' : '')) ); }) }

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread sleepwalker
Thanks Rob I like your approach and learned a lot. This is why I like to post code to see how others attack the same issue. I would still like to see how someone would code this using the jquery syntax rather then the standard javascript way, so if anyone wants to give it a go please do. All us ne

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
could you paste the outputted html to jsbin, in the meantime, try this $(document).ready(function() { $("#chkIncludeRetired").click(function() { $('.RelStatus').each(function() { var RelStatusValue = $(this).text(); if (RelStatusValue == 'Retir

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Jack Killpatrick
yes (only use one of the listnav js files). That and rename this: to this: - Jack keith westberg wrote: It looks like you have the listnav script file loaded three times... this may be causeing it. Prob only need one of these. Keith On Wed, Jul 22, 2009 at 5:20 PM, Carina wrote:

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
I removed some of the server-side code but this is it. thanks $(document).ready(function() { $("#chkIncludeRetired").click(function() { $('#table1 .RelStatus').each(function() { var RelStatusValue = $(this).text(); if (RelStatusValue == 'Re

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Carina
Hm, I took two out but it still is looking the same with out the nav at the top. On Jul 23, 7:45 am, keith westberg wrote: > It looks like you have the listnav script file loaded three times... > this may be causeing it.  Prob only need one of these. > > src="/customer/caorsu/customerpages/jque

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread Charlie
pretty sure you'll figure solutions out, perhaps absolute position the sub nav so it doesn't push page up and down might look better. Or hover over main nav container to push down the sub nav area, would keep that area until you move away from nav completely alexrogahn wrote: To explain a

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
I'll need to see your html to see why, but I suspect it's because you targeted a specific id #table1.RelStatus. evanbu...@gmail.com wrote: Very cool. This is what I have now but it only hides the first div containing the RelStatus value = 'Retired' $(document).ready(function() {

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
Very cool. This is what I have now but it only hides the first div containing the RelStatus value = 'Retired' $(document).ready(function() { $("#chkIncludeRetired").click(function() { $('#table1.RelStatus').each(function() { var RelStatusValue = $(this).t

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread alexrogahn
Nope, that plugin only does what I've already set up. I've already got the delay set up. Thanks for the suggestion though ^^ On Jul 23, 3:38 pm, alexrogahn wrote: > hmmm ththat's quite interesting as the plugin I'm currently using > claims to be "better" than hoverIntent. Perhaps it is not :P >

[jQuery] Re: load(), cache and IE8

2009-07-23 Thread LexHair
Works like a champ!! Thanks so much. On Jul 23, 9:48 am, MorningZ wrote: > Add a random query string parameter onto the url of the .load() call > (see the code for the AutoComplete plugin for an example) > > On Jul 23, 9:37 am, LexHair wrote: > > > I have a table which has an image, an icon and

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
$("span a").click(function(){ var checkValue = $(this).parents("div").attr("value"); if (checkValue == 'Retired'){ $(this).parents("div").toggle(); } return false; }); You will see the parents function, this allows you to traverse up the dom.

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread keith westberg
It looks like you have the listnav script file loaded three times... this may be causeing it. Prob only need one of these. Keith On Wed, Jul 22, 2009 at 5:20 PM, Carina wrote: > > http://www.cascade-usa.com/default.aspx?page=customer&file=customer/caorsu/customerpages/salesflyer.html# > >

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
Right, but how do I associate the span tag which contains the value = 'Retired' with the div that contains it? In other words, I need to toggle the contents of the entire div and not just the span tag. Thanks. On Jul 23, 7:41 am, Liam Potter wrote: > use an if statement, "if value == retired, d

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread alexrogahn
hmmm ththat's quite interesting as the plugin I'm currently using claims to be "better" than hoverIntent. Perhaps it is not :P On Jul 23, 3:35 pm, jlcox wrote: > Take a look at the hoverIntent plugin. It might do exactly what you > need. > > http://cherne.net/brian/resources/jquery.hoverIntent.h

[jQuery] jquery.dropShadow and IE8

2009-07-23 Thread JEF
Has any one noticed that the dropshadows dont fade in ie8 they are just black

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread jlcox
Take a look at the hoverIntent plugin. It might do exactly what you need. http://cherne.net/brian/resources/jquery.hoverIntent.html

[jQuery] Re: jquery autocomplete with dwr

2009-07-23 Thread renearaujo
sorry... i am beginner :) take it easy ;) On Jul 23, 2009 11:08am, Ken wrote: how to disable firebug. 2009/7/23 reneara...@gmail.com> Hi! first: someone know one great (simple and easy) plugin for jquery for autocomplete/suggestion ? second: someone use this plugin with DWR ? tha

[jQuery] slide effects not working.

2009-07-23 Thread Sir Rawlins
Hello Guys, I've got a couple of div's one of which I'm trying to set a slide effect on when the other is toggled, both contain a single image. The code example can be found here http://pastebin.com/m6c3f43a8 Now, the 'expandable' div is hidden when the page loads as I would expect however click

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread alexrogahn
To explain a little more: When I move from one navigational element to the next the animation restarts, I was wondering if there was a way I could stop this happening so that the sub-nav stays down, until I move off the navigation completely or a navigational element which doesn't activate the sub

[jQuery] Re: jquery autocomplete with dwr

2009-07-23 Thread Ken
how to disable firebug. 2009/7/23 > Hi! > > first: someone know one great (simple and easy) plugin for jquery for > autocomplete/suggestion ? > second: someone use this plugin with DWR ? > > > thanks :) -- -- - Administrator : Ken Phan Websmater : www.goldengate.com.vn Listen to mu

[jQuery] jquery autocomplete with dwr

2009-07-23 Thread renearaujo
Hi! first: someone know one great (simple and easy) plugin for jquery for autocomplete/suggestion ? second: someone use this plugin with DWR ? thanks :)

[jQuery] Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Guys, Can any one tell me validation ' *Email Validation for multiple emails (comma separated)* ' for textarea. I am writing Regular expression but not able validating the given input with comma :( Please suggest something in JQuery Or Javascript Thanking you Regard Mohd.Tareque

[jQuery] Re: load(), cache and IE8

2009-07-23 Thread MorningZ
Add a random query string parameter onto the url of the .load() call (see the code for the AutoComplete plugin for an example) On Jul 23, 9:37 am, LexHair wrote: > I have a table which has an image, an icon and some text in each cell. > I can click an icon in the table cell firing a $.get which

[jQuery] load(), cache and IE8

2009-07-23 Thread LexHair
I have a table which has an image, an icon and some text in each cell. I can click an icon in the table cell firing a $.get which delinks (deletes) the image from the server. The table is refreshed with a load () call in the callback function. I use the load() call since I'm only interested in loa

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread MorningZ
Here's a working version to demonstrate (click on the "Output" tab to see it run): http://jsbin.com/emeta/edit just think of the variable "x" coming from a $.getJSON call

[jQuery] Re: Image display using jquery

2009-07-23 Thread Charlie
anyone reading this can only guess how your image gallery is constructed. Can you provide link to demonstrate your problem, and to see code used? sintu wrote: Hi, I have a problem in a div displaying number of images and it is implemented using jquery. This div contains a scrolling option

[jQuery] Re: "pause" jQuery.

2009-07-23 Thread Charlie
idea of "freezing" jQuery not making a lot of sense. What you did to post code is great, however there's an even better way, put it in jsBin. jSBin will include jQuery for you and give a working copy of your code to share, instead of it being in 2 places with no CSS. Perhaps if you explained

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
Yes. Got it now. Thanks! On Thu, Jul 23, 2009 at 3:35 PM, Jörn Zaefferer wrote: > > You include the js file for the language of the page. Load no > additional file for english, and messages_se.js for swedish. There is > no support to load two locales at once and switch after page load. > > You co

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
so adding should load the swedish messages instead of the english ones? And using PHP to check $lang and output nothing for english and the statement above for swedish should be enough. On Thu, Jul 23, 2009 at 3:35 PM, Jörn Zaefferer wrote: > > You include the js file for the language of the pa

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Jörn Zaefferer
You include the js file for the language of the page. Load no additional file for english, and messages_se.js for swedish. There is no support to load two locales at once and switch after page load. You could hack that by putting the swedish properties into a different variable, then modifying $.

[jQuery] Re: jquery

2009-07-23 Thread Michael Lawson
I'm sorry, I really didn't understand what you were asking/telling here. Also, can you please provide a more concrete example, as well as any code that will help us figure out your problem? Thanks cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail:

  1   2   >