[jQuery] Re: check if an id exists

2007-12-29 Thread George
Just to throw in my 2cents/pence worth... In the early versions of jQuery we could use $('#id').is() to return true if the array contains any values. This stopped working in more recent versions. If you like that solution it could be resurrected by enhancing the is() method in your code using som

[jQuery] jquery within ajax response

2007-12-29 Thread pedalpete
I'm not sure why I'm having an issue with this, but what I have is an ajax response which contains some more javascript. When I retrieve the page directly, the jquery functions work fine, but when I load the page into another page via an ajax request, none of the functions work. I can launch a ja

[jQuery] jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
I'm working my way through chapter 7 of the Learning jQuery book, and encountered issues with .lt and .gt. After discovering that .lt and .gt had been deprecated in the current release of jquery, I replaced the sample code with the slice method. However, I have had no luck getting: 1. the page t

[jQuery] Re: Does jQuery script has to be in one physical place?

2007-12-29 Thread Karl Delandsheere
I think you can inject it. But I didn't try yet. When you do Comet, you inject Javascript, why with Ajax wouldn't we do the same? ^^ Anyway, it would make your data transfer heavier, wouldn't it? On Dec 29, 1:42 am, henry <[EMAIL PROTECTED]> wrote: > I usually have my jQuery code near the end o

[jQuery] Re: fade out gallery onload

2007-12-29 Thread Jeroen
On Dec 29, 2007 12:47 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi, i would like to achieve the following effect: > when the page loads , 3 images loaded with an array fade out > subsequently on top of the page then disapear, this is the only code > i've come up with, any help is really

[jQuery] Combining plugins - jEditable and treeview

2007-12-29 Thread sharp
Hi Im brand new to jQuery, and so far impressed. I have a vision to create a tree structured menu, using the treeview plugin, with nodes that each are editable text elements, using jEditable. So far I have had some trouble integrating these two plugins, and I am wondering if it is possible to use

[jQuery] LIVE jQuery

2007-12-29 Thread coughlinsmyalias
Hey all, I am wondering is it possible with jQuery or any other plugin to have say real time results on a page. To do say see what other changes are being made as you are on the screen? Or any with a tad bit delay of a couple of seconds? Thanks! Ryan

[jQuery] Making an Editable Treeview

2007-12-29 Thread sharp
Hi Im very new to jQuery, and am very impresed so far. Im struggling to create my vision of a Tree structured menu, with nodes that can be edited by the visitor, ie each node should be a jEditable text element. My troubles have been with combining the jEditable plugin with the treeview plugin. Can

[jQuery] Re: Does jQuery script has to be in one physical place?

