[jQuery] Form not submitting
I'm posting this in the hope that the mere act will help me work out what it is I'm doing wrong. I have a form: <form action="index.php" method="post" name="login" id="login"> ..etc. </form> with a button that call up the validation function: function submitLoginForm() { if ( ($("#username").val()=="" ) || ($("#passwd").val()=="" )) { alert ("Please complete the username and password fields."); } else { $("form #login").submit(); } } Form validation works properly but
[jQuery] Beginner question re: getting and setting element class name
Hi, I'm just starting to use jQuery and, while I'm not much of a coder, I love the way it works. I was developing a project using the Prototype library, but after discovering jQuery I'm converting everything. I'm finding it straightforward but I have a request for a clarification on something. I have a function that branches depending on the class name of the element that was passed to it. Using Prototype: function checkState(id) { if ($(id).className == "something") { etc but in jQuery it doesn't
[jQuery] Junior Programmers (RE: Proper OOP paradigm / please be friendly)
> > From: Michael Geary
[jQuery] Fotonotes-like plugin?
Thanks Jorn. I didn't even notice those annotations. Its definitely a good start. I appreciate the response... Michael
[jQuery] Fotonotes-like plugin?
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Proper OOP paradigm / please be friendly
> Guys, I don't appreciate the profanity. My 10 and 11 year old
[jQuery] Strange bug with jquery 1.1 and i.e 6
See this page in action with i.e 6 : <a href="http://www.mes-anniversaires.com/jquery/">http://www.mes-anniversaires.com/jquery/</a> Internet explorer don't load correctly... this script test.js (<a href="http://www.mes-anniversaires.com/jquery/test.js"> http://www.mes-anniversaires.com/jquery/test.js</a>) fails this navigator but with firefox and opera, it's ok, why ? Thx M@tthieu _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Using JQuery to fix Flash z-index problem?
Note, this also works for safari on a mac -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of rolfsf Sent: Wednesday, January 17, 2007 11:54 AM To: discuss@jquery.com Subject: Re: [jQuery] Using JQuery to fix Flash z-index problem? Thanks SeViR! I'll give it a try r. SeViR
[jQuery] Proper OOP paradigm / please be friendly
> // this is .....n much too complicated! Guys, I don't appreciate the profanity. My 10 and 11 year old daughters are learning JavaScript. I don't want them to be subjected to language like that. When you've offended some people already, offending more is probably not the best way to fix it. :-) Still friends, just please keep the language clean, -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Site developers section
Hi all, It seems like the development section kind of vanished since the new jQuery 1.1 redesign. I don't find any link on browsing the tickets database... which is kind of annoying because I would like to track tickets I've submitted. BTW, what would be the "official" process to submit feature requests or enhancements ? Should we send them to the mailing-list first or create a ticket instead ? Thanks, -- Sébastien _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] $.ajax call works with 1.04 but not with 1.1
Hi, Below ajax call works fine with jQuery 1.04 and returns & sets multi-value to an input text field. But, when I try the same code with jQuery 1.1 it fails without any error (no error message, no result,... nothing happens). Not sure if I missed anything (regarding to upgrade changes), so any help is greatly appreciated. $.ajax({ type: 'GET', url: url, dataType: 'xml', timeout: 10000, async: true, success:
[jQuery] Using JQuery to fix Flash z-index problem?
I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.html#a8416980
jQuery 1.1, Site, Docs, Surprise
Hi Everyone - jQuery 1.1 has just been release, along with an overhaul of the site design, and the documentation; all tied together with a brand new surprise! The full details can be found here: http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ Enjoy - and be sure to thank the whole jQuery team that made this come together. --John
[jQuery] JQuery FX set an element to display block in progress ...
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"\@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions
[jQuery] Using JQuery to fix Flash z-index problem?
I use SWFObject to insert Flash. in html I have: <div class="flash" title="path/file.swf" style="width:100px;height:200px">If you can see this, then you have not flash.</div> and javascript: $("div.flash").each(function(){ this.style.zIndex = "1"; this.style.visibility = "visible"; var so = new SWFObject(this.title, this.id, this.style.width, this.style.height, "8", "#ffffff"); so.addParam("wmode", "transparent"); so.addParam("bgcolor", "#FFFFFF"); so.write(this.id);
[jQuery] Using JQuery to fix Flash z-index problem?
I think you need to add the parameter wmode:"transparent" to your embed/object tag. That will allow a div to go over the flash movie. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of rolfsf Sent: Wednesday, January 17, 2007 11:20 AM To: discuss@jquery.com Subject: [jQuery] Using JQuery to fix Flash z-index problem? I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always
[jQuery] Proper OOP paradigm using jquery - examples for $.extend() ?
I'm a newb to the list, so hello to all the people who have posted to the list and made the list archives so helpful the last month or two! I'm trying to understand the use of OOP with jQuery. In creating a fairly complex web application I have made extensive use of the class attribute. Further, I've been successful in binding events to the classes, setting styles, and that sort of thing. What I have not had much luck with is the creation of class attributes or methods. I simply don't
[jQuery] "THE" List of Sites Using jQuery
One thing I recommend is to deeplink to a specific page/section which actually uses jQuery. Also might be a good idea to indicate what is being used; plugins main codebase, etc. I went to the front page of MSNBC and viewed source expecting to find a reference to jQuery, but found nothing about it. It's a little misleading and you don't want that to affect people's perceptions. Andy matthews -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of
Docs Wiki Errors
The new wiki area (http://docs.jquery.com/) has been on the fritz lately. I have things cached really well now and the database optimized - please let me know (by replying to this post) if you see any database errors from this point, out. --John
[jQuery] "THE" List of Sites Using jQuery
I'd also suggest a columnar display for the links so that the page isn't quite as long as it is. andy -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Fil Sent: Wednesday, January 17, 2007 9:34 AM To: jQuery Discussion. Subject: Re: [jQuery] "THE" List of Sites Using jQuery
[jQuery] jQuery Easing plugin
EXCELLENT work. Demos are eminently useful and usable. This is a perfect example of what a plugin page should look like. If I understand correctly, you call any of the built-in animation effects, but pass in JSON to it? So what was: $('#myDiv).slideUp("slow") Now becomes $('#myDiv).slideUp({duration: 1000, easing: method}); ?? Andy matthews -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of George Smith Sent: Wednesday, January 17, 2007 6:11
[jQuery] packing or mod_gzip (or both)
Hello, as we discussed with Jörn on irc, comparing the merits of the packed vs mod_gzip versions of jquery, here's a quick comparison: The file size determines the time necessary to download; with mod_gzip the time is reduced in proportion: 147460 jquery.src.js 57169 jquery.lite.js 37982 jquery.compressor.js 36062 jquery.src.js.gz 20342 jquery.pack.js 18002 jquery.lite.js.gz 11821 jquery.compressor.js.gz 10426 jquery.pack.js.gz The 'compressor' version was obtained by running jquery.lite.js through
[jQuery] uncheck and check box using jquery pls help
Hi Rohit Isn't that what you use radio buttons for? hi i am very new to this group acctually i have problem regrading the check box my requirement is like that i need to uncheck one check box which is by default checked and i need to uncheck that while checking another check box thanking you _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Getting the optgroup for a select option
I'd like to be able to display the optgroup label attribute value after a select list is changed. This is what I have so far, but I think I'm heading down the wrong track, because a) I want the optgroup label value, not the selected option value and b) I don't want to keep appending if the user changes the selection more than once... $(document).ready(function() { $('#MySelect').change( function() { $('#MySelect').after('('+$('#MySelect').val()+')'); } ) ; }); Any help would be appreciated
[jQuery] plugin page on docs.jquery
Page is borked if you're not logged in, edit doesn't work either. error message: Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)". -- View this message in context: http://www.nabble.com/plugin-page-on-docs.jquery-tf3026110.html#a8407063 Sent from
[jQuery] uncheck and check box using jquery pls help
hi i am very new to this group acctually i have problem regrading the check box my requirement is like that i need to uncheck one check box which is by default checked and i need to uncheck that while checking another check box thanking you _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.0.4 Documentation
Is the documentation for jQuery 1.0.4 still available somewhere? I plan on updating to 1.1 very soon, but in the meantime I still need to lookup the 1.0.4 API documentation Thanks, Laurent _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.1: can't get click event to cancel default action and stop bubbling...
I don't know if others are having as tough a time moving to 1.1 as I am, I hope I'm doing something stupid. Anyway, here's my latest find... I was using the toggle() function to toggle a div in an open/close state, but then after the 1.1 upgrade, the toogle wasn't canceling the default action on the <a> tag that it was attached to (the <a> tag has an href). So, I put in a ticket for this (<a href="http://jquery.com/dev/bugs/bug/828/"> http://jquery.com/dev/bugs/bug/828/</a>). So, as a workaround,
[jQuery] Thickbox CSS - Including in Thickbox.js?
Hi all, Here is a question I have, and perhaps this is doable (I can't see why not), but why don't the *box scripts like Thickbox, Lightbox, etc, just write the CSS in the Javascript file, and eliminate the need to include a CSS file (or it's contents in your CSS)? For instance, I know Safari has issues appending child elements to the head, but scriptaculous just does a simple document.write to brute-force the script in there. Why not with style elements? Perhaps there is some issue I am not seeing,
[jQuery] ID (or name) of current tab
<html> <body> Hello folks, I'm trying to retrieve the ID of the current tab (a la Klaus) to pass to a function (tFocus). My attempt thus far... <tt>$("#editor").tabs({fxFade: true, fxSpeed: "fast", onShow: tFocus($(this).attr("id"))}); </tt>but this just returns "undefined" to tFocus - which I'm sure won't surprise many of you, but has stumped me. A hand up out of this hole would be appreciated. Cheers, Bruce </body> </html> _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Interface ImageBox modification - HTML caption text
I love interface. Imagebox creates a nice little slideshow from a group of links pointing to images. Check out the demo on eyecon [1]. I've made a modification to my own copy of imagebox.js. Originally, the anchor element's title attribute is used for plain caption text. I wanted to use HTML for the caption text, so my modification looks for a span.caption within the anchor. If it finds one, it sets the span's inner HTML as the caption text. If it doesn't find one, it falls back on the original behavior.
[jQuery] click and dblclick-problem
> but i think that there should be a click or dblClick event
[jQuery] Problem with 1.1 and metadata
At some point, it appears that window (as in, the JS object) gets run through the setArray function that metadata overloads. The window object doesn't have getElementsByTagName, so when I've done $.meta.setType("elem", "script"), I get: <span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch"><div class="errorTitle">this.getElementsByTagName is not a function</div><div class="errorSourceBox errorSource-exec"><img src="chrome://firebug/content/blank.gif" title="Break on this error"
[jQuery] [plugin] jdMenu - Finally Released!
<div>I finally got around to finishing the pages and packaging the plugin last night. Enjoy!</div> <div> </div> <div><a href="http://jdsharp.us/code/jQuery/plugins/jdMenu/">http://jdsharp.us/code/jQuery/plugins/jdMenu/</a></div> <div> </div> <div>Cheers,</div> <div>-Jonathan</div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] click and dblclick-problem
Hi, using jscript-1.1 i have registered click and dbclick event on the same tag $("#liste p").dblclick(function(){ ... } $("#liste p").click(function(){ ... } so that i have different bahavior on click and doubleclick. click works fine when i doubleclick the item the doubleclick gets execute, BUT click gets executed twice BEFORE. what am i doing wrong. thaks stefan -- Stefan Kilp SK-Software, Entwicklung & Beratung email: kilp@sk-software.de fon : +49 6151 93344-0 fax : +49 6151 93344-20 Herta-Mansbacher-Str.
[jQuery] jQuery 1.1 regression: $(a, c)... if c is a jQuery object, c = document...
I know this has already been reported... <a href="http://jquery.com/dev/bugs/bug/804">http://jquery.com/dev/bugs/bug/804</a> ... but does anyone know if this will be fixed or if it's going to be how it is moving forward? Rich _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] what's the difference betweendocument.getElementById('id') and $('#id') ?
> Now that it is laid out in front of me it's pretty obvious,
[jQuery] Dylan Verheul's Autocomplete Mod...
Good idea with the UNION statement Dan. Wouldn't have thought about running the query that way. andy -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dan G. Switzer, II Sent: Tuesday, January 16, 2007 2:16 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Dylan Verheul's Autocomplete Mod... Sean,
[jQuery] what's the difference between document.getElementById('id') and $('#id') ?
I'm changing some old js I had to use jQuery. I used to have a function like this (to select a certain text input on a form and automatically focus on it) ... : window.onload = function() { self.focus(); document.getElementById("userresponse").setAttribute("autocomplete","off"); document.getElementById("userresponse").focus(); } which worked fine ... then I replace it with this: $(function () { self.focus(); $("#userresponse").setAttribute("autocomplete","off"); $("#userresponse").focus(); }); which
[jQuery] Jquery Birthday
Hi, I develop a french site who manage the birthdays. Jquery is present to birthday celebrities. to see this birthday : <a href="http://www.mes-anniversaires.com/anniversaires_du_jour-anniversaire-id-1076.html"> http://www.mes-anniversaires.com/anniversaires_du_jour-anniversaire-id-1076.html</a> I love jquery :) M@th Ps : sorry for my bad english _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page