use .text() if you're looking to return a string of text only rather
than html. And by value of a label, you do mean what goes in
here right?
On Dec 18, 5:41 pm, "graphic...@googlemail.com"
wrote:
> Hi,
>
> I use the .html() function to get the value of a label, but when it
> contains an ampersa
Try this instead:
$('a', data).click(function(){
var href = $(this).attr('href');
[etc...]
});
When using $('a', data).attr('onclick', 'javascript:your code goes
here'); the 2nd parameter should be a string, as if you were doing foo
On Dec 18, 12:55 pm, Namotco wrote:
> Here is what I'm trying
This is what you would want to do:
$("#gallery li:first").before("testing").hide().slideDown("slow")
On Jul 3, 11:51 am, pek <[EMAIL PROTECTED]> wrote:
> I have a small problem when dealing with effects. Warning: Noob
> question ahead.
>
> Currently I have a list of items
>
> test
> test2
>
$(function(){
$('.Boite').each(function(){
$(this).find('div').hide();
});
$('.Boite a').click(function(){
$(this).parent().find('div').toggle();
});
})
On Sep 5, 1:38 pm, "israel.hayes" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was us
setInterval(function(){
$('#my_refreshable_div').load('some_folder/my_div_content.html');
}, 2000)
On Sep 1, 7:02 am, Sir Rawlins <[EMAIL PROTECTED]>
wrote:
> Good morning all,
>
> I have a requirement to automaticly refresh a DIV with some content
> from another URL every couple of secon
Aptana might be a consideration. Or there's also the Eclipse IDE with
the Aptana plugin.
On Sep 11, 10:41 am, Andiih <[EMAIL PROTECTED]> wrote:
> I always feel VS in all its incarnations is a bit clunky, and a bit
> heavy. Its a necessary evil for dot net development, but I'd prefer
> to avoid i
Hi,
I've been building a site, and we have modules that can be collapsed/
expanded. This works fine in Firefox, but of course IE6 has some
issues with this.
I'll explain the problem, and you can check it yourself at
http://artist.fabricmg.net (password is music123). Scroll down to the
modules (w
I'm pretty sure this is possible, but I couldn't seem to put my finger
on how to do it properly. What I'm looking to do is create either
functions or jQuery methods with a custom callback functionality, that
would work in the same way as the built-in callbacks for fadeIn,
slideDown, etc.
For exam
Not quite, I don't necessarily want a delay in a set amount of time, I
was looking to execute the second function after the first one has
completed. For animations and AJAX calls, jQuery already handles that,
but I wanted to integrate a callback functionality in my own custom
methods.
Thanks for
Yes, I'm pretty sure you can.
On Apr 11, 2:36 pm, "Frans H." <[EMAIL PROTECTED]> wrote:
> Jquery is really amazing! I am so glad I was introduced to it.
>
> Is there a way to combine features from multiple plugins ? I'd love a
> sortable, scrollable table with key navigation :)
>
> I'd really lo
This should work for you:
if ( $('td').is(':visible') ) { // the rest of your code }
On Apr 11, 2:32 pm, "Matt Kruse" <[EMAIL PROTECTED]> wrote:
> I'd like to find out if a table cell is actually visible or not. Is
> there a method in any plugin that will do this work for me?
>
> The complexity
Oh... oops sorry about that! lol
On Apr 11, 2:48 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> real schrieb:
>
> > This should work for you:
>
> > if ( $('td').is(':visible') ) { // the rest of your code }
>
> That won't work (for
Oh ok thanks Klaus, I'll look into that.
On Apr 11, 5:36 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote:
> On 4/11/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
>
> > Nice! Where do useful micro plugins go?
>
> The cookbook[1] perhaps?
>
> [1]http://docs.jquery.com/Cookbook(I do remember there b
Oops, I meant thanks Jorn*
On Apr 11, 9:07 pm, "real" <[EMAIL PROTECTED]> wrote:
> Oh ok thanks Klaus, I'll look into that.
>
> On Apr 11, 5:36 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote:
>
> > On 4/11/07, Klaus Hartl <[EMAIL PROTECT
I'm not 100% sure if this would be the cause of your problem, but I've
had some issues with disappearing content in IE. It's due to some bug
of theirs, and I know of two fixes. One is to set the CSS line-height
rule to 1 or 1.2 or something on the detail block and it might fix it.
Or you can set t
Hi,
I have two unordered lists, one that needs to be both sortable and
droppable at the same time, and the other one is just a droppable.
Currently I can get it to work by making both UL sortables, so the LIs
can be moved between both lists fine.
Here's the problem though: I need to use the onDr
Hi,
I have an unordered list that needs to be sortable, but also
droppable. I'm using the Interface plugin, but whenever I make one UL
both droppable and sortable, it doesn't function properly.
Either that, or is there a way to have the same functionality as the
onDrop callback (for droppables),
Or actually, would there just be a way for the following
functionality: an item from a sortable is dragged into another list
(that's also sortable), but when the dragging stops, instead of the
item being *moved* to the new list, can it be copied there instead?
On May 3, 3:01 pm, real &l
Hi all,
I found a few threads related to jQuery OOP, but since I'm pretty new
to OOP maybe I just was not understanding a few things.
I pasted some code below, and it's my attempt at OOP, but is there a
way to make this code more jQuery like? Or just better in general? All
suggestions are welcom
Thanks. Would there be a benefit for me to use prototype instead of
privileged members? And if so, how do people generally get around the
lack of "self" as a reference to the object?
On Jun 13, 6:54 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Your code looks just fine, I'll just hit
Hi,
I've tested the iAutoscroller from the Interface plugin and it doesn't
seem to work when a DOCTYPE is declared, in either Firefox or IE. Is
there something I'm missing, or is there a workaround? I basically
want the site to autoscroll down or up as something is dragged and
sorted.
Thanks in
hm is no one else experiencing this problem?
On Sep 17, 6:02 pm, real <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've tested the iAutoscroller from the Interface plugin and it doesn't
> seem to work when a DOCTYPE is declared, in either Firefox or IE. Is
> there somet
And $('.class a') wouldn't find the anchor tag. It would be $
('a.class')
On Dec 17, 12:41 pm, "Lourenço" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i need get the this's parent div, something like this:
>
>
> Close
>
>
> and in code..
> $(".class a").click(function(){
> $(this < div).slideUp(
don't use
> them well since they don't work for me (still lot to learn). But
> instead I used "load". And so far it has been quite effective even if
> I know I'm probably not on the right path.
>
> So my question is : is it real Ajax if I use Load like this
If you're trying to replicate the functionality of a submit button,
then the link would only submit the form it's contained in. A regular
submit button wouldn't submit any form (unless I'm mistaken) if it's
not within the tags anyway. So why not something like this?
$(document).ready(function(){
You might want to check this out:
http://ejohn.org/blog/simple-javascript-inheritance/
On May 6, 11:13 am, Javier Martinez <[EMAIL PROTECTED]> wrote:
> I'm moving from mootools to jquery and trying to port my UI framework
> to jquery.
> Some of my widgets are extending from another widget. For ex
26 matches
Mail list logo