2007-12-29 Thread djot
- Hi, you may deliver anything through your ajax calls, xml, html, text, and even javascript/jquery code. But be aware, that you have to find out the best was how to include your js code (espcially on how to get it evaled). Inline js in mixed html/js should get evaled automatically (if not, fi

[jQuery] Re: Problems with clueTip

2007-12-29 Thread KnoxBaby
Still the problem: http://www.jahlabs.de/jquery/test/ In IE: Tooltips and confirm message bug still not working :( On 26 Dez., 01:45, Karl Swedberg <[EMAIL PROTECTED]> wrote: > On Dec 24, 2007, at 5:41 PM, KnoxBaby wrote: > > > > > Hello, > > > thanks for your help again. Thanks, I want to say

[jQuery] AJAX Request

2007-12-29 Thread [EMAIL PROTECTED]
Hi. I have just setup a basic site where you click the link and jQuery retrieves the link via ajax. Code as follows: function fetchURL(obj){ var page_address = obj.href; $.ajax{( url: page_address, type: "GET", dataType: "html", error: function(e){

[jQuery] livequery and trigger() issue?

2007-12-29 Thread Eridius
I have this code: $('#' + this.options.tab_set_id + ' a').livequery('click', function() { var id = $(this).attr('rel'); self.element.children('.cr_tab_content').html(self.element.children('#' + id).html()); }); and when i do a trigger('click') on on one of the those links, noth

[jQuery] Re: Combining plugins - jEditable and treeview

2007-12-29 Thread M D
unsubscribe On 12/28/07, sharp <[EMAIL PROTECTED]> wrote: > > Hi > Im brand new to jQuery, and so far impressed. I have a vision to > create a tree structured menu, using the treeview plugin, with nodes > that each are editable text elements, using jEditable. So far I have > had some trouble inte

[jQuery] newbie question - why does this code not work?

2007-12-29 Thread X490812
I have a jsf application, and the rendered html has a radio button group that essentially looks like this : . . My Cases

[jQuery] .net 2 web services json

2007-12-29 Thread FrenchiINLA
Asp.net 2 :I would like to post to a web service and get the result as json format. The method is decorated with [ResponseFormat=ResponseFormat.Json)]and it return a simple class. When I use prototype code like : asmxFile.MethodName( par1, par2,function(obj){}); the obj is json format, but If I us

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread Karl Swedberg
Hi there, Sorry about the confusion with the API change. If you're replacing the .lt() method, you're going to need to use 2 arguments with the .slice() method, with the first argument being 0. So, try .slice(0, currentPage * numPerPage) instead. That will select the elements with an inde

[jQuery] attaching datepicker

2007-12-29 Thread Tim
i'm loading a page using ui tabs that has a date field on it. i would like to attach ui datepicker to it, but i can't seem to get it to work. i've always loaded datepicker through the onready function. it will not work in this case cause the document is already loaded and is inserting info from

[jQuery] Re: Plugin: Tag Suggestions

2007-12-29 Thread Remy Sharp
Hi David, Thanks for spotting that. I've just realised I pointed the URL to the wrong place - and it sorted now. The tags not being in the middle is just a bit of CSS tweaking for IE6 - but I'm glad to see the actual concept is working in IE6 - cheers again. Remy. On Dec 28, 10:11 pm, David <

[jQuery] Toolbar jquery

2007-12-29 Thread David
I can find plugin jquery as toolbar ?? David.

[jQuery] Applying nextUntil only to h4 containing a link

2007-12-29 Thread jerpod
I'm using nextUntil to apply show/hide content functionality based on its "section", defined as having an h4 heading. This works great. Thanks, Richard D. Worth, for pointing me to the nextUntil samples) $.fn.nextUntil = function(expr) { var match = []; if ( expr.jquery ) expr = ex

[jQuery] Re: attaching datepicker

2007-12-29 Thread Tim
nevermind, doing some more searching got me the answer. found it here. http://groups.google.com/group/jquery-ui/browse_thread/thread/57944de13405077b/9a36504f1068ef83?lnk=gst&q=tab+ajax#9a36504f1068ef83 $("#tabs > ul").tabs({ load: function() { testit();

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
Hi Karl, Thanks, that did help in getting the links to work correctly. However, the new code (with slice) isn't working for displaying only 10 rows per page. I'm using the downloaded page and tables.js code (with the slice modifications) from the Learning jQuery website, not my own code. On pag

[jQuery] Re: attaching datepicker

2007-12-29 Thread Tim
after some testing it really isn't a datepicker issue. the tab takes time to load and my attempt to attach the datepicker to the field fires before the field is loaded into the tab. anyone know how i can force the script to wait for the tab to be loaded?

[jQuery] Re: newbie question - why does this code not work?

2007-12-29 Thread cFreed
On 29 déc, 18:27, X490812 <[EMAIL PROTECTED]> wrote: > ... > parent.document.getElementById("buttonsForm:filterByActor").style.display="none" > //jQuery("#buttonsForm:filterByActor", > parent.document).css({"display":"none"}); > > }); > > //--> > > The issue is that the jquery script that is com

[jQuery] ajaxstart and ajaxstop question

2007-12-29 Thread X490812
I am using the blockUI plugin. I can block the ui directly when I call jQuery.blockUI() as an onclick event method,;, but both ajaxStart and ajaxStop do not seem to be working. They are not determining the begin and end of my ajax calls. When I write jQuery(document).ready(function(){ jQ

[jQuery] Re: fade out gallery onload

2007-12-29 Thread tetrix
$(document).ready(function(){ $(window).load( function () { $("img").fadeOut(4000); }) .end(); }); this code works, i just would like to have the same but with 3 images , how can it be done?

[jQuery] Re: fade out gallery onload

2007-12-29 Thread tetrix
On Dec 29, 1:57 pm, Jeroen <[EMAIL PROTECTED]> wrote: > On Dec 29, 2007 12:47 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > hi, i would like to achieve the following effect: > > when the page loads , 3 images loaded with an array fade out > > subsequently on top of the page then dis

[jQuery] Re: fade out gallery onload

2007-12-29 Thread tetrix
$(document).ready(function(){ $(window).load( function () { $("img").fadeOut(4000); }) .end(); }); this code works but i would like to do the same with 3 different images

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread Karl Swedberg
Ooops. Yeah, that second one was originally a .gt(), so we should leave it as .slice( (currentPage + 1) * numPerPage - 1) That little chunk of code should look like this: $table.bind('repaginate', function() { $table.find('tbody tr').show() .slice(0,currentPage * numPerPage

[jQuery] Re: Applying nextUntil only to h4 containing a link

2007-12-29 Thread Dave Methvin
> $("#PageTemplateForm h4 a").each(function(){ > > I can see why that wouldn't work, because the "expand" div would would > likely be inserted in the wrong place. How would I distinguish > between h4s followed by links vs h4s not followed by links? How about the :has() selector? $("#PageTemplat

[jQuery] Re: Chaining methods and Debugging?

2007-12-29 Thread Danny
I'm not a Firebug expert, but this seems to work: $.fn.log = function (brk){ console.log(this); if (brk) debugger; return this; }; So now $(...).log() puts the jquery object on the console and .log(true) also drops into the debugger (equivalent to setting a breakpoint). I'm not s

[jQuery] Chaining Effects

2007-12-29 Thread [EMAIL PROTECTED]
Every time I try to do this, I am frustrated. It's the first thing I tried to chain in jQuery. I try it again from time to time, because I really want it to work. $("#messages").fadeIn("slow").html("New message.<\/ p>").fadeOut("slow"); What I want is for the old message to fade out, then the ne

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
Thanks! That worked, the pages are displaying correctly now. I'm still confused on how slice is used differently to replace the .lt and .gt methods, with .lt receiving two arguments, while .gt only received 1 argument. I visited the online documentation pages at jquery.com, and read the 1.2 relea