[jQuery] Toggling div based on radio buttons
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Calamity Subject: [jQuery] Toggling div based on radio buttons Basically I have a form with several fieldsets (I can wrap them in divs if absolutely necessary) that need to be displayed/hidden based on radio button selection. For example: There are 4 radio buttons: Software, Hardware, Telecom and Field Device If a user clicks Software, it should display the fieldset that contains pertinent information for software.
[jQuery] Small jQuery 1.0.4 problems
Hello I today upgraded the internal development version of our site from jQuery 1.0.3 to jQuery 1.0.4. The upgrade caused some minor troubles which I'd like to report: We use following simple snippet to get a certain :hover effect for our tables: $("table.ruler tbody tr,table.ruler > tr").hover( function(e) { $(this).addClass("ruled"); return true; }, function(e) { $(this).removeClass("ruled"); return true; } ); This continues to function but spams the Safari JavaScript error console with following
[jQuery] Toggling div based on radio buttons
In the markup, have the fieldsets use class="RequestDetail" id="InfoTYPE" where TYPE is Software, Hardware, etc. and all initially display:none. The radio group is name="RequestType" value="TYPE". Untested code, but here's the idea: $("#myform input[@name=RequestType]").bind("click", function(){ $("#myform .RequestDetail:visible).hide(); $("#Info"+this.value).show(); }); Complicate as needed. :-) -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf
[jQuery] Toggling div based on radio buttons
hi, been playing with jQuery for all of about 3 days, and I need some assistance on something simple. Basically I have a form with several fieldsets (I can wrap them in divs if absolutely necessary) that need to be displayed/hidden based on radio button selection. For example: There are 4 radio buttons: Software, Hardware, Telecom and Field Device If a user clicks Software, it should display the fieldset that contains pertinent information for software. If a user misclicked, or has an additional
[jQuery] Duplicate Events
> If i understand correctly we should only get one alert
[jQuery] Flash plugin and ExternalInterface
Hi, I'm using the really nice "jQuery Flash Plugin"( http://jquery.lukelutman.com/plugins/flash/ ) to embed some Flash in a page I'm building. This Flash needs to communicate with JS through Flash's ExternalInterface. When embedded with the plugin IE fires a JS error (a very useful "Syntax error"!). If I embed a different swf which doesn't use ExternalInterface all is fine. And of course everything is fine in Firefox. Has anyone run into any problems like this before? Cheers, Kelvin :) _______________________________________________
[jQuery] Duplicate Events
> I guess i am doing something wrong. If i try this
[jQuery] jQuery spotted at chrispederick.com...
... of web developer's toolbar fame. I'm wondering if he is thinking of incorporating that into the extension. http://chrispederick.com/work/webdeveloper/ -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New Site: Hope Cottage
We just launched a new site that uses jQuery. http://www.hopecottage.org/ -- Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Width + Height of a Media
Hi All, i would load a Video on a Page after click a Link, works fine. What can i do, the width and height is not known. This is my Code: $("#content").append("<object id='wmv' type='video/x-ms-wmv' width='' height='' data='"+url+"' > .... and so on I must have the width and height of the File that saved under 'url' Is there a way? -- Viele Grüße, Olaf ------------------------------- olaf.bosch@t-online.de http://olaf-bosch.de www.akitafreund.de ------------------------------- _______________________________________________
[jQuery] Select All elements between clicks? need help please
I have been trying to do a inline calendar for a client where you select the arrival date and then departure date and once the second click is registered in gives me an array of elemets between the two depending on class and highlights those spaces if there available. some code here at present : http://clients.ozdesign.com/104/book.php This is a work in progress, whilst trying to understand jquery more. -- View this message in context: http://www.nabble.com/Select-All-elements-between-clicks--need-help-please-tf2817436.html#a7863807
[jQuery] missing ; before statement
I have just downloaded the latest and greatest and now am getting this strange error message in firebug: missing ; before statement jquery.js (line 1933) <div class="buttonpanel_frontpage"> <h1 class="contentheading_frontpage"> line 1933 in jquery is: 1931 // evaluate scripts within html 1932 if ( type == "html" ) $("<div>").html(data).evalScripts(); 1933 1934 return data; I wasn't getting this error with the previous version. Suggestions? Leonie -- View this message in context: http://www.nabble.com/missing---before-statement-tf2818327.html#a7866329
[jQuery] unload and unload
> I'm a bit puzzled by the existence of two "unload" functions
[jQuery] this verus (this)
Why do I need to wrap the this with $(this) - (when using $('#...').each) - why isnt' that done automatically? -- View this message in context: http://www.nabble.com/this-verus-%28this%29-tf2810909.html#a7843947 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Check element visibility
Hello all, How can I check if a given element is visible or not (i.e. has display:block). I have the folowing situatioin - I need to hide all <li class="label"> elements that have ALL their <li class="clearfix"> descendant hidden. (if one or more of the <li class="clearfix"> descendants is visible, then the "label" must stay visible). I intend to do sometning like that: $("div.specifications li.label").each(function() { to_hide = 1; $(" li.clearfix", this).each(function() { if($(this).IS_VISIBLE
[jQuery] (Half-OffTopic) jQuery & Firebug
Hi all, Sorry if this thread is partly offtopic, but anyone here knows if there's an easy way to populate jScript in a external webpage in order to use it in firebug ? Let's say i'm on google.com and I would like to make some research on their page, using jQuery in the firebug console would be handy. I know it's possible with greasemonkey but I wonder if there's an easier way to do this ? -- Fabien Meghazi Website: http://www.amigrave.com Email: agr@amigrave.com IM: amigrave@gmail.com _______________________________________________
[jQuery] Show/Hide Buttons on one line
> In the fx module the display property is stored as oldblock,
[jQuery] Check element visibility
$("p").css("display"); <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of fullgarbage Sent: Wednesday, December 13, 2006 12:14 PM To: discuss@jquery.com Subject: [jQuery] Check element visibility Hello all, How can I check if a given element is visible or not (i.e. has display:block).
jQuery 1.0.4 Released
Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax functionality. As always, if you have any questions or concerns with new release, please feel free to discuss it on the mailing list. If you think you've spotted a bug, please add it to the bug tracker (http://jquery.com/dev/bugs/new/). So, without further ado, here's jQuery 1.0.4: Download - Compressed JavaScript
[jQuery] mirror of dean edwards packer anywhere?
Anybody know a mirror of dean edwards packer? The .NET application doesn have thesame compression results. Thanx Gilles _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Anyone who has experience with libraries other than JQ
Head over to WASP and chime in with any relevant thoughts. I'm sure they don't want their board spammed so please make it relevant to the article if you have any thoughts that pertain (I think JQuery's solution addresses them well). http://www.webstandards.org/2006/12/12/reducing-the-pain-of-adopting-a-javascript-library/ -- View this message in context: http://www.nabble.com/Anyone-who-has-experience-with-libraries-other-than-JQ-tf2815416.html#a7857246 Sent from the JQuery mailing list archive at
[jQuery] iResizable with multiple resize problem
Hi all, I went through some issues with the iResizable plug-in, especially when dealing with multiple resizable instances. I already filed a bug some time ago (<http://jquery.com/dev/bugs/bug/478/>), but I would be interested in knowing if anybody has found workarounds to that. You can find a test case here <http://svn.project-ojibwe.org/~sebastien/ iresize/resizable-bug.html>. Thanks ! -- Sébastien _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.0.4 Released
Happy dance, happy dance. Thank you all for this. Your efforts are truly appreciated. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Tuesday, December 12, 2006 5:44 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.0.4 Released Hi Everyone - Another fantastic release of jQuery is ready for your consumption. This release includes a number of bug fixes (as usual) along with some much-needed improvements to jQuery's Ajax
[jQuery] Show/Hide Buttons on one line
--
[jQuery] interesting background issue in FF 2
Hey all, I have this page I am working on: thePage :" http://ierev.informationexperts.com/test.htm http://ierev.informationexperts.com/test.htm " And in FF when the box is opening or closing, there is background image thing happening. Not sure if I can explain it well. But here are the steps I take to see the issue 1. go to url 2. click on any of the top tabs ie. portfolio, gsa schedule. If you look below the box you will see the issue, if you click on gsa schedule you will see the main bg shift
[jQuery] Show/Hide Buttons on one line
I'm sure I must be missing something basic, but I cannot persuade buttons which I'm showing and hiding with jQ to stay on one line. It works fine with instant show/hide, but not with speeds (slow/medium/fast). Any ideas/hints/help will be appreciated, Jez -- View this message in context: http://www.nabble.com/Show-Hide-Buttons-on-one-line-tf2813143.html#a7850364 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Apps used to reply to this list
Hi people, I seem to have problems creating a reply to the messages on this list, whenever I post a reply, it always creates a new thread rather than continue another, I'm using Thunderbird 1.5.0.8 on the mac. Does anyone else use this program/version and can tell me what I'm doing wrong. If not, can people tell me which app. they use so I can make a switch. Cheers, Mike. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Using JQuery to manipulate href (URL params)
I'd like to use JQuery to hook up a check box to flip a URL param in a bunch of hrefs. The href would either be 'http://myapp/do/this?id=3&sendAlert=1' or http://myapp/do/this?id=3&sendAlert=0' Something like: $('#sendAlert').change(function() { sendAlert = (this.checked ? '1' : '0') ; $('#panel a').href.removeTheSendAlert - not sure how to do this $('#panel a').href.append('&sendAlert=' + sendAlert); The two problems I'm having are: 1. What is the code to remove the old param of sendAlert (you can
[jQuery] Show/Hide Buttons on one line
--
[jQuery] jQuery 1.0.4 Released
I see now...apologies. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Klaus Hartl Sent: Wednesday, December 13, 2006 8:25 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.0.4 Released Andy Matthews schrieb:
[jQuery] jQuery 1.0.4 Released
Hey John... In the API docs, is there any reason why EVERY one of the listings has the word jQuery before it? Isn't that rather redundant? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of John Resig Sent: Tuesday, December 12, 2006 7:44 PM To: jQuery Discussion. Subject:
[jQuery] Show/Hide Buttons on one line
Have you double checked to make sure the widths are set correctly? Could be that when the buttons get longer/shorter, it bumps another button down to the next line? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of jazzle Sent: Wednesday, December 13, 2006 4:25 AM To: discuss@jquery.com
[jQuery] jQuery 1.0.4 Released
Agreed... I can say that I knew all of you "when"... <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Mike Alsup Sent: Tuesday, December 12, 2006 9:01 PM To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.0.4 Released
[jQuery] Efforts to Convert Folks to jQuery
Guys, some of you may know of my efforts to get jQuery more exposure. Part of that is pro-actively approaching Ajax notables in the ColdFusion community in an effort to get them to give some face time to jQuery. Well I'm happy to announce that it looks like I've converted one of the notables in the ColdFusion community; Joe Danziger. Joe's written several articles on Ajax primarily focusing on Prototype/Scriptaculous with ColdFusion. You can read about it here as well as his comments about jQuery:
[jQuery] Disabling <a> tags
<html> <body> Hello folks, Another simple question I'm sure. I have a preview page in which I want to display the text of a tags, but to disable the tag by changing its href contents to #. The code I use to populate the div (#preview) after an ajax call is.... <tt>function showResponse(json) { if (json.fields) { for (var i = 0; i < json.fields.length; i++) { var field = json.fields[i]; $("#theIndicator").hide(); switch(field.yesno) { case
[jQuery] Is it a bug
Hi, guys I have a problem when i use jquery's ajax module. My jquery code is here: $(document).ready(function() { $("div#test").load("xml_to_page.jsp",{"class":"Img","sn":"1"}); }); xml_to_page.jsp is file transform xml to html String xml = "\\xml\\" + class + ".xml"; String xsl = "\\xml\\item_attr_form.xsl"; try { XSLTHelper.transform(xml, xsl, out); } catch ( Exception e ) { e.printStackTrace(response.getWriter()); } it works in IE, it can display html created by the xml_to_page.jsp , but it doesn't
[jQuery] Dynamically added "click" registration always returns the last value added
Hello, I'm parsing this JSON: {"result":"success","successText":"Your changes have been saved successfully.","errorText":"","memberID":"49","mode":"edit","jobs":[{"jobID":"1","companyName":"SAIC"},{"jobID":"2","companyName":"Aspentech"},{"jobID":"3","companyName":"Cardinal Health"}]} ...with this Javascript: $("#panelManageJobView").empty(); for (var i in json.jobs) { var j = json.jobs[i]; var div = "<div id='job" + j.jobID + "'><h1 id='jobTitle" + j.jobID + "' style='display:inline;font-weight:normal'>"
[jQuery] Dynamically added "click" registration always returns the last value added
You're using the variable "j" to hold a reference to each element of the jobs array as you go through the loop. After the loop finishes, "j" is a reference to the last element of that array. Later, when the click function gets called, "j" still refers to that last element - regardless of which element triggers the event. You need to keep track of each of those elements separately. The easiest way to do that is with a closure. Also, you don't want to use "for in" to iterate over an array. Use a C-style
[jQuery] .selectedIndex VS jQuery
Why doesn't $("#b6").selectedIndex = $("#s6").selectedIndex; work? (Assuming #b6 and #s6 are similar select boxes of course. Copying billing to shipping address BTW) I know it's not really how jQuery code usually works, but would like to understand why not. -- View this message in context: http://www.nabble.com/.selectedIndex-VS-jQuery-tf2806806.html#a7831040 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] jQuery is now on gotAPI.com!!!
FYI -- for all those that know about <a href="http://gotapi.com">http://gotapi.com</a>, jQuery documentation (ver 1.0.3) is now available on their site. If you don't see it under the "AJAX and Frameworks" section, you may need to refresh your browser cache. Rich _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page