[jQuery] shortcut to attributes
You have to use $("<selector>").get(0).attributes["<attrname>"].value to get an attribute , it would be nice to see $("div.lightbdiv").A["href"] or similar notation. How do I get started helping to develop Jquery, because I know how to implement that, its just that then it would be just for me and noone else. <br clear="all"> -- Thomas Devol Corporate Technologies Advantage 417 S. Patterson Spur Springfield, MO 65802 PH: 1-417-832-0756 _______________________________________________ jQuery mailing
[jQuery] Delayed $(document).ready in 1.0a on refresh (FF/Flock/Opera)
I'm seeing a delay in $(document).ready() when I reload a page in Firefox (1.5.0.4), Flock (0.7.1) and Opera (9.0). IE performs as desired (has that sentence ever been written before?) This seems to have been introduced in the 1.0a version, or sometime since /dev/sane. I've set up two simple example pages: http://jfsiii.org/c/jq/ok.html (uses /src/dev/sane [REV 88]) http://jfsiii.org/c/jq/delayed.html (/src/jquery-1.0a.js) When you initially load the pages you will probably
[jQuery] Problem with unordered list, effects and AJAX requesting
I hope this is the proper place for some help regarding on how to accomplish my goal. If not, my apoligize.. My (X)TML-structure looks like this: <body> [...snip...] <div id="top-content"></div> <ul id="quickmenu"> <li class="show-content" id="webmail"><a href="link/to/webmail/ when/js/is/not/available">Webmail</a></li> <li class="show-content" id="website"><a href="link/to/login/when/ js/is/not/available">Login</a></li> <li class="show-content" id="news"><a href="link/to/new/when/js/is/ not/available">Latest
[jQuery] event.js and jQuery 1.0a
Hey list, Which version of event.js plays well with the new 1.0 alpha of jQ? I've tried a couple different versions with no luck, and I'd really like to take the 1.0 alpha for a spin. -Stephen _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Signal to noise ratio
Guys, you may not have noticed that the owner of this list likes to top-post. Or bottom-post. Or mid-post. Whatever suits his fancy. So it seems a bit much to complain about top-posting when the list owner doesn't give a hoot. The real issue is snipping out irrelevant quoted text, which needs to be done wherever you place your reply. > While we're on the etiquette topic... I recommend NOT top posting. > > How about visiting; > http://www.blakjak.demon.co.uk/gey_stv0.htm Interesting. That page has
[jQuery] jQuery fails in IE sometimes...
<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 name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"Trebuchet MS"; panose-1:2 11 6
[jQuery] Easier way to iterate?
I'm a js newbie and already love jQuery Problem: I'm trying to go through table rows and assign a class "button" to the last cell. The code below works but it is very slow and hackish. Any suggestions? $(".stripe tr").each(function(i){ $(".stripe tr:eq("+i+") td:last").addClass("button"); }); Thanks in advance! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Signal to noise ratio
<!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=421411519-03072006><FONT face=Arial color=#0000ff size=2>Well, it would be a shame if you couldn't see how much of a mess these top posts leave, so here's an image imbedded in this html email. Taken from Outlook 2003. Hope the image comes through for you.</FONT></SPAN></DIV>
[jQuery] $.slideToggle() toggles the slide effect
Hi, I'd like to propose the following function for jQuery: /** * This function slides the matched elements either down (showing them) or up * (hiding them) depending on their previous state. * $("p").slideToggle("fast"); */ jQuery.prototype.slideToggle = function(speed, callback) { return this.animate({height: this.css("display") == "none" ? "show" : "hide"}, speed, callback); }; Konstantin _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Signal to noise ratio
Hello, I'd like to make a request of the list. Can we all please trim any unnecessary portions of the prior message when we reply? A perfect example is what's going on in the "jQuery 1.0 - Alpha" thread right now. One line questions like "Are there new docs?" and simple "I found a bug" statements are leaving John's original 6 page post in the reply. I've noticed this since joining this list a few weeks ago and is frustrating on its own but maddening if you get the digest version. I (of course :)
[jQuery] Imageless alpha transparent rounded drop shadows -- performance
I've been toying with a new project and don't know rather I should continue or not -- as the approach may never be optimizable. Basically, a alpha transparent drop shadow is drawn around any element with the class "iceShadow" given to it. Alpha transparency is achieved through opacity so it works under IE (without having to rely on .PNGs and the AlphaImageLoader filter). The dropshadow's color and shape (thickness + layers) are configurable. As of now my example is very "drafty". I am really trying
[jQuery] Form plugin
Is this plugin available for 1.0a? There's no link on the plugins page, and I know up until now it was included in jquery.js... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
jQuery 1.0 - Alpha Release
I would like to take this opportunity to annouce the first release of jQuery 1.0 (dubbed jquery-1.0a). This new 1.0 release is designed to be completely comprehensive, small-sized, and bug free. It will be supported for a very long time, into the forseeable future. This release is currently available at the following URL: http://jquery.com/src/jquery-1.0a.js What I need everyone to do is to download this new release and test it with their specific plugins or applications. If you spot any strange
[jQuery] Assigning $() function directly to a variable
> Mike, I did some more digging and I think I've resolved the
[jQuery] Change TD className corresponding to the TD above
<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=windows-1255"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] $.browser suggestion
John, I'd like to suggest a change to the $.browser variable. Instead of setting it to a string, what about setting it to an object containing a property that identifies the browser. For example, instead of setting it to "msie" the value would be { msie:true }. The advantage of doing this is that it allows for a future enhancement of adding the version number, so you the value might be { msie:5.5 }. I use a similar setup in my own code and it is very handy. Making $.browser an object now would allow
[jQuery] Unbind event
Hi, I have a link with a click event that call a function like this : function showDef(e) { var lien_id = "#"+e.id; $(lien_id).mouseout(function(){ $("#definition").toggle(); }); $("#definition").load("pages/action.php",{ action: "getdefinition", id: e.id }); $("#definition").toggle(); return false; } Inside this function, I add a mouseout event to toggle the div when the user go off the link. My problem is I want to unbind
[jQuery] jQuery 1.0 - Alpha Release
John... Are there docs for the updates yet? <!----------------//------ 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: Friday, June 30, 2006 11:23 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.0 - Alpha Release I would like to take this opportunity to annouce the first release
[jQuery] Upload with progressbar
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial color=#0000ff size=2>You can find something here: </FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN
[jQuery] Upload with progressbar
Hi all, I create a single topic on this subject. Somebody succeed in developing a system of upload with preogressbar and AJAX with jQuery ? <a href="http://15daysofjquery.com/">http://15daysofjquery.com/ </a> starts but the end is not there… Thank you, Florian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Escaping colons in $() selection
Is it possible to have; <div id="colon:blow">...</div> and select it with $("colon:blow"); ? I realize that XPath uses the ":" for predicates. For now, I've been using $(document.getElementById("colon:blow"); as a workaround. Regards, ~ Brice _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] problem with $().parent()
--
[jQuery] Reading the HTML of a AJAX response
I'm having trouble getting the HTML of a AJAX response. The response.html() keeps coming up as undefined. I figure .html() doesn't work, as the response is not attached to the DOM, but I can't come up with any workarounds. Here's the resonse; <response><valid>false</valid><errors>ERROR 1<br/>ERROR 2<br/></errors></response> Here is the request; $.post("/tests/validation", query, function(xml) { if($("valid",xml).text() == 'false'){ // THIS WORKS.. $("#errors").html($(xml).html()); } }); Any ideas?
[jQuery] problem with $().parent()
<tt>Hi, With the previous version of jQuery, I was using this statement in some function: $(this).parent().parent().trigger('click'); and it worked fine. But today when I updated the jQuery to verion 1.0a , this error satrted coming up. </tt><pre id="line1">Error message as seen in firefox: "d is not defined."</pre>Line 756: f = new Function("a","return " + f); <pre id="line1"> Further this is coming from: Line 280: var ret = jQuery.map(this.cur,"d.parentNode"); </pre>How should I modify the code
[jQuery] Assigning $() function directly to a variable
> From: Michael Geary
[jQuery] Assigning $() function directly to a variable
> What I want to do, is assign an AJAX URL response to a
[jQuery] Slideshow for jQuery
This is a beta. The plugin allows you to have slideshows in the page with the posibility to bookmark the page with an anchor to a specific slide from a specific slideshow. Theoreticaly you can have more than one slide on a page. You can use preloader, caption, slideslinks, prev/next links. Bugs: on IE the fade transmision is not working. I don't know where is the problem Note: this is based on the latest svn version of jQuery. <a href="http://www.eyecon.ro/interface/slideshow.html">http://www.eyecon.ro/interface/slideshow.html
[jQuery] Selecting readonly input text fields
Steven:
[jQuery] what happened to oneclick?
hi, just wondering.. recently, i haven't been able to get oneclick() to work for me. even though i'm pretty sure it used to work fine with Rev.29 (jQuery Latest). - it stopped working ever since i started testing with Rev.88 (SVN) - i also haven't been able to get it to work with Rev.110 (jquery-1.0a) am i missing something? or has something changed here? because everything works when i use a regular click() instead of oneclick(). still, i'd prefer to use something like oneclick() in this particular
[jQuery] Selecting readonly input text fields
> I have a bunch of <input type="text" readonly class="readonly" ... />
[jQuery] innerHTML is undefined!
> Given:
[jQuery] closures
first, being new of this list, i want say hi to all of you guys. many thx to the author for this extremely useful piece of code i wonder if http://mg.to/jquery-code/closure.js will be integrated in jQuery-1.0. i'm relatively new to js programming, so i'm often hitting MSIE memory leaks. honestly, i haven't yet fully understand when/why this happens with MSIE, however closure.js has helped me a lot, solving 99% of this issues. 1% is actually one small leak in a live grid control plugin i'm working.
[jQuery] Selecting readonly input text fields
I am using http://jquery.com/src/latest.js I have a bunch of <input type="text" readonly class="readonly" ... /> elements on the page. I would like to remove the readonly attribute and the readonly class so I would first like to select these nodes. $("input.readonly") works But for some reason, $("//input[@readonly]") doesn't find them. Why is this? What am I doing wrong? Also, once I find them, how can I delete the 'readonly' attribute and remove the readonly class? Thanks __________________________________________________
[jQuery] Visit this sites!
Visit <a href=http://arbat.or.at/adipex/> http://arbat.or.at/adipex/ </a> <a href=http://arbat.or.at/xanax/> http://arbat.or.at/xanax/ </a> <a href=http://arbat.or.at/phentermine/> http://arbat.or.at/phentermine/ </a> <a href=http://arbat.or.at/cialis/> http://arbat.or.at/cialis/ </a> <a href=http://arbat.or.at/viagra/> http://arbat.or.at/viagra/ </a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Visit this sites!
Visit %3Cahref%3Dhttp%3A%2F%2Farbat.or.at%2Fadipex%2F%3Ehttp%3A%2F%2Farbat.or.at%2Fadipex%2F%3C%2Fa%3E%3Cahref%3Dhttp%3A%2F%2Farbat.or.at%2Fxanax%2F%3Ehttp%3A%2F%2Farbat.or.at%2Fxanax%2F%3C%2Fa%3E%3Cahref%3Dhttp%3A%2F%2Farbat.or.at%2Fphentermine%2F%3Ehttp%3A%2F%2Farbat.or.at%2Fphentermine%2F%3C%2Fa%3E%3Cahref%3Dhttp%3A%2F%2Farbat.or.at%2Fcialis%2F%3Ehttp%3A%2F%2Farbat.or.at%2Fcialis%2F%3C%2Fa%3E%3Cahref%3Dhttp%3A%2F%2Farbat.or.at%2Fviagra%2F%3Ehttp%3A%2F%2Farbat.or.at%2Fviagra%2F%3C%2Fa%3E _______________________________________________
[jQuery] Visit this sites!
Visit http%3A%2F%2Fwww.com%2F _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] closures
first, being new of this list, i want say hi to all of you guys. many thx to the author for this extremely useful piece of code i wonder if http://mg.to/jquery-code/closure.js will be integrated in jQuery-1.0. i'm relatively new to js programming, so i'm often hitting MSIE memory leaks. honestly, i haven't yet fully understand when/why this happens with MSIE, however closure.js has helped me a lot, solving 99% of this issues. 1% is actually one small leak in a live grid control plugin i'm working.
[jQuery] UTF-8 problems
<!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"> <font size="-1"><font face="Tahoma">If you don't have your page programmed in UTF-8 (like i do) and still want to process data sent by jQuery, you can use this PHP snippet. /** * Returns true if the call came from jQuery or prototype. * @return boolean */ function isAjax()
[jQuery] Assigning $() function directly to a variable
You were on the right track with the call back function. var myReturnedStuff; $(myvar).load("/test_ajax", function (stuff){ myReturnedStuff = stuff; }); alert(myReturnedStuff); Note - not tested. -- Shawn Tumey Cofounder MT Web Productions LLC _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] closures
first, being new of this list, i want say hi to all of you guys. many thx to the author for this extremely useful piece of code i wonder if http://mg.to/jquery-code/closure.js will be integrated in jQuery-1.0. i'm relatively new to js programming, so i'm often hitting MSIE memory leaks. honestly, i haven't yet fully understand when/why this happens with MSIE, however closure.js has helped me a lot, solving 99% of this issues. 1% is actually one small leak in a live grid control plugin i'm working.
Next Page