If you say $("#myradio").val("42") it will set the value attribute of
the element with id=myradio to the value 42. Are you proposing that do
something else instead?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"jQ
It will only work with an array as param.
However a radio has only one value, unlike checkboxes.
I dont really know if an array make sense as a parameter for radios,
but single values surely do.
Thanks!
Simon
--~--~-~--~~~---~--~~
You received this message because
>>> I ran into a number of times where I needed to grab a
>>> series of css values and set them all onto another,
>> This functionality overlaps with what you were proposing in #4295
> That bug has nothing to do with the caller interpreting complex
> shorthands.
I agree; I was looking at the fu
The problem there is that the height there becomes the end height.
"show" unsets the value after animation. A little more like.
var height = $(this).height();
$(this).hide().css({height: 5})
.animate({width: "show"})
.animate({height: height}, {complete: function() {$(this).css("height",
""
> .unbind() .unbind(type); .unbind(type, func);
> Using .unbind(func); seams the most logical since the pattern looks like
> you're just ommitting whatever you aren't specifying specifically.
>
> What would "*.foo" do?
Unbind everything that has that namespace.
http://docs.jquery.com/Namespaced_E
We swap the value out to get the value, but don't unset the value - and
that's only for height and width.
What you're talking about can be done like this:
var height = $(this).height();
$(this).hide().css({height: 5})
.animate({width: "show"})
.animate({height: height});
That looks pretty s
.unbind() .unbind(type); .unbind(type, func);
Using .unbind(func); seams the most logical since the pattern looks like
you're just ommitting whatever you aren't specifying specifically.
What would "*.foo" do?
Though as for .bind("*", fn); I don't see how that could really be done.
There are do
I remember someone mentioning something like:
.unbind("*", fn)
It could also apply to other things like:
.unbind("*.foo", fn)
.bind("*", fn)
--John
On Sat, Mar 21, 2009 at 6:16 PM, Daniel Friesen
wrote:
>
> Originally the lead programmer wanted to avoid making the core of the
> applicati
Dave Methvin wrote:
>> I ran into a number of times where I needed to grab a
>> series of css values and set them all onto another,
>>
>
> This functionality overlaps with what you were proposing in #4295 but
> to me it seems like a better way to do it because you can explicitly
> get the ind
I believe jQuery does it using swap and unsetting the value, right?
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com]
-Nadir-Point & Wiki-Tools (http://nadir-point.com) (http://wiki-tools.com)
-MonkeyScript (http://monkeyscript.org)
-Animepedia (http://anime.wikia.com)
-Naru
Originally the lead programmer wanted to avoid making the core of the
application dependent on any specific JavaScript framework. So I ended
up writing a small one. Now we're trying to migrate to one that can be
isolated nicely (jQuery) now that he's gone.
Right now I'm picking at small differ
Done! Please see http://dev.jquery.com/ticket/4397
Thanks,
Dave
On Sat, Mar 21, 2009 at 2:48 PM, John Resig wrote:
> Probably, yeah - could you file a ticket?
>
> --John
>
>
>
> On Sat, Mar 21, 2009 at 1:57 PM, David Citron wrote:
>
>>
>> Internet Explorer does not accept the attribute "colspan
Probably, yeah - could you file a ticket?
--John
On Sat, Mar 21, 2009 at 1:57 PM, David Citron wrote:
>
> Internet Explorer does not accept the attribute "colspan" and instead
> requires "colSpan" with a capitol 'S'.
>
> jQuery.props already has a mapping for "rowspan" -> "rowSpan".
>
> Should
Internet Explorer does not accept the attribute "colspan" and instead
requires "colSpan" with a capitol 'S'.
jQuery.props already has a mapping for "rowspan" -> "rowSpan".
Shouldn't a mapping for "colspan" -> "colSpan" be added as well?
Thanks!
Dave
--~--~-~--~~~---
And how is the natural height determined if you've already explicitly
overwritten it with another value?
--John
On Fri, Mar 20, 2009 at 9:11 PM, Daniel Friesen
wrote:
>
> At work I tried to animate something to grow horizontally then grow
> vertically.
>
> .hide().css({height: 5}) // Use a smal
Hi jdalton,
Thanks for the info!! Now I understand more to the problem and found
some workaround others have done years ago. And the problem appeared
in other js lib like prototype..
As with the old post said, the hasOwnProperty check is good enuf for
this problem.
It seemed that the workar
Yeah, the core version would be much more simple than that ... I envision it
being very similar to Dan's plugin.
--
Brandon Aaron
2009/3/21 Scott González
>
> We're building this into jQuery UI, most likely for 1.8 (
> http://wiki.jqueryui.com/PositionTo ). We should figure out what
> parts ca
+1
And I wonder why you need your own framework :P
On Sat, Mar 21, 2009 at 6:27 PM, Daniel Friesen
wrote:
>
> When I wrote my framework at work with a .bind method similar to jQuery
> I actually ended up adding another simple way to call it thinking jQuery
> supported it.
>
> $(node).unbind(); //
We're building this into jQuery UI, most likely for 1.8 (
http://wiki.jqueryui.com/PositionTo ). We should figure out what
parts can/should go into core and what should go into jQuery UI.
On Mar 20, 8:35 pm, Brandon Aaron wrote:
> Cool. I'll take a look at this soon. We might also want to make
Try $("> div > div:first-child", grid)
On Sat, Mar 21, 2009 at 7:18 PM, Obinna wrote:
> If I have a grid composed of row and cell div element as follows:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> As
> I ran into a number of times where I needed to grab a
> series of css values and set them all onto another,
This functionality overlaps with what you were proposing in #4295 but
to me it seems like a better way to do it because you can explicitly
get the individual properties you want rather th
On Sat, Mar 21, 2009 at 6:15 PM, Daniel Friesen
wrote:
>
> At work when I was writing my own JavaScript framework (partly inspired
> in API by jQuery) I ran into a number of times where I needed to grab a
> series of css values and set them all onto another, as a result I ended
> up coming up with
If I have a grid composed of row and cell div element as follows:
Assuming I have a 'grid' variable pointing to the top grid div, and I want
to return all the cells in the first 'column'. I would e
When I wrote my framework at work with a .bind method similar to jQuery
I actually ended up adding another simple way to call it thinking jQuery
supported it.
$(node).unbind(); // everything
$(node).unbind('type'); // all events of type
$(node).unbind('type', func); // just the func event on ty
At work when I was writing my own JavaScript framework (partly inspired
in API by jQuery) I ran into a number of times where I needed to grab a
series of css values and set them all onto another, as a result I ended
up coming up with another type of input to .css;
$(someNode).css(['backgroundC
If anyone is interested I just tried experimenting with a little
something.
I installed a ruby file system watcher: http://paulhorman.com/filesystemwatcher/
And setup this small little script:
#!/usr/bin/env ruby
require "filesystemwatcher"
watcher = FileSystemWatcher.new()
watcher.addDirectory(
26 matches
Mail list logo