Bloggers Wanted
Hello All - On the road up to 1.0 there is one thing, that we've been lacking in, that we need more of: Lots of jQuery bloggers! With my commitment to squishing bugs in the jQuery core, adding new features, writing documentation - I just don't have time to keep the blog updated with all the hot new projects that are coming out. So, here is what I'd like: I'd like to turn the jQuery blog into a group blog, discussing jQuery, Javascript, jQuery Plugins/Projects/Apps, AJAX - anything that relates back
[jQuery] Getting the TEXT of an option tag, not the value.
THAT is what I need! I'll never be sure WHAT the selected element is. Thanks Mike! <!----------------//------ 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: Monday, July 10, 2006 11:40 AM To: jQuery Discussion. Subject: Re: [jQuery] Getting the TEXT of an option tag, not the value.
[jQuery] Adding class to parent?
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY > <DIV> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"><!-- Letter Heading --> <TBODY> <TR> <TD><!-- Left margin --> </TD> <TD> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=234235115-10072006>Hi all,</SPAN></FONT></DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=234235115-10072006>Given
[jQuery] Getting the TEXT of an option tag, not the value.
Sean... Before I try that, let me clarify that I'd like to get the text of the currently selected option, regardless of it's position. It could be the first option, it could be the tenth, but I won't know that ahead of time. Do I need to do this in two lines then? Get the currently selected element, then get it's text? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original
[jQuery] jQuery.clean
Just want to help. I think jQuery.clean function can cause trouble in some cases And I suggest an improvement. Current code: clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { // Error will occure if a[i] == null or undefined // 'a[i].constructor' is null or not an object if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>"
[jQuery] Adding class to parent?
<!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.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=937511316-10072006><FONT face=Verdana color=#0000ff size=2>You've gotten the answer already, but to help for next time... This confusion between a jQuery object and a DOM element will come up again and again.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN
[jQuery] RSS Feed Reader - Re-visit
<!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.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=765381915-10072006><FONT face=Verdana color=#0000ff size=2>Jim, take a look at your XML feed. <description> is plain text, so you're getting exactly the data your code is searching for. The HTML version is in <content:encoded>. Not sure if that colon will
[jQuery] RSS Feed Reader - Re-visit
As a follow up to the <a href="http://www.nabble.com/RSS-Feed-Reader-tf1831386.html#a5160534">previous thread on this subject</a>, and using the suggested solution <a href="http://www.levelfield.com/rss.html">offered here</a> , I have been trying to read the xml from the feed source rather than a file uploaded to the server. My demo using a saved file is here: <a href="http://www.jimdavis.org/demos/feed_reader.html">http://www.jimdavis.org/demos/feed_reader.html </a> The URL for the feed is here:
[jQuery] Quick Quiz
Not I. <!----------------//------ 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: Sunday, July 09, 2006 12:50 PM To: jQuery Discussion. Subject: [jQuery] Quick Quiz I'm just curious, does anyone actually use any of these jQuery/CSS selectors? _______________________________________________
[jQuery] Bloggers Wanted
> ...
[jQuery] Dynamically loading scripts
> Note that with Safari it won't work to dynamically create a
[jQuery] dilemma/discussion about cloning?
A clone is an exact copy of the object which is being cloned. We all agree on that, but we all don't clone the assigned events... Why don't do it? Why do it? Your thoughts and possible implementation on this problem... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Rounded corner with Border
--
[jQuery] SVN 135 error
I'm getting this (fatal) error with the latest SVN: missing ] after element list jquery.js (line 1074) f = function(a,i){return [object Object]} This a bug? Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dynamically loading scripts
> I have used dynamic script tags in Safari versions as old 1.2
[jQuery] Fixes for issues #55 - 59
I have fixes for <a style="cursor: url(chrome://targetalert/content/skin/new.png), default;" href="http://proj.jquery.com/dev/bugs/1/?sort=ticket&asc=1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> issues #55 - 59</a><span> </span><span>and can commit them if I can get commit access (or you can get them <a style="cursor: url(chrome://targetalert/content/skin/javascript.png), url(chrome://targetalert/content/skin/new.png), default;" href="http://aheimlich.freepgs.com/jquery/jquery.js"
[jQuery] fadeIn and IE
I'm having trouble with fadeIn/Out working in IE. I think I asked this a week or so ago and someone mentioned making sure the element being faded hasLayout. So I gave the elements width, height, display: inline-block, etc and it still doesn't work. I have 4 fairly different things I'm working on that I'm trying to use fadeIn with and they all work perfectly in Firefox, but in IE I might as well be using show() or hide() because there is no fading. Does anyone have an example of fadeIn/Out working
[jQuery] Quick Quiz
> I'm just curious, does anyone actually use any of these jQuery/CSS selectors? I've never used any of those. If they're taken out, anyone who needs them could manually add them back to jQuery.g or there could be a plugin for extended features. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Ajax Navigation Problem
Hi I was thinking and giving a second try on my 100% ajax system. The first try was good, but the problem of browser navigation buttons (back, forward, reload) make me stop it. Now Im using Jquery, there is a easy way to make this? thank you again _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dynamically loading scripts
I'm trying to dynamically load a script. It works great in FF1.5 and Opera9, but IE6 fails -- index.js $(document).ready(function() { $("#btn01").click(func_a); }); function func_a(_event) { $("h2").after("<h2>Current Script script_b.js</h2>").remove(); $("#btn01").val("click to switch to a"); $("script.current").remove(); $("head").append('<script type="text/javascript" src="script_b.js" class="current"></script>'); } -- script_b.js function func_b(_event) { $("h2").after("<h2>Current
[jQuery] Dynamically loading scripts
Thanks again. I'm humbled, That worked. I should have been kinder to IE. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dynamically loading scripts
> $("head").append('<script type="text/javascript" src="script_b.js" class="current"></script>'); It's not IE's fault. What you're doing ends up being invalid, but Firefox and Opera are letting it slide. append() uses the underlying DOM appendChild() function, which does not take HTML, but takes a DOM element. So jQuery creates a wrapper DIV, sets its innerHTML to your HTML, then does the appendChild with that wrapper DIV. Can you put a DIV in HEAD? :-) Instead, you need to create a DOM script element
[jQuery] Rounded corner with Border
Hi Anyone was able to make automatica rounded corners with borders? ie: a withe box with a rounded black border. Thank you _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] $(foo)[n]?
Hey John, Do you still think we can get $(foo)[n] and $(foo).e into the 1.0 release? It would sure be an improvement over $(foo).get(n), and a little faster too. Would you like me to work up a patch for this? I wouldn't even complain about the messed-up SVN! :-) While I'm at it I would change the new global _$ to be jQuery._$ instead, to avoid possible conflicts. Let me know... Thanks! -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Spammer in SVN
How should this be handled? http://proj.jquery.com/dev/bugs/bug/10/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Function not defined
Thanks Michael that help a lot. It was a simple mistake in my code. I was actually loading the wrong script in which func_b was not define. After including the correct script it work as accpected. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Function not defined
> When trying to attach a function to a node event, and the
[jQuery] Function not defined
When trying to attach a function to a node event, and the function is in a script that was dynamically loaded I get "myfunction is not defined" error. Is it possible to do this at all, or am I just going at it the wrong way. here is a test page http://www.brainknot.com/code/javascript_sandbox/dynamic_script_load/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] generating links and events fires twice?
The case i am thinking of: A custom calendar which is being build completely using jQuery client side. How? The days can be clicked and their ID's are based upon year/month/day (eg 20060121 for jan. 21st). When the user clicks the a different month or year, the calendar gets regenerated: - e.g. the div is cleared using $().html('') - New month is added - Events are assigned for the new links. Possible problem? The user is in january, clicks on next month and then decides he needs to be in the previous
[jQuery] fire event when a TR comes into view?
I have a table with a large number of rows, using overflow:auto so the table has a scrollbar. I have a few tr's in it with a class of "fire", I'd like to run a function when one of those scrolls into view. Is there an efficient way to do that with jquery? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] fire event when a TR comes into view?
> I have a table with a large number of rows, using overflow:auto
[jQuery] Bug: #48 (Seach scope does not work as expected with content loaded via $.get)
Ticket #48 (bug): http://proj.jquery.com/dev/bugs/bug/48/ My workaround for this bug: $(document).ready(function(){ // do fancy stuff when client clicks the ajax anchor $("#portlet a.ajax").click(function(e){ e.preventDefault(); // load the target content and do something with it $.get(this.href, function(content){ // create empty div and set content var target = $(document.createElement('div')).html(content) // search the content
[jQuery] Jquery-lite?
--
[jQuery] Dropdown menu
<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] $(function) shortcut and event.js dependency
The new $(func) shortcut for $(document).ready(func) means that jquery.js is dependent on event.js so be sure to include event.js! It seems obvious if I'm calling .ready() explicitly, but it tripped me up since it was hidden. I tend to use .bind() explicitly for other events to save the event.js include, and was absent-mindedly thinking of $(func) as an onload instead of onready. I think things are fine as-is, as long as it's documented. _______________________________________________ jQuery mailing
[jQuery] Bug #54 (appending thead to table)
Ticket #54 (bug): http://proj.jquery.com/dev/bugs/bug/54/ I just worked on my easy DOM creation method and added some "appendChild fix" :) Take a look: http://www.aloyzas.lt/javascript/jquery/dom-append-fix.js I hope it can help. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Jquery-lite?
Hi John, I knew that, and I need all the files anyway (everything that is in jquery 1.0a) I just don't need xpath, and advanced css selectors. There is no way to currently configure my download to not have these functionalities included. Thanks, Wesley >From: "John Resig" <jeresig@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] Jquery-lite? >Date: Sat, 8 Jul 2006 10:26:50 -0400 > >Mr Xia - > >On the jQuery homepage
[jQuery] Jquery-lite?
Hi, Can anyone tell me which functions are responsible for finding the elements with the $() syntax? I'd really like to downgrade jquery so that all I can do is: $(document) $('#single_element') $('.class') These are all I need, I don't need xpath, I don't need nested selectors. The reason I want to remove them is simple, making the library smaller. Jquery is now 15kb instead of the advertised 10kb on the main page, and I'd like that size back, or less, if possible :) I'm not all that good with javascript
[jQuery] visual jquery -> visual docs
Maybe I am the only one who has experienced this, when I am on the visualjquery site and click on the visual docs link (top left) a a chunk of information is visible but only for a second or so (the information scrolls on for ages - I have never been quick enough to scroll it) This is true on FF, IE and opera on w2k. My question is 'is something broken or is it me?' http://www.visualjquery.com/visual_docs thanks - S _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Accessing element
<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;}
Next Page