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
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
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
> $("#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
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
$(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?
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
$(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
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
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
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?
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
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();
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
I can find plugin jquery as toolbar ??
David.
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
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 <
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
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
I have a jsf application, and the rendered html has a radio button
group that essentially looks like this :
.
.
My Cases
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
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
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){
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
-
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
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
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
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
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
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
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
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
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
33 matches
Mail list logo