Re: [jQuery] Charset and load()

2006-09-02 Thread David
Søren Haagerup schreef: > When loading HTML with the load()-function in jQuery, Danish characters like > æ, ø, å, Æ, Ø, Å etc. shows up like question marks. > -You can always transform special characters to their appropriate character code (http://www.redbrick.dcu.ie/help/reference/html-tags/

Re: [jQuery] Charset and load()

2006-09-02 Thread Felix Geisendörfer
I think I've heard that one before on several ajax discussions. The problem I think, is that if you request a .html page that doesn't contain a meta tag indicating the charset, you can get funky behavior like this, because the charset of the document you make the request from get's ignored and

Re: [jQuery] no action after $.load.. why?

2006-09-02 Thread Rafael Santos
Thanks you two... How silly was i... lol2006/9/3, John Resig <[EMAIL PROTECTED]>: > The code:> $(document).ready( function(){> $("#main").load("get_calcform.php",{ idref: iditem },> function(txt){> $("#main").html(txt); > }>   );> $("#calculate").click( function(){>a

Re: [jQuery] no action after $.load.. why?

2006-09-02 Thread John Resig
> The code: > $(document).ready( function(){ > $("#main").load("get_calcform.php",{ idref: iditem }, > function(txt){ > $("#main").html(txt); > } > ); > $("#calculate").click( function(){ >alert('hi'); > }); The problem is that you're binding the click handler to

[jQuery] Blog Post About Visual jQuery

2006-09-02 Thread Yehuda Katz
Hey guys,There's a big blog post up at the jQuery Blog about Visual jQuery, including a couple of big announcements. Check it out at http://jquery.com/blog/2006/09/02/taking-jquery-documentation-to-the-next-level/-- Yehuda KatzWeb Developer(ph)  718.877.1325(fax) 718.686.4288

Re: [jQuery] no action after $.load.. why?

2006-09-02 Thread Matt Stith
$load automatically loads the result of that request into the selected DIV, so in that case you wouldnt need a callback.On 9/3/06, Rafael Santos < [EMAIL PROTECTED]> wrote:Hey, i'd like to know why it happens.. The code:$(document).ready( function(){    $("#main").load("get_calcform.php",{ idref: i

Re: [jQuery] Charset and load()

2006-09-02 Thread John Resig
Hmm... I'm not entirely sure why this might be happening. what happens if you copy-and-paste the page that you're loading in, in to the page that you're loading in to. In other words, you have: pageA.html $("#foo").load("pageB.html"); pageB.html: æ, ø, å, Æ, Ø, Å etc Now just copy the conten

[jQuery] no action after $.load.. why?

2006-09-02 Thread Rafael Santos
Hey, i'd like to know why it happens..The code:$(document).ready( function(){    $("#main").load("get_calcform.php",{ idref: iditem },        function(txt){            $("#main").html(txt);         }  );$("#calculate").click( function(){   alert('hi'); });//output -> then nothing happens when Calcu

Re: [jQuery] Issue with adding to tables.

2006-09-02 Thread Gordon Heydon
Hi again. Thanks again, this worked perfectly. The strange thing is that the docs over at visual docs says that $('div').height() will return 'nnpx', where as I was only getting nn. Getting it as just nn, is great as I can just add the new height, but I don't know what other browsers are going

Re: [jQuery] Issue with adding to tables.

2006-09-02 Thread Gordon Heydon
Hi, Thanks for this, This helps a lot and is quite logical. thanks. Gordon. Shawn Tumey wrote: > On 9/2/06, *Gordon Heydon* <[EMAIL PROTECTED] > > wrote: > > Hi, > > I have implemented a page where I have jQuery cloning the last row and > extending the ta

Re: [jQuery] Synchronizing

2006-09-02 Thread Dave Benjamin
On Sat, 2 Sep 2006, John Resig wrote: >> Lately I've been experimenting with Parenscript, which is a >> Lisp-to-JavaScript translator that allows you to write macros; if >> anyone's interested I can post some sequencing macro code I've been >> working on... > > Go ahead! I'm interested :-) Rig

Re: [jQuery] Synchronizing

2006-09-02 Thread John Resig
> Lately I've been experimenting with Parenscript, which is a > Lisp-to-JavaScript translator that allows you to write macros; if anyone's > interested I can post some sequencing macro code I've been working on... Go ahead! I'm interested :-) --John __

Re: [jQuery] Synchronizing

2006-09-02 Thread Dave Benjamin
On Sat, 2 Sep 2006, John Resig wrote: > Neil Mix has released a library that lets you write Javascript code just > like that: http://www.neilmix.com/narrativejs/doc/index.html Wow, that is really impressive. I've been thinking about different ways to approach the sync vs. async barrier. One app

Re: [jQuery] Synchronizing

2006-09-02 Thread John Resig
Neil Mix has released a library that lets you write Javascript code just like that: http://www.neilmix.com/narrativejs/doc/index.html --John On 9/2/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi folks, > > is there any way to synchronize calls in javascript without using callbacks? > > Exampl

Re: [jQuery] Submit a form?

2006-09-02 Thread Stephen Howard
Myles Angell wrote: $("#report-form").get(0).submit(); Return false isn't neccessary On 9/1/06, *Lewis, David* < [EMAIL PROTECTED] > wrote: Using jQuery, is there an easy way to find a form in an HTML document, submit it, then return "false" (to avoid resu

[jQuery] Ant

2006-09-02 Thread Marco M. Jaeger
You need to use the jdk version – I made the same mistake - http://java.sun.com/javase/downloads/index.jsp   ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using xpath: can't find relative href

2006-09-02 Thread jgrucza
Dave Methvin wrote: > > In all browsers, or just IE? That's a quirk of IE that it changes relative > URLs to absolute. > > http://www.glennjones.net/Post/809/getAttributehrefbug.htm > > I thought there was a getAttribute(,2) fix in jQuery for this already. > Hi Dave. I got the same beha

Re: [jQuery] Visual jQuery 1.0 -- Redux

2006-09-02 Thread George Smith
Hey there, http://gsgd.co.uk/sandbox/jquery.visdoc.xml http://gsgd.co.uk/sandbox/jquery.visdoc.xml I was looking at this, and thinking maybe things could be a bit more semantic, like using a definitions list instead of a plain unordered list. Had a play, and also added in a couple of effects to

[jQuery] Charset and load()

2006-09-02 Thread Søren Haagerup
Hi, When loading HTML with the load()-function in jQuery, Danish characters like æ, ø, å, Æ, Ø, Å etc. shows up like question marks. How and where should I configure the charset? When I open the site I want to load directly in Firefox, nothing is wrong with the charset - only when loading with j

Re: [jQuery] Interface and Safari?

2006-09-02 Thread Fil
@ Morbus Iff <[EMAIL PROTECTED]> : > I've had reports that Interface, particular the slideshow, doesn't work > in Safari. Can anyone corroborate and/or figure out how to fix it? It's true. It stays in the "loading" state forever*, while Safari is doing nothing (not trying to download an image).

[jQuery] Interface and Safari?

2006-09-02 Thread Morbus Iff
I've had reports that Interface, particular the slideshow, doesn't work in Safari. Can anyone corroborate and/or figure out how to fix it? -- Morbus Iff ( worship the computer and continue to live ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-02 Thread Jim Davis
Stefan, Thanks for the update. It works great now. Jim On 9/2/06, Stefan Petre <[EMAIL PROTECTED]> wrote: > It was a bug in Blind, fold and open/close. I fixed this, download the > Interface again > > ___ > jQuery mailing list > discuss@jquery.com > http

Re: [jQuery] Issue with adding to tables.

2006-09-02 Thread Shawn Tumey
On 9/2/06, Gordon Heydon <[EMAIL PROTECTED]> wrote: Hi,I have implemented a page where I have jQuery cloning the last row andextending the table,I have the table that I am extending in a div which I use the jq-cornersto make it look pretty.The problem that I am getting is that when the table is ext

Re: [jQuery] Synchronizing

2006-09-02 Thread Franck Marcia
> Hi folks, > > is there any way to synchronize calls in javascript without using callbacks? > You could use a sort of proof of concept I wrote months ago: http://fmarcia.info/jquery/chain. I'm not sure it'll work with the latest version of jQuery though. Franck.

Re: [jQuery] Bugs in 1 and 1.01

2006-09-02 Thread Andrew Buzzell
Great! I could have sworn some of the docs and visualjquery (nice work Yehuda) still had set yesterday, but I'm seeing attr now. When I'm debugging jquery problems, I have a habit of switching between three or four different versions I have kicking around, and I know one of them did work with

[jQuery] Synchronizing

2006-09-02 Thread Jörn Zaefferer
Hi folks, is there any way to synchronize calls in javascript without using callbacks? Example: doSomething(); reset(); doSomethingElse(); Reset calls some asychronous code and I don't want it to return until the call is complete. The obvious solution is to pass doSomethingElse as a callback f

Re: [jQuery] jCarousel

2006-09-02 Thread Jan Sorgalla
Justin Carter wrote: > > On 9/1/06, jsorgalla <[EMAIL PROTECTED]> wrote: >> Hi there, >> [...] >> Check it out at http://sorgalla.com/pages/jcarousel.html >> and let me know what you think. > > Looks very very polished for a first release, well done :) > Thanks for your response.. Justin Ca

Re: [jQuery] Issue with adding to tables.

2006-09-02 Thread Aloyzas Rimeika
Link please. On 9/2/06, Gordon Heydon <[EMAIL PROTECTED]> wrote: > Hi, > > I have implemented a page where I have jQuery cloning the last row and > extending the table, > > I have the table that I am extending in a div which I use the jq-corners > to make it look pretty. > > The problem that I am

[jQuery] Interface: Question about Blind Up/Down

2006-09-02 Thread Stefan Petre
It was a bug in Blind, fold and open/close. I fixed this, download the Interface again ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] problem with $("TAGNAME", httprequest.responseXML) with certain browsers

2006-09-02 Thread John Resig
Mario - > yes I first encountered the problem with an earlier version. > I now replaced the old version of jQuery with the version you specified and > replaced the deprecated syntax. > > The problem still persists. > In a responseXML containing XML without namespaces, Opera and FF find all the > e

Re: [jQuery] Animation dimensions - problem and solution

2006-09-02 Thread John Resig
I've fixed this and checked it in to SVN - this'll be in the next point release (probably 1.0.2). Thanks! --John On 8/31/06, Alistair Potts <[EMAIL PROTECTED]> wrote: > When jquery tries to get the height of a (display:none) element, it > clones the element as (visiblity:hidden display:block), ap

Re: [jQuery] Tests that crash Safari

2006-09-02 Thread John Resig
That's such a strange bug. There's a weird bug occurrng in IE too - I'm probably going to re-write the test suite soon to fix this. Here's the bug report: http://proj.jquery.com/dev/bugs/bug/173/ --John > Trial and error (and a lot of Saft recovering my tabs) indicates that > these are the culpr

Re: [jQuery] Bugs in 1 and 1.01

2006-09-02 Thread John Resig
> It seems that set (both name:value and hash) is not working, as well as > removeclass on multiple classes (and, of course, toggleclass with > multiple classes). In 1.0, .set is now .attr - I made this particular change as it was much clearer, and now affords you with the ability to do: $("div")

Re: [jQuery] eval.call( window,jscode) does not work in IE

2006-09-02 Thread John Resig
I created a ticket for this issue here: http://proj.jquery.com/dev/bugs/bug/171/ I'll get to it ASAP. --John On 9/1/06, ashutosh bijoor <[EMAIL PROTECTED]> wrote: > That's IT, Francisco! > That does the trick. > In jquery svn, we need to change the following lines: > Line number 4910: > >

Re: [jQuery] jCarousel

2006-09-02 Thread Dylan Verheul
Woo woo! I was working on a carrousel myself, but I'm hopping on your bus now! Great work, really slick stuff! On 9/2/06, jsorgalla <[EMAIL PROTECTED]> wrote: > > Hi there, > > i'm the next one staying in the line of jQuery plugin authors. > I've created a new plugin called jCarousel. Its inspired

Re: [jQuery] Menu with SelectBox showing through

2006-09-02 Thread Dylan Verheul
There are several plugins that tackle this same problem. With the help of the people on the list, I found a nice solution that works with an iframe, but in a simpler way than most. You can see it work in http://www.dyve.net/jquery?autocomplete, I don't have my references here to point you to the o

Re: [jQuery] Autocomplete plugin: update for jQuery 1.01

2006-09-02 Thread Dylan Verheul
Simple explanation: e.preventDefault prevents the default event from happening jQuery should make this available in ie are you sure you have the right event as e? On 9/2/06, Geoff Knutzen <[EMAIL PROTECTED]> wrote: > > > > > Hi Dylan, > > > > Thanks for making your autocomplete plugin for jquery.

[jQuery] Issue with adding to tables.

2006-09-02 Thread Gordon Heydon
Hi, I have implemented a page where I have jQuery cloning the last row and extending the table, I have the table that I am extending in a div which I use the jq-corners to make it look pretty. The problem that I am getting is that when the table is extending that page isn't. So what happens i