[ ... snipped ... ]
>
> ... and after looking at your code (which always helps), I see you're
> referencing "this" (as opposed to jQuery's $(this)), which is why html()
> wouldn't have worked.
>
> In that case, sure. It's been said that "this" is more efficient than
> creating a jQuery reference
On Tue, Dec 22, 2009 at 10:40 AM, Charlie Griefer wrote:
> On Tue, Dec 22, 2009 at 10:34 AM, Mike Walsh wrote:
>
>>
>> [ ... snipped ... ]
>>
>> Thanks for pointing me in the right direction. This is what I ended
>> up getting to work:
>>
>>jQuery("span.event", ".calendar-table").eac
On Tue, Dec 22, 2009 at 10:34 AM, Mike Walsh wrote:
>
> [ ... snipped ... ]
>
> Thanks for pointing me in the right direction. This is what I ended
> up getting to work:
>
>jQuery("span.event", ".calendar-table").each(function(){
>var html = this.innerHTML.replace(/()\
On Dec 22, 12:09 pm, Charlie Griefer
wrote:
> 2009/12/22 Šime Vidas
>
> > Well, you selected BR elements, which are empty elements, so it's no
> > mystery why this.innerHTML returns undefined...
>
> > Also, DIVs shouldn't appear inside SPANs...
>
> He did state that he's using generated HTML.
2009/12/22 Šime Vidas
> Well, you selected BR elements, which are empty elements, so it's no
> mystery why this.innerHTML returns undefined...
>
> Also, DIVs shouldn't appear inside SPANs...
>
He did state that he's using generated HTML. He has no control over it.
Mike - this isn't really a jQ
Well, you selected BR elements, which are empty elements, so it's no
mystery why this.innerHTML returns undefined...
Also, DIVs shouldn't appear inside SPANs...
On Dec 22, 8:03 am, Dhruva Sagar wrote:
> I would suggest you to wrap the sections within * into a div and select that
> div.
>
> Thanks & Regards,
> Dhruva Sagar.
>
[ ... snipped ... ]
Unfortunately I don't have control of the generated content. The
content is generated by a WordPress Calend
I would suggest you to wrap the sections within * into a div and select that
div.
Thanks & Regards,
Dhruva Sagar.
On Tue, Dec 22, 2009 at 6:29 PM, Mike Walsh wrote:
> Long time listner, first time caller ...
>
> I am struggling with a selctor and am hopeful someone can help me see
> the fores
Long time listner, first time caller ...
I am struggling with a selctor and am hopeful someone can help me see
the forest through the trees. I am using a WordPress plugin which
generates the following HTML:
26
*
Christmas Break
Christmas Break
*
http://localhost/?p=104"; style="">
Futsal T
Good, practical formatting for understand the chain
From: Michael Geary [mailto:m...@mg.to]
Sent: Monday, November 30, 2009 3:28 AM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Selector Help
That's a nice solution.
Let's make it easier to follow with some i
{
>> $(this).parent().siblings('li').removeClass('active');
>> $(this).parent('li').addClass('active');
>> });
>>
>> Maurício
>>
>> -Mensagem Original-
>> *De:* Charlie
>> *Para:* jquery-en@googlegroups.com
>> *Enviada em:* domingo, 29 de novembro de 2009 03:56
>> *Assunto:* Re: [jQuery] Selector Help
>> ...
>>
>> Dave Maharaj :: WidePixels.com wrote:
>> How would I go about adding class to the li in this set up?
>> all
>> some
>> none
>>
>> ...
>>
>>
>>
>>
>
7;a.filter').click(function(){
> $(this).parent().siblings('li').removeClass('active');
> $(this).parent('li').addClass('active');
> });
>
> Maurício
>
> -Mensagem Original-----
> *De:* Charlie
> *Para:* jquery-
Enviada em: domingo, 29 de novembro de 2009 03:56
Assunto: Re: [jQuery] Selector Help
...
Dave Maharaj :: WidePixels.com wrote:
How would I go about adding class to the li in this set up?
all
some
none
...
$('a.filter').click(function(){
$(this).parent().addClass('active');
});
Dave Maharaj :: WidePixels.com wrote:
How would I go about adding class to the li in this set up?
all
some
none
$('a.filter').click(function(){
$(???).addClass('active');
});
Thanks
Dave
How would I go about adding class to the li in this set up?
all
some
none
$('a.filter').click(function(){
$(???).addClass('active');
});
Thanks
Dave
with the markup like:
i want to add a class "active" to , Link
I'm pretty new to Javascript/ jQuery, so this is really bugging me.
I'm trying to get the height of an h1 that is a sibling to this. The
value for the variable h1Height, however, returned as null in the
console in Firebug. Perplexed, I tried console.logging ('this'+'+h1')
to see what it was inter
I am cleaning up some html code and originally i had
Profile Settings
but the DIV inside the LI was too much so I went with adding the id="profile
to but script is no longer working
Profile Settings
Here's my code:
$(document).ready(function(){
$('#menulinks a').hover(function(){
setTimeout(function(){
$(this).stop().animate({
top : '40px',
paddingTop : '40px'
Hi,
Can some1 please explain this in detail to me? I am confused on the
selector part $('').
// add list to ul
var list = $('').attr
('class',_imageLoadClassName).appendTo('ul#'+_imgContainerId);
Thanks!
I have a table structure with a multiple rows containing a checkbox
input and 4 text inputs with distinct classes. I want to prefill two
of the text inputs in the same row where the checkbox is checked.
Example code for the first two rows:
I nee
I'm using a attribute selector and I want to combine the *= with the !
= on href. Is there any way to do this?
Code:
When a link is clicked, I would like to be able to reference the
particular parent fieldset element, and not all of them.
Something like this doesn't work:
$('.link').click(function () {
$(this+':parent').BLAHBLAHBLAH();
});
Thanks in advance, the help here is top not
Hi All,
This is my DOM structure:
First Name:
Middle Name:
First Name:
My app has to present some rather lengthy list of choices. Each choice has a
checkbox tied to it and multiple choices can be made.
When 'editting' the choices, we want to see all available choices, but after
editting is done, we only want to see what was selected. I'm stuck coming
up with the
I'm either making this more difficult than it is, or I'm missing
something simple...
I have a div that contains a table. Inside that table I have rows with
an arbitrary number of cells. The cells may or may not contain a div
with a "tasksummary" class. I need to find all the rows that DO
How would I turn this pseudocode into jquery?
if div#sidebar2 contains div.plugin {
div#sidebar2 width = 160px
div#content margin-right = 170px
}
I've been at this for a couple hours and I can't figure it out, so any
help is really appreciated.
Thanks,
Doug
In a table like this:
Item
One
Two
Three
I want to highlight the rows when hovered. I also wan't to set a
different background color on the row when double clicked. I have the
following jquery code:
$(document).ready(
function() {
$("[EMAIL PRO
I currently have this?
var params = $('input,select,textarea').serialize();
Is there a simple way to serialize all inputs expect for radio buttons?
29 matches
Mail list logo