[jQuery] Using xpath: can't find relative href
I have a bit of code that looks for links with a certain href: $("a[@href='/my/relative/url']") But it never finds them. Apparently it's seeing all URLs in their fully-qualified form, not in the form they are in the source code. Does anyone have any ideas for alternate ways of selecting those elements? -- View this message in context: http://www.nabble.com/Using-xpath%3A-can%27t-find-relative-href-tf2199426.html#a6088818 Sent from the JQuery forum at Nabble.com. _______________________________________________
[jQuery] Running jQuery when already have $() from prototype
<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:st1="urn:schemas-microsoft-com:office:smarttags" 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)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);}
[jQuery] AJAX .Load stripping out a <STYLE> tag.
Robert James Kaes:
[jQuery] Using xpath: can't find relative href
--
[jQuery] Recommended version
Hello I haven't followed the mailing list for quite some time, so I'm not fully up-to-date: What's the currently recommended jQuery version to use if I'm still in development of my site, do not expect to re-launch it within next 3 months, but want an as-soft-as-possible migration to the next stable version as possible as soon as it's released? I'm willing to live with some bugs in the code while I still develop but I'd like to develop for an as stable API as possible, so I'm a bit reluctant to use
[jQuery] Event Model Madness
I am getting stuck with a tricky event sequence and am wondering if someone can help. And pardon me if I seem like a n00b, I am more a drupal guy than an AJAX person. The site I am working on is here: http://dev.trellon.org/phmf/node/242 Here's what I am trying to do. Off to the left, there is a Flash audio player and Thickbox on the same page. When a user clicks on an image, it expands to cover the page in a gray background and display the photo in a frame. Since Flash likes to always appear on
[jQuery] Running jQuery when already have $() from prototype
Hi, The company I work for have our own custom javascript library where we basically have 'borrowed' some functions such as the infamous $() from prototype as well as a fair bit of our own. The application is pretty big and we want to avoid changing the current $() functionality, but we really want to start incorporating jQuery. I have read docs/PrototypeAndJQuery/, but I'm still not sure how this would work. Will the jQuery $() (which is 100 times better) overwrite the prototype $() when jQuery
[jQuery] Dont removeClass...
Hi, This is my code : $("li", this).each(function(i){ var data = $(this).html(); $(this).bind("click", function() { var e = $(this); if (e.css("text-decoration") == "line-through") { e.css("text-decoration", "none"); } else { e.css("text-decoration", "line-through"); }
[jQuery] What about the rest of my javascript?
I'm a long time prototype user and have had a love/hate relationship with it. I've spent a lot of time tweaking prototype to suit my needs in the DOM manipulation area. However, I do somewhat like what prototype has to offer in the object oriented approach. I'm curious what the views are pertaining to implementing something like Dean Edward's Base [1]. Would something like this be an 'officially' supported plugin or part of the library? Really I'm just curious if jQuery always intendeds to just be
[jQuery] eval.call( window,jscode) does not work in IE
> The solution suggested earlier for executing javascript code > embedded in HTML returned by an ajax call by using > eval.call(window,...) works great in FF, but not in IE6. > How can we change the execution context of eval? Can you change the way the function is declared? <script type="text/javascript"> myfunc = function() { alert("Hi"); } </script> When evaled, that should give you a global myfunc variable that has the function object. _______________________________________________ jQuery mailing
[jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)
I can't figure out what is causing this, don't know whether it's a bug in my code, in Firefox or in jQuery. When I hover over the results of my autocompleter, Firebug reports an error: uncaught exception: Permission denied to get property HTMLDivElement.parentNode Detailed steps to reproduce: Make sure you have Firefox with Firebug Point Firefox (latest 1.5) to http://www.dyve.net/jquery?autocomplete Type "com" in the input box and wait for a bunch of birds to appear Hover your mouse pointer between
[jQuery] Thickbox
Hi, Does anyone know a link to the Thickbox 2.0 site, I'm sure a week ago I found a site that wasn't on the jquery server that had all the details and examples of thickbox 2.0. I'm trying to get hold of it but at the moment the JQuery site seems like it's having problems. Cheers Tom _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] A quick question about querying
Hey guys, just a quick question: is there a possibility to query all the elements having an specified attribute. E.g. I would like to get all the elements with "title" attr set, no matter if its abbr, acronym, a or any other tag. Regards, -- adam _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Autocompleter documentation
I should put this on the web somewhere, but for now I'll dump it on this list. This is the first draft of documentation for my Autocompleter. Use it to implement my plugin, or to pick up some ideas for your own autocompleter. Autocomplete - a jQuery plugin Usage: ====== $("selector").autocomplete(url [, options]); Demo page (search for English bird names, type "com" for example): ================================================================== http://www.dyve.net/jquery?autocomplete Advice: =======
[jQuery] jQuery 1.01 - each does not work in IE with context
Hi, in IE the each function does not work under certain circumstances. The following snippet throws an error in IE: $('infowindowtab/tab', this).each( ... ) This refers here to another (xml) element. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Critical: val('something') does not work in 1.0
Hi, with Version 1.0 $(...).val('something') does not work anymore. This bug was introduced in Rev 228. With the attr code from 226 it works... Ugh! -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Bug: curCSS causes nullpointer in Safari
Hi, I found a bug in Safari in the curCSS function where it tries to access a property which is null in that case...: curCSS: function(elem, prop, force) { var ret; if (!force && elem.style[prop]) { ret = elem.style[prop]; } else if (elem.currentStyle) { var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); ret = elem.currentStyle[prop] || elem.currentStyle[newProp]; } else if (document.defaultView && document.defaultView.getComputedStyle) { prop = prop.replace(/([A-Z])/g,"-$1").toLowerCase();
[jQuery] where is the animate function ?
looks like it disappeared (but still in the doc) does it mean that the documentation at <a href="http://proj.jquery.com/docs/">http://proj.jquery.com/docs/</a> is deprecated ? is there an updated documentation for the animation package ( <a href="http://jquery.com/api/">http://jquery.com/api/</a>) ? thanks for the help _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery.browser and Safari
Anybody else noticed that Safari is reported as Mozilla? <script> alert(jQuery.browser.safari + "\n" + jQuery.browser.mozilla) </script> mozilla/5.0 (macintosh; u; intel mac os x; en) applewebkit/418.8 (khtml, like gecko) safari/419.3 true true Based on the code: var b = navigator.userAgent.toLowerCase(); ... mozilla: /mozilla/.test(b) && !/compatible/.test(b) I presume that this is not intended and plan to fix it if no one objects. Also, is jQuery.browser intended for external consumption?
[jQuery] Autocomplete invasion
I know there are there already two solution for autocompletion. But i needed one to integrate with Interface for a project and I thought it will be nice to share it with you. So here it goes: <a href="http://interface.eyecon.ro/demos/autocompleter.html"> http://interface.eyecon.ro/demos/autocompleter.html</a> Attach AJAX driven autocomplete/sugestion box to text input fields. Features: <ul><li>autofill</li><li>keyboard and mouse navigation</li><li>delayed AJAX request</li><li>animated suggestion
[jQuery] jQuery 1.0.1 is now in Drupal HEAD
Just an FYI folks: jQuery 1.0.1 has just been committed to the development version of Drupal, and will be available as our primary engine come next release (being 4.8/5.0 -- we're still undecided). -- Morbus Iff ( I'd prefer my past to be multiple choice. ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus _______________________________________________ jQuery mailing
[jQuery] AJAX .Load stripping out a <STYLE> tag.
This is an in-house clinical portal, similar in nature to DotNetNuke or Rainbow Portal in that content is served dynamically through one or two ASPX pages. The ASPX pages grab content from a database which includes references to ASCX's (user controls). It's one of those user controls I'm writing that uses jQuery to populate a DIV depending on a tabbed item you select. Down to the nuts and bolts, clicking an anchor tag executes something to the effect of: $("#myDiv").load("query.aspx?param1=2¶m2=3");
[jQuery] Checking checkboxes
<!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.2963" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=768563322-31082006><FONT face=Arial size=2>I'm BRAND new to jQuery. I've successfully (and easily) selected all of the checked checkboxes, but now, I would like to check (or uncheck) them. Could someone show me how this is done? Thanks in advance.</FONT></SPAN></DIV>
[jQuery] Checking checkboxes
You've been great! Thank you very much. I think I understand what's going on. Where did you figure out the $.Name constructs? Is this documented anywhere? ---- Grant -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rob D Sent: Thursday, August 31, 2006 4:39 PM To: jQuery Discussion. Subject: Re: [jQuery] Checking checkboxes Grant, If you wanted to you could also simply do it this way: <script type="text/javascript"> $(document).ready(function(){
[jQuery] John Resig: jQuery.com weirdness
John, Over the last few days (nearly a week) I've been suffering with severe difficulties accessing the jquery.com site. I guess about 80% of my attempts have failed, which has led to several hairs on my head disappearing through stress and my hands ripping them out. Is the site going through some transition under the hood which is unknown to me/us? The latest error was this (fields blanked): SELECT DISTINCT * FROM ******** WHERE 1=1 AND (((******** LIKE '%1.01%') OR (******** LIKE '%1.01%')) OR
[jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)
I can repro this with consistency in FF. It seems that this only fires if you move focus from an element, to something else and then immediately move to a child element of the first element. If you go directly from the first element to the child, all is fine. A silly quick fix is to wrap this line in a try block // Traverse up the tree try{while ( p && p != this ) p = p.parentNode;}catch(e){void(0)} -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]
[jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)
I have done just a bit of investigation... The problem comes from about line 177 in your code $(li).hover( function() { $(this).addClass("over"); }, function() { $(this).removeClass("over"); } ).click(function(e) { e.preventDefault(); e.stopPropagation(); selectItem(this) }); But I am not convinced that you are doing anything wrong. There may be a problem in jquery in the hover: function(f,g) function. I think the problem lies in
[jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)
I can verify this, but I haven't had a chance to look into where it is coming from. I am just starting to implement your autocomplete plugin. Thanks for the work on it. I will try and track down this bug in a bit, if you don't get to it first -Geoff -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dylan Verheul Sent: Thursday, August 31, 2006 12:44 PM To: jQuery Discussion. Subject: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)
[jQuery] Interface's Sortables problems with sortables thatfloats?
One more question about last modifications in Interface: Can I use the "handle" parameter with sortables or only with standalone draggables? Thanks, again. -- Albert Garcia OboLog > Tus pensamientos en red http://www.obolog.com _____________________________________ Mi blog en http://obokaman.obolog.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface Plugin: Slider drop points
Ok, I'll take a look over it and implement this. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Critical: Child selector doesn't work in 1.0.1
something like $('div>p') or $(element).find('div>p') doesn't work anymore with the latest release 1.0.1. sorry this is the only thing i can say about it, cause jquery.com is completly down including the svn repository. -- View this message in context: http://www.nabble.com/Critical%3A-Child-selector-doesn%27t-work-in-1.0.1-tf2196334.html#a6078268 Sent from the JQuery forum at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
jQuery Chaos
Hi Everyone - Due to negligence on my part, the jQuery servers and code have been is a strange state the past couple days - to summarize: 1) For the past couple days the jQuery server has been crashing every night. I had no idea why until the a few minutes ago. It was related to the nightly backups that I make of the site. The problem was that one backup failed at one point (leaving a .tar file) which was then encompassed by the next backup (which also failed) - then the next and next, etc. This
[jQuery] Autocomplete plugin: update for jQuery 1.01
The newest jQuery 1.01 broke my autocomplete plugin, so I have released an update. http://www.dyve.net/jquery?autocomplete Known issue: - When no autocomplete results are found, input field remains in "busy mode". This will be fixed in a new update (soon). Have fun with it. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery & Tapestry
Does anyone have any experience using jQuery with tapestery or integrating it? Tapestery has dojo integrated but we'd be more inclined to use jquery if possible. Cheers, -Jonathan _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Chaos
Given all the work you've done, John, a few little oversights are not to be unexpected. Don't let it worry you, and keep up the GREAT work! It is much appreciated! -------------- Original message ---------------------- From: "John Resig" <jeresig@gmail.com>
[jQuery] Interface's Sortables problems with sortables that floats?
Yeah! Thank you very very much, Stefan. Regards, -- Albert Garcia OboLog > Tus pensamientos en red http://www.obolog.com _____________________________________ Mi blog en http://obokaman.obolog.com -----Mensaje original----- De: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] En nombre de Stefan Petre Enviado el: jueves, 31 de agosto de 2006 21:03 Para: discuss@jquery.com Asunto: [jQuery] Interface's Sortables problems with sortables that floats? I updated the Sortables. For sorting
[jQuery] Interface's Sortables problems with sortables that floats?
I updated the Sortables. For sorting floats you need to add a new parameter to point you are sorting floats. Also the sorthelper class should have the same float as the sorted items. http://interface.eyecon.ro/demos/sort_floats.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Chaos
I'll second that! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Thursday, August 31, 2006 11:29 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery Chaos Karl Swedberg schrieb:
[jQuery] Interface Plugin: Slider drop points
Hi, I love interface plugin, and now I'm implementing it for real world usage after few personal testings. I want to define drop points in Slider plugin, I know that adding onchange: function in the declaration it gives me values cordx, cordy, x , y, but if I have the value 'fractions' setup I'll love to get which fraction is active. maybe adding an extra value returned by onchange? is possible? Thanks _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Chaos
I'm sure you've got a lot on your mind. It says a lot for you that you were willing to admin your error in a public forum. Keep up the good work John. <!----------------//------ 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: Thursday, August 31, 2006 12:46 PM To: jQuery Discussion.
Next Page