I just released jQuery Metadata 2.1, which adds support for HTML5 data-*.
Usage:
This is a p;
$.metadata.setType("html5")
$("#one").metadata().item_id == 1;
$("#one").metadata().item_label == "Label";
Get it at http://plugins.jquery.com/project/meta
#x27;).attr('checked', 'checked');
> >
> > > or
> >
> > > $("[EMAIL PROTECTED]'option01']:checked")
> >
> > > If I had to guess, I would say the the first option is faster... but I
> > > like the readability of the second one better.
> >
> > > Anyone know of a good tutorial that details how to wok with forms
> > > using jQuery (sans-plugins)?
> >
> > > Many thanks in advance!
> >
> > > Cheers,
> > > Micky
>
--
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325
thin a span with class "TreeView", there is a table. Within the
> table, there are TD's. I want to select the TD's whose content ends
> in ".pdf". How would I go about writing an expression to, say, apply
> a class to only those nodes?
>
>
> Than
I would definitely recommend $("#id").length. When working in a
language, it's important to keep in mind the language's idioms. In the
case of JS, 0 == false, so if($("#id").length) is a perfectly good
idiom.
It's a bit confusing coming from another language (where 0 is true),
but that'
You need to provide more information about what you're trying to do.
You can do something like $("#button_a, #button_b,
#button_c").click(...), but I'm not sure why you're defining those
variables. Also, without var, those variables are being defined in the
global scope, which is bad pract
If you're only using IE, you're good to go. An alternative that works
cross-browser is to hijack Flash's access to the clipboard via
ExternalInterface.
-- Yehuda
On Dec 26, 2007, at 9:29 AM, Chris Jordan wrote:
Okay, I think I just found it. Before I posted this question I was
searching g
jQuery and Dojo are both in the interop camp (one global object; no
modifying native objects) so it should be fine :)
Sent from my iPhone
On Nov 5, 2007, at 7:08 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]
> wrote:
Is anyone using Dojo & jQuery together? If so, are there any issues?
#x27;slow');},500);
> >
> > If I need to cancel it, how do I this?
> > I would like to cancel it regardless of whether it is still in the
> > initial setTimeout of 500ms, or has already started to fadeIn.
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
This is undocumented but try $(arr1).not(arr2).get()
Sent from my iPhone
On Nov 1, 2007, at 9:38 PM, Flesler <[EMAIL PROTECTED]> wrote:
Well.. you have jQuery.inArray, that will do part of the job. It gives
you the index of the given value in one array or -1.
jQuery.inArray( 1, [8,3,2,1,2] )
Sent from my iPhone
On Nov 1, 2007, at 5:29 PM, "Dave Buchholz - I-CRE8" <[EMAIL PROTECTED]
> wrote:
I now have this working using the following code:
$(document).ready(function() {
$('#view a').click(function() {
$('#show-details').hide();
$.get($(this).attr("href"), {}, function
You can cancel an animation via $().stop
Sent from my iPhone
On Nov 1, 2007, at 5:17 PM, "S. Robert James" <[EMAIL PROTECTED]>
wrote:
I have an animation that runs after a delay:
setTimeout(function(){$(".mbox").fadeIn('slow');},500);
If I need to cancel it, how do I this?
I would like
re. There are a number of features that are not ubiquitously used, but
represent extremely common usage patterns, and are in use in a large number
of apps (think getJSON, for instance).
-- Yehuda
On 11/1/07, Lee Hinde <[EMAIL PROTECTED]> wrote:
>
>
> On 10/31/07, Yehuda Katz <[EMAIL
g it.
>
>
> > So as far as I'm concerned, livequery is the biggest advance in jQuery
> since
> > its inception (no, I am not its author). I'm trying to understand why
> it's
> > having such a slow rate of adoption.
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
d
> discover that it's either almost obsolete when it comes out because 2
> versions of the software came out before the book is in the stores or the
> book doesn't address much more than what's on the web site, hence the book
> publishing market shrinking.
>
> Thanks
>
ng to
bind some event handler to a selector regardless of when it appears on the
page, is extremely common. So again, I'm trying to understand why the rate
of adoption has been so slow. Any thoughts?
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
ot sure if it's EST or
PST...).
Get the book at:
http://www.manning.com/affiliate/idevaffiliate.php?id=485_93
Use coupon code JQM30 for 30% off!
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
Thanks Eric and Wizzud, that's what I was looking for. Much better than
> what I was doing.
>
> -- Josh
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
log for any who would like to take a look:
>
> http://grover.open2space.com/node/186
>
> The presentation was well attended (near full room), and well received,
> I think. I may have converted one or two folks from Prototype even. :)
>
> Shawn
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
This could be done trivially via Ajax
Sent from my iPhone
On Oct 29, 2007, at 8:46 AM, Bhaarat Sharma <[EMAIL PROTECTED]> wrote:
Hi
Wondering if someone here knows a plugin that would dynamically show
the user what image has been uploaded.
say the page has 3 text fields with browse button
I'm going to start taking a more active role as the official cat
herder (plugin lead). A number of people had ideas at jQueryCamp that
were very intersting to me and will drive innovation in this area.
Stay tuned!
Sent from my iPhone
On Oct 28, 2007, at 3:15 PM, "Rick Faircloth"
<[EMAIL
king this code to see how strong the
jQuery community's response will be :)
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
ere no quick solution ? i need both librarys
> > > >
> > > >
> > > > greetz julian
> > > >
> > > > On 23 Aug., 14:36, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> > > > > Time to namespace our expandos.
> > >
text to eval(). Once you get the response text, simply
> do: eval(responseText).
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
a problem, after loading the site, i became an js error
> >
> > > this.$events[type].keys has no properties
> > >mootools.v1.11.js
> > > Line 2878
> >
> > > Here is a screenshot:http://gfx.kj187.de/jqueryMootoolsProblem.tiff
> >
> > > Has anybody an idea ??
> >
> > > regards kj187 (julian)
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
It would be trivial to change the template field syntax. In the next
revision of this thing, I'll probably just make it configurable.
-- Yehuda
On Aug 19, 9:23 am, Pops <[EMAIL PROTECTED]> wrote:
> On Aug 19, 2:37 am, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
&g
gt; wrote:
>
> Pretty cool Yehuda, I'll have to give it a shot so I can give ya some
> feedback.
>
> ~Sean
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
;The number being passed in is 17.6 and its integer
value is 17"
In typical jQuery style, you can make it work on elements too:
$("#testMe").updateTemplate({first: "Yehuda", last: "Katz", number: 17});
Result: Yehuda
Katz 4
You can also load in the content
one id is checked.
> >
> > I'm waiting for staright response.
> >
> > Thanks in advance.
> >
> > --
> > View this message in context:
> > http://www.nabble.com/How-to-check-multiple-checkboxes-checked-at-a-time-tf4268943s15494.html#a12149798
> > Sent from the JQuery mailing list archive at Nabble.com.
> >
> >
>
>
> --
> Joan Piedra || Frontend webdeveloper
> http://joanpiedra.com/
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
or tell me how to do it, that'd be great.
> >
> > Cheers,
> > Christian Dannie
> >
> > On Aug 4, 6:40 am, "Ganeshji Marwaha" < [EMAIL
> > PROTECTED]<https://mail.google.com/mail?view=cm&tf=0&[EMAIL PROTECTED]>>
> > wrote:
p with any compelling
use-cases on-the-fly.
If you think this would be useful, and want it in 1.2, can you reply to this
post with a specific use-case that you could see using in real-life? I
really want to get this into 1.2, but it requires some proof of use ;)
--
Yehuda Katz
Lead Developer | Procore Technologies
(ph) 718.877.1325
in the original request for articles doesn't
> work (http://jquery.com/blog/2007/06/28/163/). :(
>
> :)
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
I forgot return:
$.fn.resize = function(max) {
max = max || 100;
return this.each(function() {
if(this.width > this.height && this.width > max) this.width = max;
else if(elem.height > max) elem.height = max;
});
};
That's so it remains chainable.
-- Yehuda
m.height > max) elem.height = max;
> }
> }
>
> I an just know really getting into jquery but not sure how to convert
> tis. My aim to be able to this function onblur of the file input field
> - if possible.
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
('file.php',{
> foo: 'bar'
> },function(){
> // whatever
> });
>
>
--
Yehuda Katz
Web Developer | Procore Technologies
(ph) 718.877.1325
selector for the HTML for the anker element after a given
> li element with a specific id.
>
>
> In the example i would need "Products" as the result for: Give me the
> HTML from the anker after the li element with the id=produkte.
>
>
>
>
>
> Products a
ure that
your plugin does, in fact, do that.
Thanks a ton!
--
Yehuda Katz
Plugin Team Leader | jQuery
(ph) 718.877.1325
Hey guys,
Great news! Hpricot has accepted my patches to make hpricot compatible with
jQuery, which means you'll only need to checkout the latest hpricot from svn
to use jQuery on Rails.
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
n
(which hopefully will produce something tangible) that it would be very nice
if people built their functionality using jQuery.fn instead of $.fn
because at least one other kit uses '$' to prefix their namespaces and no
one else uses the jQuery prefix (obviously).
-Ariel
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
Now all we need is a hierarchical D&D tree and resizable layouts (with
content panes), and Interface beats Ext any day of the week in my book.
-- Yehuda
On 4/6/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
Hey!
Props to you guys; I've been waiting for this for the longest time
; Starting next week I will have some free time again and me and Paul
>> will continue working on Interface 2. I hope this month we will
>> release it.
>>
>> Take care.
>>
>>
>>
>
I hate to flood the list with kudos, but seeing the capabilities of
In
40 matches
Mail list logo