[jQuery] Re: Horizontal scroll of lists with differing widths

2008-12-01 Thread John Ruffin
Paul, I found this interesting. Got it working in no time. If you are going to have a play with it just make sure you use the min and max attributes. It's documented in the blog. http://jqueryfordesigners.com/demo/slider-gallery.html -Original Message- From: Paul Collins [mailto:[EMAIL

[jQuery] Re: Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread John Ruffin
Bil, can you elaborate on your approach a bit? Short example. On Nov 12, 11:43 pm, Bil Corry <[EMAIL PROTECTED]> wrote: > John Ruffin wrote on 11/12/2008 11:21 PM: > > > What's the best practice for this remote domain call scenario? > > ($.getJson(), $.getScript(),

[jQuery] Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread John Ruffin
I've read through a number of posts regarding cross domain issues and the "Access to restricted URI denied (NS_ERROR_DOM_BAD_URI) " exception. I have a $.ajax( url : 'https://somedomain.com/secure/somefile.aspx') call. This works in IE but not in Firefox. In FireFox I get the above exception.

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
itespace before the > I notice in your previous message where you listed the entire response, > there is a space before the > What's the value of res.responseText.indexOf('<')? It should be 0. > > > From: John Ruffin > > > Michael, I tried your test verbati

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
pm, Michael Geary <[EMAIL PROTECTED]> wrote: > You could just run an XML parser on the returned text: > > http://groups.google.com/group/jquery-en/msg/3b15af17889ee816 > > -Mike > > > From: John Ruffin > > > I tried to set the $ajax{ dataType : xml } attribute but the response > > still showed in responseText not responseXML.

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
Mike, you lost me a bit. If Tomcat is serving an xhtml facelet or jsp, not sure how to tweak it to change the mime-type. I tried to set the $ajax{ dataType : xml } attribute but the response still showed in responseText not responseXML. Any other ideas? On Nov 11, 3:31 pm, Mike Alsup <[EMAIL P

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
In Firebug, xhr.responseXML is null. Is there something explicitly I need to do in order to populate it? On Nov 11, 3:09 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > enctype="application/x-www-form-urlencoded"> > > > > > Here I want to get the value of iiForm:iiDude. > > Why not use respons

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
ment.scrollLeft; y = document.documentElement.scrollTop; } else if (document.body) { x = document.body.scrollLeft; y = document.body.scrollTop; } return x + "," + y; } //--> On Nov 11, 2:23 pm, John Ruffin <[EMAIL PROTECTED]> wrote: > Here is what the response looks like: &g

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
Here is what the response looks like: Here I want to get the value of iiForm:iiDude. On Nov 11, 2:18 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Requesting some light on how to pull an element/value from > > $.ajax( complete : callback() ).  What do I need to do to parse the > > xhr.respon

[jQuery] Re: How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
Pinging. Requesting some light on how to pull an element/value from $.ajax( complete : callback() ). What do I need to do to parse the xhr.responseText in callback ? Thanks! On Nov 11, 11:15 am, John Ruffin <[EMAIL PROTECTED]> wrote: > I've tried to make this as simple as poss

[jQuery] How to parse XMLHttpRequest.responseText from $.ajax(complete: function())

2008-11-11 Thread John Ruffin
I've tried to make this as simple as possible. I can't figure out how to parse the value of an element in xhr.responseText... I have a function like this (works fine): $('#foo\\:raq').click(function(){ $.ajax( { url : 'ii.faces' , comp