[jQuery] Xml parsing error
Hi, I try to load and parse some xml like this : $.post("pages/action.php",{ action: "getmcp", categorie: '1', pattern: 'aaa' },function (xml){ $("article", xml).each(function(){ $(this).find("title").each(function(){ alert( this.text ); }); }); }); I always get this error : ret[i].getElementsByTagName is not a function in jquery.js line 588. I can't find where the problem is. If I replace my callback function code by an alert(xml),
[jQuery] Xml parsing error
how do i unsubscribe? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Francis THOMAS Sent: Thursday, July 06, 2006 10:02 AM To: jQuery Discussion. Subject: Re: [jQuery] Xml parsing error
[jQuery] visual jquery -> visual docs
Sweet! You really should be commended for your work on jquery John. I don't have a lot of experience with javascript and the new libraries coming out, but jquery is the best, most streamlined of all of the ones I've seen. Kudos. <!----------------//------ 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
[jQuery] determine the id of the clicked element in a certain area
if I have the following code: <ul id="area"> <li id="id-1">...</li> <li id="id-2">...</li> <li id="id-3">...</li> </ul> Is there a way how I could let jQuery return the id of the li-element which has been clicked? Steef _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Getting the ID of the parent
I can find the parent: $("#foo").parent(); I can find the ID of the current object: $("#foo").get(0).id; How do I find the ID of the parent? This doesn't work: $("#foo").parent().get(0).id; _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface Sortables - Bug
Hi, Yes, is a problem in draggable. While you drag an element and use the scrollwheel to scroll the page the coordonates are messed up. I fixed the problem but the Dean's packer website is not working for me. As soon as i can pack it the update will be available. Stefan _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .get()
> From: Michael Geary [mailto:Mike@Geary.com]
[jQuery] $.fn.clone
Is this function going to be included in jQuery? (ref http://john.jquery.com/jquery/test/clone.html) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Suggested changeClass (addClass, removeClass)
I'd like to suggest creating a changeClass routine to jQuery, which removes all existing classes, and then replaces with the parameter. Does anyone have anything that does this? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How do I select the previous and next sibling of a particular type
Hello List, How do I select the immediately preceding or following sibling of a particular type. For example: <ul> <li id="a1"> <li id="a2"> <ul> <li id="b1"> <li id="b2"> < /ul> <li id="a3"> </ul> I would like to be able to click on li#a2 and have an action occur on the following <ul> and the previous <li> without applying it to the other siblings. Neither CSS or XPath notation as implemented in jQuery support this - as far as I can tell from the jQuery
[jQuery] Slider new interface plugin
Is a alpha plugin that can build sliders with it. I'm still thinking about more features like: set value, clicking the slider the indicator goes to that position Linking sliders be default so no coding for you etc. http://interface.eyecon.ro/alpha/slider.html http://interface.eyecon.ro/alpha/slidedemo.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to remove attribute?
Hi: I only found set() in the "Base DOM",Is there an undocumented feature to do this? Thanks<br clear="all"> -- Wang Liang _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] footer problem
<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] RSS Feed Reader
Has anyone done an RSS Feed Reader using jQuery? If not, do you think it is possible? If so, please point me to the code. I want to dump the feed from my Blog into a div on a website and have the div expand to show the content of a post when the subject is clicked. Thanks, Jim _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Slider new interface plugin
Works pretty nice. I found this one which seems to work really well: http://www.softcomplex.com/products/tigra_slider_control/ I like that you can type into it and it updates the slider as well. <!----------------//------ 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 Stefan Petre Sent: Wednesday,
[jQuery] BUG, driving me mental in IE only.
--
[jQuery] Jquery slider?
Does anyone have a plugin for a slider interface element using jquery? I'm working on a site which needs to have a text box which can be typed into, but can also be changed using a slider UI element. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] BUG, driving me mental in IE only.
--
[jQuery] BUG, driving me mental in IE only.
Hi... I'm currently working on adding a little bit of functionality to an existing page. "Despite the page", I've got it to work pretty much as I want it to in FireFox, but in IE it hangs for a bit looking almost like a crash, taking up %100 cpu power, then after a while (a minute or so) it does as required... I've tried this with the alpha release and the current release, but no luck. Any body have any ideas on how to fix this? see it here - <a href="http://www.markpanay.com/test/test.html">http://www.markpanay.com/test/test.html</a>
[jQuery] Still having problems with$(#myDiv').html('string').thoughts?
<!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><SPAN class=546004817-05072006><FONT face=Arial color=#0000ff size=2>That worked perfectly!!! I just deleted that function from jsmx.js (it wasn't bing used at all) and it works BEAUTIFULLY!</FONT></SPAN></DIV> <DIV><SPAN class=546004817-05072006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
[jQuery] Still having problems with$(#myDiv').html('string').thoughts?
<!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><SPAN class=125463517-05072006><FONT face=Arial color=#0000ff size=2>Wow...</FONT></SPAN></DIV> <DIV><SPAN class=125463517-05072006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=125463517-05072006><FONT face=Arial color=#0000ff size=2>I would never have
[jQuery] Still having problems with $(#myDiv').html('string').thoughts?
<!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><SPAN class=656171417-05072006><FONT face=Arial color=#0000ff size=2>I'll give that a shot Myles. I saw that method but wasn't sure how to implement it. Thank you.</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced
[jQuery] Still having problems with $(#myDiv').html('string'). thoughts?
On this page (http://commadelimited.com/recipes/), I've got a div with an id of "title". At the bottom of the page I'm running this function: function updateTitle(str) { $('#title').html(str); } like so: <script language="JavaScript"> <!-- updateTitle('Welcome to recipe Manager'); //--> </script> But I get an error Error: $("#title") has no properties Source File: http://localhost/personal/commadelimited/recipes/includes/js.js I really enjoy working with jquery but this is really irritating.
[jQuery] BUG, driving me mental in IE only.
<!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><FONT face=Arial color=#0000ff size=2><SPAN class=390504816-05072006><FONT face="Times New Roman" color=#000000 size=3>> Any body have any ideas on how to fix this?<BR>> see it here - </FONT><A href="http://www.markpanay.com/test/test.html"><FONT face="Times New Roman"
[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] visual jquery -> visual docs
I've never seen anything on that page. There's also information missing under some of the buttons. By the way, that site causes IE to crash...just an FYI. <!----------------//------ 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 Sam Sherlock Sent: Wednesday, July 05, 2006 8:09 AM To: jQuery Discussion.
[jQuery] $(foo)[n]? (StaticNodeList)
> One of the stipulations of the API is that everything returned by the
[jQuery] Workaround for $(document).ready not firing
I've seen that some people have had a problem with $(document).ready not firing. While I have not had this problem, I have thought of what could be a possible solution. Hopefully it is self explanatory. var hasLoaded; $(document).ready( function() { init(); hasLoaded = true; } ); $(window).load( function() { if(typeof hasLoaded == "undefined") { init(); } } ); function init() { // do something } _______________________________________________
[jQuery] Signal to noise ratio
It's got to do with the message headers in the email being sent. That's why if I replied to this message, but changed the subject line, it would still be on the same level as your reply, but it would be a new thread. <!----------------//------ 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 Sam
[jQuery] Signal to noise ratio
I personally hate when people snip the entire message. It removes any context for the reply. For myself, I delete messages almost as soon as I've read them. So when someone answers a question, or makes a reply to a previous message and has deleted ALL of the previous content, I have no idea to which post they're replying. I know this is my issue, but I'll generally delete all but the last 3 or 4 replies in a message. That way you still have some context but it gets rid of a lot of the clutter. <!----------------//------
[jQuery] Workaround for $(document).ready not firing
Where does this go in relation to: $(document).ready( function(){ //my scripts here }); Thanks, Luc Pestille Web Designer e: luc.pestille@in2.co.uk t: +44 (0)1628 899 700 f: +44 (0)1628 899 701 -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of poni Sent: 04 July 2006 16:40 To: jQuery Discussion. Subject: Re: [jQuery] Workaround for $(document).ready not firing $(document).ready(init) $(window).load(init) function init() { console.info('Hello!')
[jQuery] Workaround for $(document).ready not firing
That made even less sense =] Can you explain a bit more, in n00b-speak. Luc Pestille Web Designer e: luc.pestille@in2.co.uk t: +44 (0)1628 899 700 f: +44 (0)1628 899 701 -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of poni Sent: 05 July 2006 11:39 To: jQuery Discussion. Subject: Re: [jQuery] Workaround for $(document).ready not firing
[jQuery] Slideshow plugin
I choose to use javascript to define slides because there is no HTML equivalent for a slide show. If you want a image gallery then you should use thickbox for this. Anyway, I improved a little bit the slide show. Now you can define the image by javascript or just by placing images inside the container. Also the slide show may have an autoplay option. www.eyecon.ro/interface - documentation www.eyecon.ro/interface/slideshow.html - demo _______________________________________________ jQuery mailing
[jQuery] Selecting readonly input text fields
> Fine, I accept that. Actually, I take that back. The jQuery code has made special accomodation for the 'checked' and 'disabled' attributes of form input elements, so why not make the same accomodation for 'readonly'? Anyway, does jQuery have a way to query a node for just the existence of a attribute, regardless of the value of that attribute? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[jQuery] $.fn.setObj
I'm trying to make a simple plugin to set the Object (like find does) so the $.end() can be used later. This function seems to work within itself (if I output the variables), but once I check the variables outside the function they haven't changed. Any ideas or thoughts? $.fn.setObj = function(o) { var old = []; this.each(function(){ old[old.length] = this; }); this.old = old; this.cur = o; return this; } ~Sean _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] $(foo)[n]?
> jQuery.fn = jQuery.prototype = Object.extend( [], { > // ... prototyped functions > }); Can this be done? I explored using Array as a .prototype base in IE a few years back and reached a dead end, but maybe I missed something. http://groups.google.com/group/microsoft.public.scripting.jscript/browse_thr ead/thread/7731660a41a81db4/d9f3bcc1bb743579 Extending individual objects as they are created by copying properties takes too much time; we just escaped from that performance tarpit in jQuery with
[jQuery] $(foo)[n]?
> > That might try to extend an undefined variable.
[jQuery] $(foo)[n]?
Instead of overloading extend to support both "extend self" and "extend first argument", I like to have separate functions ala MochiKit. The advantage is that this allows each function to take multiple arguments. Here's the code I'm currently using (not jQuery but you'll get the idea): Z.Object = { merge: function() { return Z.Object.updateFromArray( {}, arguments, 0 ); }, copy: function( self ) { return Z.Object.combine( self ) }, update: function( self ) { return Z.Object.updateFromArray( self,
[jQuery] Documenting the API
Hey guys, In the interest of improving readability on the wiki, as well as ease of writing wiki documentation, I have been working with John to create some useful wiki macros, as well as templates for documenting the API. Those macros include: <ul><li>Sidebar macro that automatically generates parent, children, and related links</li><li>A macro to automatically generate parameter lists</li><li>A macro to generate simple 2-column tables </li><li>A macro to automatically generate $(expression) with
[jQuery] OT: Plazes all new - boosted by jQuery
Hi jQuerians, finally the new Plazes site is live... Check http://plazes.com if you like! The whole site is boosted by jQuery (and err, of course Google Maps). Thanks to all on this list for help, inspiration and patience. And to John for this amazing library! Cheers! --Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page