[jQuery] Toggle div based on radio buttons
Hello everyone, I'm having trouble getting started with a simple piece of code (I'm sure) but for some reason since I'm dealing with radio buttons it seems hard. What I need to do is "toggle" a div based on whatever radio button is checked, Lease or Sale. I basically want to put a show() for the div when Lease is clicked on and a hide() on Sale when it is clicked on, not hard, but I don't know how to do it with one click event. Since I'm dealing with two separate elements, do I need two click events?
[jQuery] tableEditor plugin Updated : Add new rows
On Wednesday, November 29, 2006 11:52 PM Brice Burgess <> said:
[jQuery] Change href of external links
> One question: is it not possible to combine .not arguments?
[jQuery] Tooltip plugin update
Jorn... Would this be expected to break current installs? <!----------------//------ 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 Jörn Zaefferer Sent: Wednesday, November 29, 2006 3:59 PM To: jQuery Discussion. Subject: [jQuery] Tooltip plugin update Hi folks, just wanted to let you know that
[jQuery] Getting the $.val() of a select element in IE
The $.val() function returns an empty value for a <select> element in IE if a value attribute is not specifically defined in each option. In Firefox the value (if not found as an attribute of an option) is extracted from the innerHTML/text of the element. Why this doesn't happen in IE is beyond me? Here's the code; --- <script type="text/javascript"> $().ready(function() { alert($('select').val()); $('select').change(function() { alert($(this).val()); }); }); </script> <select> <option>a</option>
[jQuery] MyDayLite (to-do list) release. All files included.
I hear what you are saying about some features not being intuitive, but the video that he provides seems to show all the features without nagging you with tooltips and such. You don't even have to read a manual. After watching the video and using the app, I am glad that there aren't tooltips on every feature. They would just get in the way of using the application. -Marshall -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Chris W. Parker
[jQuery] Interface Selectable.. function on deselect
I've just started using jQuery and the really nice Interface plugin and found that I was needing to call a function when something was de-selected using the Selectable plugin. As a quick hack, I've added a few lines to the iselect.js code, but would love to see this integrated properly into the core plugin. First, I changed the following code: this.f = { a : o.accept, o : o.opacity ? parseFloat(o.opacity) : false, sc : o.selectedclass ? o.selectedclass
[jQuery] iutil.js problem
Hi, i meet a problem with the plugin iUtil.js this line : es = e.style doesn't seem to work in IE7. Anyone could help ? Thanks -- View this message in context: http://www.nabble.com/iutil.js-problem-tf2731985.html#a7620214 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Tabs update: disabling/enabling
Nice. Much cleaner than: $(...).addClass('tabs-hide'); m. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Thursday, November 30, 2006 1:55 AM To: jQuery Discussion. Subject: [jQuery] Tabs update: disabling/enabling Hi jQuerians, just wanted to let you know, that I've just uploaded and committed a new version of Tabs - I added support for disabling/enabling tabs: 1. via option immediatly: $(...).tabs({disabled: [2, 3]});
[jQuery] MyDayLite (to-do list) release. All files included.
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Juha Suni Sent: Wednesday, November 29, 2006 10:37 PM To: jQuery Discussion. Subject: Re: [jQuery] MyDayLite (to-do list) release. All files included. 4. This was something I hadn't seen before and really intuitive. You do it like you would with a pen and paper. Try drawing a line on top of the item, from left to right. Yes, with your mouse - click'n'drag. To remove the line do it from right to left. Works amazingly
[jQuery] swap z-indexes
hi, im using a few prebuilt scripts together, namely jQuery easing plugin from http://gsgd.co.uk/sandbox/jquery.easing.php and jQuery Tooltip by Jörn Zaefferer (http://bassistance.de) I have an unordered list of images all floated left and displayed inline with absolute positioning and tpo and left margins to make them look random. All is well, I was just hoping somone would have a more elegant solution to swapping z-index on the 30 or so images on .hover in/out states. code: var my_zIndex; var method
[jQuery] How can this not work? (Safari Problem)
Hi, Have a look at this code: function showfeedinfos(feedid){ $.get("getfeedinfo.php", {feedid: feedid}, function(feedinfo) { $("#f_item_"+feedid+" .feedinfo").hide().html(feedinfo).slideDown("slow"); deblur(); }); } On every browser I've tested, this works without any problems, just in Safari not, it just doesen't show anything. It actualy reaches the inside of the function, but for some reason it doesn't fill the div with the loaded content (the variable feedinfo has the
[jQuery] http://blog.joshuaeichorn.com/slides/FunWithJQuery/
another jquery good news... http://blog.joshuaeichorn.com/slides/FunWithJQuery/ cheers c",) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Cleartype broken after $.load
<html> <head> <style> P { margin:0px; padding:0px } body { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body>Hi Karl,<BR> <BR> That has fixed the problem in all browsers apart from IE7. Any ideas?<BR> <BR> TIA,<BR> <BR> Gerry<BR><br /><hr />Be one of the first to try <a href='http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d' target='_new'>Windows Live Mail.</a></body> </html>_______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] getElementById help
Hello there, I've been been building an FAQ page that displays a list of questions but keeps the answers hidden until the question is clicked. I've added a bit of jquery to animate the show/hide stuff and that all works fine. However, the FAQ questions need to be linked to from other areas of the site as well. I've added IDs to all the questions and I'm linking to them with anchor links (e.g. faqs.html#q-1). When the page loads the script needs to find the corresponding ID and display the answer
[jQuery] Tabs update: disabling/enabling
Hi jQuerians, just wanted to let you know, that I've just uploaded and committed a new version of Tabs - I added support for disabling/enabling tabs: 1. via option immediatly: $(...).tabs({disabled: [2, 3]}); 2. Or via: $(...).disableTab(3); $(...).enableTab(3); As usual in Tabs, no zero-based index. http://stilbuero.de/jquery/tabs/#section-1 Cheers, Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] TableEditor: Flexible In Place editing of HTML Tables (with tableSorter support)
I dig what you're doing here. The style does suck, but the code is solid as far as I can tell. I have aspirations to use this soon but I haven't yet. Once I do I'll throw you some more detailed comments. -ALEX -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Brice Burgess Sent: Tuesday, November 28, 2006 2:44 AM To: jQuery Discussion. Subject: Re: [jQuery] TableEditor: Flexible In Place editing of HTML Tables (with tableSorter support) I've
[jQuery] Klaus's (disappearing) tabs
<html> <body> Hello folks, I've been using Klaus's tabs plugin to separate the main sections of an editor for an e-learning application - and until I tried to "improve things" today, it worked brilliantly. When the plugin worked, it was within a two section frame - one for a tree view of the lesson and the other for the editor. To avoid the need for a frame, I merged the two frame contents into a single page and that's when my problem began. I now find that the tabs no longer "work" properly -
[jQuery] OT: mail delivery
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.3790.507" name=GENERATOR></HEAD> <BODY text=#000000 bgColor=#ffffff> <DIV dir=ltr align=left><SPAN class=236472819-28112006><FONT face=Verdana color=#0000ff size=2>Well... I did notice the same thing with a mail I sent to the list a few days ago. Arrived in my inbox approx 8 hours after I sent it.</FONT></SPAN></DIV><BR> <BLOCKQUOTE
[jQuery] tableEditor plugin Updated : Add new rows
Ladies, Gents -> I've updated tableEditor to include (preliminary) support for adding new rows. To accomplish this I've allowed global access to tableEdtior options via the "vault" functions. This has the beneficiary side-effect of allowing multiple tableEditors to coexist peacefully on the same page. Better yet -- the styling also got a face lift ;) See the new example @ ; http://dev.iceburg.net/jquery/tableEditor/example_new.php All comments appreciated. ~ Brice _______________________________________________
[jQuery] Suggestion for interface / sortables
Hi, As I said, I am handling this server side for bigger dynamic generated lists, but sometimes lists are static and I still want to allow simple resorting of those lists. In those static cases, I could save the serialized array to a cookie or a session and would like to restore the order using an initial client side resorting of the elements. Currently you are bound to a server side saving of the layout to restore its order. Using a client side approach would free you from that, allowing to use
[jQuery] Suggestion for interface / sortables
<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:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] MyDayLite (to-do list) release. All files included.
On Wednesday, November 29, 2006 7:22 AM Brian Litzinger <> said:
[jQuery] HI
Hi everyone: I think a inuss, I can not find jQ with JSON, I want to hold the object on brower. example i want to transfer my form data to JSON, <br clear="all"> -- yours 齐永恒 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Qucik ?: Checking if element exists in a jQ object?
Is there a quick way to check if an element exists in a jQ object stack? It seems that .find(), .filter(), .is() all take CSS selectors (strings)? Here's an example of what I'm trying to do; aaa bbb <p class="noinc">ccc ddd <script type="text/javascript"> $().ready(function() { var row = $('p'); var fRow = $(row); fRow.not('.noinc'); row.each(function(i) { if ($(fRow).filter(this).size() > 0) // element is in fRow , do Something! else // element is NOT in fRow, do Something else! }); }); </script>
[jQuery] Unsuscribe how to OT
<html> <head> <style> P { margin:0px; padding:0px } body { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body>Thank you, Karl! I was trying to figure this out today as well. I just needed to switch my registered email with the listserv. I second putting 'unsubscribe' info on the /discuss/ page. Particularly, a link to <a href="http://jquery.com/mailman/listinfo/discuss_jquery.com" target="_blank">http://jquery.com/mailman/listinfo/discuss_jquery.com</a> -Tony <blockquote style="border-left:
[jQuery] executing a function thickbox closes
Hey all, I am trying to execute a function when thickbox gets closed. using the code below I can get the alert box to run: $("#TB_closeWindowButton").click( function(){ alert('d'); TB_remove(); }); but if I use: function TB_show(caption, url, imageGroup, fn) <-- added "fn" $("#TB_closeWindowButton").click(
[jQuery] jQuery enhancements
Hi folks, there are some tickets on the tracker that could use input from more then one or two readers. Would be nice to have some additional comments (good, bad, improvements, ideas etc.) on these: - http://jquery.com/dev/bugs/bug/448/ - http://jquery.com/dev/bugs/bug/445/ - http://jquery.com/dev/bugs/bug/444/ - http://jquery.com/dev/bugs/bug/447/ - http://jquery.com/dev/bugs/bug/379/ - http://jquery.com/dev/bugs/bug/399/ - http://jquery.com/dev/bugs/bug/437/ And two rather old ones: - http://jquery.com/dev/bugs/bug/134/
[jQuery] unsubscribe STOP CANCEL REMOVE
can you please remove me from this mailing list. too much filling my inbox... thank you _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Lite build not working for plugins?
Anybody have the lite build working for plugins? When I include plugins in my lite build the javadocs are not stripped (but they are from core). The min and pack builds seem to work just fine. lite.js looks like it should work but it doesn't (for me). Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Tooltip plugin update
Looking really good Jörn... Regards, Matthew Delmarter
[jQuery] Unsuscribe how to OT
Hi every: I need to unsuscribe this address from the list and start with my Gmail account, does anybody know how to do this? Cheers -- ReynierPM 5to Ing. Informática Maestro de poco, aprendiz de mucho _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Getting the $.val() of a select element in IE
The $.val() function returns an empty value for a <select> element in IE if a value attribute is not specifically defined in each option. In Firefox the value (if not found as an attribute of an option) is extracted from the innerHTML/text of the element. Why this doesn't happen in IE is beyond me? Here's the code; --- <script type="text/javascript"> $().ready(function() { alert($('select').val()); $('select').change(function() { alert($(this).val()); }); }); </script> <select> <option>a</option>
[jQuery] Disable and re- Enable a button possible in IE?
As part of a client side validation library I "disable" and "enable" the submit element (generally a jQ object referencing a single <button> or <input>) depending on the state of form elements. This seems to work well in Mozilla. In IE(6) my routine disables the submit element, but never re-enables it! Here's my code --> --- disable: function() { if (!this.submit) return; this.submit[0].disabled = true; this.submit.fadeTo(1,0.5); }, enable: function() { if (!this.submit) return; this.submit[0].disabled
[jQuery] jQuery based MVC framework - Need Help.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi folks, as part of a current project I'm working on that will be using quite some Javascript I decided to create a lightweight (< 10kb!) MVC framework using jQuery in order to create a very clean and organized JS code base other people will be able to understand and work with as well. In a nutshell
[jQuery] jQuery 1.1 API improvements (macros, events)
Hi folks, the discussion so far led to the conclusion to remove all those macros for css() and attr(), eg. color() or val(). css() and attr() are already quite flexible: Both allow you to get a single property, set a single property or set a set of properties. I wonder if it would help to extend them to allow getting of multiple properties at once. A possible implementation would accept an array of String and returns a key/value object, with the values of the array as the keys. Is this useful? Another
[jQuery] Checkbox: Selecting all Previous
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Glen Lipka Sent: Wednesday, November 29, 2006 9:52 AM To: jQuery Discussion. Subject: Re: [jQuery] Checkbox: Selecting all Previous QUESTION OR FEATURE SUGGESTION arrayPos() would return the index of the array. So if I had 4 links with a class of "foo" and I clicked the third one, $arrayPos(".foo", this) would return 3 (or 2 if it started at zero). Maybe I should put this in a seperate message? Glen ------ Actually
[jQuery] New plugin: del.icio.us like text grow
Hi, I've written a plugin that matches the automatic text box growth functionality in the tag search on del.icio.us. http://leftlogic.com/info/articles/auto_grow_text It can read CSS styling to control the min and max width of the input box. Let me know what you think, or if you spot any bugs. Thanks, Remy Sharp. -- View this message in context: http://www.nabble.com/New-plugin%3A-del.icio.us-like-text-grow-tf2717821.html#a7577611 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] Checkbox: Selecting all Previous
<div>This might be a newbie question, but I am having trouble with it.</div> <div> </div> <div>I have 4 checkboxes vertical</div> <div> <div> </div> <div><input type="checkbox"><label>box 1</label><br /> <div><input type="checkbox"><label>box 1 and 2</label><br /> <div><input type="checkbox"><label>box 1 and 2 and 3</label><br /> <div><input type="checkbox"><label>box 1 and 2 and 3 and 4</label><br /></div> <div> </div> <div>When I click one, I want to check the boxes of all the ones previous
[jQuery] How can this not work? (Safari Problem)
> $("#f_item_"+feedid+" .feedinfo")
Next Page