unsubscribe
od is also preferred in this case and can also be
written as .css({color : "red"})
$("#tb tr").not(":first").css("color", "red");
})
A more semantic way would also be this
$("#tb tr").not(":first").addClass("hilighted&
-requests-using-mod_proxy-and-iframes/
You can also use jQuery to fetch JSON from other domains by ajax, but
that's another story.
/ Johan
On 25 Dec, 03:46, Pram wrote:
> I try use the jquery, but I have a problem.
>
> 1. I save jquery.js in the root (examplewww.mysite.com) and in the
jQuery fails on the Playstation 3 browser. Yeah I know the PS3's
NetFront browser really sucks at JS but it would be good if the plugin
ran so even basic effects would work.
Does anyone know if it is possible to upload a file from a jquery modal form
(http://jqueryui.com/demos/dialog/#modal-form) ?
I just need some help with the ajax call. The back-end will be asp with
AspUpload that will handle the file upload.
itialiseElement( nodes[i] , false)
}
Hope this will help you somewhere :)
/ Johan
On 25 Dec, 12:57, "speedpac...@gmail.com"
wrote:
> Basically execute additional javascript code based on a classname
> adding functionality to these elements...
> I tried the following, but
y.com/project/Listen
/ Johan
On 25 Dec, 02:28, Šime Vidas wrote:
> > 3. I have set this response as the content of an empty div.
>
> > That select element appears well, but maybe it doesn't appear as a DOM
> > member, so that's why I can't attach an event handler
ates the page.
This could be solved in a number of ways, but start with reading some
posts about json and you'll be on your way.
/ Johan
On Jan 2, 6:28 pm, "Rick Faircloth" wrote:
> Very interesting work, Alfredo!
>
> Rick
>
> -Original Message-
om/Effects/fadeOut
$("#notice").fadeOut(800, function(){
$("#notice-tab").removeClass('active-notice');
});
The method will now remove the active-notice class afterwards.
/ Johan
On Jan 5, 11:25 pm, Kinsbane wrote:
> er, jeez I'm sorry - i don't
Hi!
There are a number of nice implementations you could use for this.
Example the jQuery trigger. http://docs.jquery.com/Events/trigger
But for now, the simpliest solution is just to add another selector
like this
$('div.example, div.tv').hover( .
/ Johan
On Jan 5, 8:33 pm, Jor
any other solutions.
/ Johan
On Jan 5, 7:50 pm, Paul Collins wrote:
> Sorry, the test page:http://paulcollinslondon.com/test/test.html
>
> 2010/1/5 Paul Collins
>
> > Thanks very much for your help Brian. That works, but I think the problem
> > may go deeper than I thought!
Hi!
This is a known Internet Explorer bug (and a very annoying one
aswell).
Just adding a background color or image to the container element will
fix this.
/ Johan
On Jan 5, 9:43 am, "Md. Ali Ahsan Rana" wrote:
> I am trying to do it:
>
> $(this).animate({opacity:1},700);
&
I'm not that good at Prototype at all, but wouldn't this be
equivalent?
setTimeout(function(){
myFunction.apply(this)
} , 1000)
/ Johan
On Jan 5, 3:43 pm, Bruce wrote:
> Is there a jQuery way of doing this Prototype bind?
>
> var func = myFunction;
> setTimeout
uot;div.tv", so that you don't have to make
search for the div every time (unless you're using ajax ofcourse), but
this should work now at last :-)
/ Johan
On Jan 6, 9:42 pm, Jordan wrote:
> Thanks for the insight Johan! When I implemented that though, it just
> added the hover
help, small or big is very much appreciated!
Cheers
Johan
t
if (! include ) {
match.push( i );
}
}
});
return this.pushStack( match, arguments );
}
Best regards
Johan Borestad
so solves a bug where IE6 doesn't bubble focus/blur events on some
elements is jquery.listen
http://plugins.jquery.com/project/Listen
Read more about Event delegation from here :)
http://www.google.se/search?hl=sv&q=event+delegation+javascript&btnG=Google-s%C3%B6kning&meta=&aq
Typo error above, "a lot of selectors" should be "a lot of events"
Something like this maybe
$('div.multiple_options li').each(function(){
var text = $(this).html()
$(this).html( text.replace(/\d+\s+/,'') )
})
But please remove that ugly inside your tags and make them
block elements instead to achieve the same effect.
/ Johan
On 2
I can only guess that you've set the loop-delay too soon, and don't
control if the image have been loaded. That would explain why it looks
better the next time you arrive, since the image will be in the
browsercache.
There's a couple of ways to go around this:
1) Load the cycle plugin onload inst
on the footer images. I
found "http://www.bonsaibranding.com/riverstone/blank.gif"; as a
background. Is this some kind of copyprotection you're using. That
could also potentially be a problem.
Johan
Jen skrev:
> Hi there,
>
> I have a couple of image slideshows on my sit
Does your entire page validate? No mysterious unclosed divs somewhere?
Johan
On 29 Mar, 18:16, lardlad wrote:
> I am having a problem counting the number of divs inside a container,
>
> var cellCount = $("#cellCont").children().length;
>
> cellCount is coming
Yes!
jQuery support this aswell. It adds every onload/domready event in a
queue.
$(window).load(function(){
// do stuff onload
})
$(window).load(function(){
// do other stuff onload
})
But you should really look into some pattern instead. A relly simple
and good pattern is the "Module Pattern"
'show' : 'hide' ]( arg );
};
$(document).ready(function(){
$('#edit-profile-country').each(function(){
var value = $(this).val();
$('#state').showIf( value == 'US' );
$('#province').showIf( value == 'CA' )
, but I think that first asked node is not yet
loaded when it tries to load the second.
I do not know how to wait for the node is properly loaded to load the
next one.
Maybe is there a better way to do this, I do not know...
Any help or hint would be appreciated :)
Regards,
Johan
Hi, I have a a problem that I don't really know how to take care of.
I want to do something like this
$.fn.myNamespace = {
myVar : 'test'
};
$.fn.myNamespace.myFunction = function(options) {
return this.each(function(){
console.log(this)
});
};
$('div').myNamespace.myFunction()
But
in the middle of the page, or wherever you wan't it.
Just a basic example
/ Johan
On 18 Feb, 09:18, gh0st <[EMAIL PROTECTED]> wrote:
> One of the things that is frustrating me in learning jQuery is that
> there isn't enough examples, case-studies or tutorials on how to use
>
Hi
I'm just learning jQuery and have some troubles with the selectors.
I'm using this (found in the basic training file) to show and hide a
Blockquote paragraph.
$('#content').find('blockquote').hide().end().find('h5').click(function
() {
$(this).next().next().slideToggle('slow');
#x27;).click(function() {
> $(this).nextAll('blockquote:first')
> .slideToggle('slow')
> .end()
> .nextAll('h6:first').slideToggle('slow');
> });
>
> On Aug 21, 3:08 am, Car
29 matches
Mail list logo