[jQuery] [validate] How do I stop the form control (but not the label) itself receiving the "error" class
Pretty much sums it up really. I only want the error label (of class "error") to be displayed, but not the class of the text box or such like to have it's class updated. Thanks, Dave
[jQuery] Safari onload firing
This is my first post to the list, so please excuse any amateurish mistakes. I'm having a small problem with Safari's (3 and earlier) onload event which appears to fire a bit early (<http://www.howtocreate.co.uk/ safaribenchmarks.html>). A small portion of my script equalizes two columns' heights and I have it bound to $(window).load() so that the calculations are made after all the images (particularly, those lacking width and height attributes) have finished loading. Unfortunately, Safari tends
[jQuery] addClass transparency overlay not correct from a ajax data callback
I am trying to overlay the display of two ajax data calls in order that a user can compare the results. I had it working as a straight up css and php call, but trying to user jquery and an ajax return of data, I can not get the one set of divs to overlay transparently with the other. To see what I'm trying to do go to http://ncas-cms.nerc.ac.uk/data/startFiles/anim_overlay.php and select the last selection from each select. See how the pink 2007 row blocks out the green 2007 row (for example) When
[jQuery] Superfish
I have a small issue that seems somewhat unique. When I maneuver around a Superfish menu system the items don't seem to be opening correctly. Example: I have a vertical set of menus. Each item extends to the right. All seems to work fine, until when going from the first item to the second. Both menus display, but when I go back to the first item the sub-menu pops up and then disappears. This menu wont display anymore. The second item's menu still works. When I move to the 3rd or other item, the menu
[jQuery] [validate] using a different tag than <label> for error messages
Hello, I'd rather not use <label> tags for my error messages, as I think <div>s are less semantically ambiguous. Is there any way I can change the default functionality? At the moment I'm placing my own error <div>s manually, but I can't get them to show unless I change them to <label>s Help! And thanks very much. Cheers, Dave
[jQuery] is it a bug with validate?
Hi, I valiate two fields that depend on each other if blank,for example,user must supply he/her telephone number or mobile number,he/ her just need input the one of that(telephone number or mobile number). I set the rules like this: rules:{ telephone:{ required:"#mobile:blank", digits:true }, mobile:{ required:"#telephone:blank", digits:true } } if input non-digits characters to both of these two fields,digits validation is not working.
[jQuery] Selecting listboxes that are in a table
If i have:
[jQuery] ajaxContent v.2.1 with extends and bindings
I have now uploaded the new version of the ajaxContent jquery plugin. The release gives to the plugin many new options and funcionality. A new beforeSend callback is now available and fires just before the ajax call is performed The plugin now can extend the ajax event to items injected in the DOM from a previous call. Basicaly using the options line is possible to attach a new ajaxContent instance directly to an item that will be load in a previous call. The second event is completely customizabile
[jQuery] jQuery, AJAH & IE 7
Folks, I have a bit of a problem with Internet Explorer 6/7 specifically, the code works perfectly fine in Firefox. What I am essentially doing is creating a dynamic form. Based on the inputs, different forms are sent back into different <div> containers as the user moves through the application. The first request receives the set of forms (really just prefilled html/form markup) just fine. Working with this second set of forms and jQuery in Internet Explorer 7 seems to be futile - no response at
[jQuery] $.ajax question
hi friends, i have a question: i call several times a function in which there is an ajax cal, which, when succesfull, performs a search in the loaded data and return the result/. Will the ajax call (the client/server communication) be performed each time, or will it use the cache and just perform the search part ? Here is my function: function findProjectAnchor(projectName, scape){ var datascapeXml = $.ajax({ type: "POST", url: "projects/datascapes.xml", dataType: "xml", async: true, success: function(xml){
[jQuery] Scrollable image in a div
Is there a plug-in or some jQuery code I can use to make a draggable scroll image, similar to the scriptaculous effect of this: http://wiki.script.aculo.us/scriptaculous/show/DragScrollable? Brad
[jQuery] Masked input plugin for hour
<h1 style="margin-top: 0.25em; font-weight: normal;"><font size="2">How accept only the minutes 00, 15, 30, 45 using the masked input plugin for hour?</font></h1><h1 style="margin-top: 0.25em; font-weight: normal;"><font size="2"> thanks.</font></h1>
[jQuery] Feb 12 IE6 Forced Update
Does anyone know about how many IE6 users this will affect? After Feb 12, 2008 is it likely that your IE 6 users will drop much? If you have an ecommerce site that currently has about 40% IE6 users, is this percentage likely to go much farther down? Or, is this update not forced on the average IE 6 user? I'd just love to see IE6 go away, but I don't want to get my hopes up if this so-called forced update is not really forced on many of our IE6 users.
[jQuery] Page won't process with mouse in browser window
Can anyone think of any reason why a page would completely stop while the mouse is in the browser window, but continue once you move the mouse off the page? As if I had to tell you, this is happening with IE 6. I'm working on a project with a couple other coders, so we're not exactly sure where or when the problem began. It hasn't released, so I can't show you examples. If I knew what in the code was causing the problem, I could give you some code to look at. The best I can do is give you a description
[jQuery] Zend.com home page type cycle
I want to replicate the home page of Zend.com, but using jQuery - where to start? I've been trying to Cycle plugin, but I can't figure out how to be able to click on a link and show a specific slide. -- View this message in context: http://www.nabble.com/Zend.com-home-page-type-cycle-tp15079729s27240p15079729.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] sum of table rows
really close to this one, but it seems I'm not looping properly What I have is a table, and I'm trying to sum just the row values individually. the table row has the id of newPerson, and then the cells have an class of length and the id is the numbers that need to be added. but apparently the code below is summing all the id values where the class="length", not one row at a time. Anybody know how to get this to seperate them so that I get a seperate value for each "newPerson' id? [code] $("tr#newPerson").each(
[jQuery] Cycle plugin w/text: text looks wack on IE6
Hey all, Using the Cycle plugin to rotate some text blocks of testimonials. All is well except for a couple of things: - On all browsers, I am not able to right-align the div. It seems to wipe out the alignment. - On IE6, the text after the first slide looks all out of focus, as though the text is doubled. I'm sure this is because of IE6, but what can I do to rectify it if anything? -- Josh
[jQuery] sorting values with commas with tablesorter 2.0
Hi I have some number which have commos in them. How can i sort these propertly? for example 3567 is as 3,567
[jQuery] [validate] Require user to change default value?
I have a form that uses the value attribute to display the field name. I'd like it to trigger a "false" validation if the user doesn't change this value or leaves it blank. Thanks!
[jQuery] ups shipping quotes - sometimes a 5 -10 second delay and timing out
How do you get shipping quotes from ups? Do you ever have issues with ups never returning a shipping rate? If so, what did you do to workaround this?
[jQuery] Autocomplete with ComboBox
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000066"> I've been seen people trying to do that A combo with State, after selected one, the Edit field sould autocomplete with cities from within that state, not all of them. How can this be done? There is any page about that on jquery docs? If not why don't we do that? I voluntere, with group help off course :) <pre class="moz-signature" cols="72">-- regards Feijó </pre> </body>
[jQuery] fadeOut not working with table row (tr) in IE6
Hello, Has anybody been able to get the fadeOut effect working with a table row (tr) in IE6? I've read old posts and tried several different things without success. This is for a tabular layout that's a bit too intricate for replacement with divs. Works fine in Firefox, but the fox ist verboten.
[jQuery] setTimeout / clearTimeout question...
This is more of a general javascript question but when using setTimeout and clearTimeout, does the "timer" variable have to exist outside the function globally? For instance, I understand the following: var t; $(".some_link").hover(function() { clearTimeout(t) $("#this_layer").show(); }, function() { t = setTimeout(function() {$("#this_layer").hide()}, 2000); } Is there a way to create the timer within the jquery hover so that it's self-contained? Ideally, I'd like the timer to be dynamically created
[jQuery] Performance Tuning Help
I was wondering if anyone knows of a less processor intensive way of doing the following code? I am trying to loop over all classes of a certain type on the page and then append some html that is contained within that particular class. What it is doing to the user is collapsing the search results into a "summary" of each as the length of the original result set can be long to scroll through. var count = 0; $('div.box').each(function() { $('div.box:eq(' + count
[jQuery] Using parent within img toggle
I have a fairly simple app: <table> <thead> <th>... </thead> <tbody> <tr><td><img src="/images/deactivate.gif" class="active_toggle"></td></ tr> <tr><td><img src="/image/deactivate.gif" class="active_toggle"></td></ tr> <tr><td><img src="/image/deactivate.gif" class="active_toggle"></td></ tr> </tbody> </table> then the following jquery toggles the src of the images back and forth $("img.active_toggle").toggle(function(e){ // alert('change to reactivate'); $(this).attr("src","images/btnReactivate.gif")
drag and drop/handling forms
Hello, I have 2 table columns on the front-end : 1) (left)ALL USERS, and 2) (right) USERS THAT CAN PRINT. You can drag and drop from the left column to the right, and AJAX will update the right column by sending a request to the back-end database and updating the appropriate column. How do I handle an error if the table is not correctly updated on the back-end??? A) Do I just have the inserted USER fall off the right side column or B) Do I wait until the back-end responds with a successful message,
[jQuery] Toggling a check box on or off
What I am trying to do is make it so a checkbox is checked if the user clicks a link with an add image inside of it. If the user has clicked the add button the check box gets checked and the image switches to a remove image. If the user then clicks the remove image the check box is unchecked. they are set up like the following. <a href="#" class="giftwrap-check-img"><img src="/assets/images/ icon_add.gif" alt="" /></a> <input type="checkbox" name="" class="giftwrap-check" value=""> these are in a
[jQuery] jQuery 1.2.1 errors with Interface
I'm doing $('#some').SlideInRight(500); The effect is working, but after I start to get millions of the same errors into console: this.options.curAnim has no properties ../js/jquery-1.2.1.js Line 2833 this.options.curAnim has no properties ../js/jquery-1.2.1.js Line 2833 this.options.curAnim has no properties ../js/jquery-1.2.1.js Line 2833 Downgrade of jQuery seem to help but I don't really want to.. Anybody know some quick fix ?
[jQuery] jQuery t-shirt - did they happen?
Hi everyone, I'm wondering if the jQuery t-shirts ever came about. Did the jQueryCamp'08 attendees receive theirs? If so, I'd love to clap eyes on one. Does anyone have any photos featuring one of these t-shirts? I checked John's flickr photos but didn't see any. Can anyone sate my curiosity? Cheers Joel Birch.
[jQuery] Pb with a reload of a table with Jquery
First, sorry for my bad english !! I have a problem with a table which i don't managed to reload. I generate this table after a parse of an XML file. i would like that if my xml file changed my table was reloaded. And it is not working. I managed to reload a line if it is alone, but not if it is a table with many lines. So i give my .js and my xml file : First the .js file : $.fn.recap = function(delay,ad_url,nom) { var _news; var _old; var _counter = 0; var difference =-1; var init = function(el)
[jQuery] new jQuery user needs help
hello all! i've recently discovered the amazing features that jQuery has to offer a humble web-developer like myself. except i'm a little confused. i havent' had any luck implimenting any of the jquery plugins that i've seen. i'm trying to get a simple newsticker up, amongst other things, and i've found several, but none of them work! what could be the problem? i've used: http://www.learningjquery.com/2006/10/scroll-up-headline-reader and http://www.texotela.co.uk/code/jquery/newsticker/ and i literally
[jQuery] How to add vars to my data object
I've been searching but couldn't find how to add variables to my data object. I want to make an ajax requst with $.ajax, but before i do that, i want to 'build' the myDatavar. That looks something like this: ----------------------------------------------------------------------- var myDatavar = { name:'woutse', age:'91'} ; var obj = document.getElementsByName('country'); for(i=0;i<obj.length;i++) { if (obj[i].type=='text') { if (obj[i].value!=obj[(i-1)].value) { /// U can see what im trying
[jQuery] How to detect the cursor's relative position in a textarea element???
Hi, folks: Is there a way in jQuery that I can detect the cursor's relative position within a textarea element, i.e. the Nth character from the biginning of the inside texts. I am hoping to insert some text right behind the cursor's position from some Javascript functions. thanks :) Best regards, lihao
[jQuery] JQuery Mobile/Lite?
Hi all, Given that many mobile devices will have a much better support for Javascript, e.g. iPhone, Nokia N-series handset (running webkit), or 3rd browsers such as Opera mobile/mini, Pocket IE ect, are there any plan to fork a branch of JQuery as JQuery mobile for example? It would be interesting? Howard
[jQuery] Horizontal Reveal/Slideout Menu
Hi, I am looking for a way to reveal (slide out) a menu from the side of a page. While there are plugins and examples of things that come close (i.e. jquery.haccordion.js) I could not seem to find anything that does exactly what I was looking for, so I knocked up the following: I was wondering if anyone might be able to suggest improvements or alternative approaches. css: body {background:#efefef;color:#222} #wrapper {background:#fff;border:1px solid #000;margin:6em auto;padding:3.5em 1em 1em;width:40em;}
[jQuery] Position Absolute div after some element
i want to show a div (position absolute) . the problem is that i want to set its x same as some elements' x + width how can i do this.
[jQuery] tabs display IE versus Firefox
Hello. My tabs are functional in both IE and Firefox. However, the look inside the tabs is different. The words are appearing in white in IE and dark blue in Firefox. I've tried removing all the other styles on my page and it didn't seem to do anything. Could it have something to do with Unordered Lists? Here's my page: http://ecap.southeastequity.org/clientdetail.cfm?ClientID=140 Thanks, Mike
[jQuery] Performance Tuning Help
I was wondering if anyone knows of a less processor intensive way of doing the following code? I am trying to loop over all classes of a certain type on the page and then append some html that is contained within that particular class. What it is doing to the user is collapsing the search results into a "summary" of each as the length of the original result set can be long to scroll through. var count = 0; $('div.box').each(function() { $('div.box:eq(' + count
[jQuery] clueTip and retrieved JSON strings
<html> <body> Hello folks, I'm having a problem with clueTip overwriting or affecting the title attribute of a returned a tag. I have an application which dynamically returns the names of images in a user-selected folder. The returned strings (via JSON) appear in the form: <pre><a href="#" rel="ramosus_imgPreview.asp?sImg=folder/name-of-image.jpg" title="folder/name-of-image.jpg" class="transfer jt">name-of-image</a> </pre>Until I started fiddling with this code (i.e including clueTip capability),
[jQuery] bug with clone method
Hi, there is a bug with clone method when clone a tr element with IE browser.It just return the content of the first column that the row cloned.It is fine in firefox.
Next Page