Great work!-AshutoshOn 8/11/06, George Adamson <[EMAIL PROTECTED]> wrote:
Hi everyone,I've been working on a Spin Control that uses only a standard textbox.
With _javascript_ enabled the textbox looks and acts like a spin-buttoncontrol without adding any extra elements.
http://www.softwareunity.com
A much neater way to do what you need is to use the Form Serializer. This allows you to get values of all the inputs at one go, and you can then submit them. And there is also a de-serializer plugin that allows you to set values from a JSON into the form.
The form serializer is in the svn version i
Hi AndyThere is also a form deserializer that can set values of a form by supplying a JSON object. And other form plugins.Check out:http://proj.jquery.com/plugins/
There is a section for Form PluginsRegardsAshutoshOn 8/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
AhThank you John.-Origin
jQuery might be a little slow for this need, try using regular DOM selectors, it would be faster and easier.On 8/10/06, Chad Lansford <
[EMAIL PROTECTED]> wrote:I'm new to jQuery, and I'm having a problem grabbing the value from a textbox or textarea.
I searched the past discussions and found this
> The first concerns the serializing function. In a normal browser form
> submit, the name and value of the submit button that was clicked are
> submitted. This is not the case within the form plugin. Is this intended
This is due to a bug in jquery. See http://jquery.com/discuss/2006-July/008689/
Hi folks,
after looking at the form plugin demo (
http://www.malsup.com/jquery/form/ ), I have some questions.
The first concerns the serializing function. In a normal browser form
submit, the name and value of the submit button that was clicked are
submitted. This is not the case within the fo
FF 1.5 shows arrows but otherwise doesnt work.
IE6 works for me.
On 8/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Hi George,
>
> very nice work so far.
>
> Some ideas:
> - min, max and increments would be very useful and quite easy to implement
> - concerning 'disallow non-numeric text': Sa
> $("input").removeClass("Hilite(Up|Down)");
While this is a cool feature - I'm kind of inclined to keep it
"hidden" for now. For powerusers, reading the source and finding that
gem isn't a huge issue - and for regular users, doing
.removeClass("HiliteUp").removeClass("HiliteDown") isn't "too bad"
Let's say I have some elements with similar-looking classes on them, like
.HiliteUp and .HiliteDown, and I want to remove them. This works:
$("input").removeClass("Hilite(Up|Down)");
Should jQuery be documented to make this kind of usage official? It is
depending on implementation details (that i
Hi George,
very nice work so far.
Some ideas:
- min, max and increments would be very useful and quite easy to implement
- concerning 'disallow non-numeric text': Sam wrote a plugin that does
exactly this ( http://sam.collett.googlepages.com/numeric.html )
- the perfect spinbutton could do this:
Ah
Thank you John.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John Resig
Sent: Friday, August 11, 2006 12:49 PM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery form handling
> $('[EMAIL PROTECTED]"myfield"]')get[0].val();
Nope, what he had
Okay...
It's working in FF. Very nice! This should get melded in with the form
plugin posted earlier.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of George Adamson
Sent: Friday, August 11, 2006 10:34 AM
To: discuss@jquery.com
Subject: [jQuery] JQuery Plug
> Is there a way to use the effects to do something like
> $(element).scrollTo(function(){$(this).focus()); and have it ease to the
> scroll point then focus the element?
If I'm not mistaken, the Interface plugin has this functionality - you
should check it out:
http://www.eyecon.ro/interface/
--
> $('[EMAIL PROTECTED]"myfield"]')get[0].val();
Nope, what he had was just fine - doing a .val() gets the value of the
first element matched.
--John
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
It works now, very slick!-jsOn 8/11/06, John Resig <[EMAIL PROTECTED]> wrote:
This is a great idea for a plugin - keep up the good work!> It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)Works for me in Firefox 2.0 Beta 1, OSX.However, Safari 2.0 shows no arrows (but if you click, it dec
This is a great idea for a plugin - keep up the good work!
> It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)
Works for me in Firefox 2.0 Beta 1, OSX.
However, Safari 2.0 shows no arrows (but if you click, it decreases
the count - only).
And in Opera 9 it also decreases the count only
> Hm, spiffy, that does look like just what I'm looking for. Thanks!
>
> Is that documentation page based on dev, beta, or latest?
>
> I'm fast getting the impression that the jQuery web site docs are well
> out of date compared to the current version. Is the temp link you
> listed auto-genera
It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)-jsOn 8/11/06, George Adamson <
[EMAIL PROTECTED]> wrote:Hi everyone,I've been working on a Spin Control that uses only a standard textbox.
With _javascript_ enabled the textbox looks and acts like a spin-buttoncontrol without adding any e
I believe that would be this:
$('[EMAIL PROTECTED]"myfield"]')get[0].val();
Where 0 relates to the order of the items?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Larry Garfield
Sent: Friday, August 11, 2006 10:35 AM
To: jQuery Discussion.
Subject: Re
Page not found.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of George Adamson
Sent: Friday, August 11, 2006 10:34 AM
To: discuss@jquery.com
Subject: [jQuery] JQuery Plugin: SpinBox / SpinButton Control (with no
extramarkup)
Hi everyone,
I've been workin
Very nice! Would be out of this world if you could hold down on the up or down
arrow and it would increment automatically.
For example if I wanted to increment to 40 fast I would just hold the arrow
down.
Not to throw a feature request at you cause I am not going to use it at this
time.
Maybe
Hi everyone,
I've been working on a Spin Control that uses only a standard textbox.
With Javascript enabled the textbox looks and acts like a spin-button
control without adding any extra elements.
http://www.softwareunity.com/sandbox/jqueryspinbtn/
The up/down arrows are achieved using a back
> Hm, spiffy, that does look like just what I'm looking for. Thanks!
>
> Is that documentation page based on dev, beta, or latest?
>
> I'm fast getting the impression that the jQuery web site docs are well out
> of date compared to the current version. Is the temp link you listed
> auto-generated
On Fri, August 11, 2006 11:07 am, John Resig said:
>> Or would we need to add a .climb() plugin?
>
> There's the new .parent() and .parents() methods which allow you to
> traverse up - which is exactly what you want. You can find basic
> documentation for it is (temporarily) here:
> http://john.jqu
> Or would we need to add a .climb() plugin?
There's the new .parent() and .parents() methods which allow you to
traverse up - which is exactly what you want. You can find basic
documentation for it is (temporarily) here:
http://john.jquery.com/jquery/docs/
--John
___
On 8/11/06, Larry Garfield <[EMAIL PROTECTED]> wrote:
On a related note, is there a way to extract the actual DOM nodes from ajQuery object to do basic JS manipulation on them?var domObj = $('a').get(index); example $('a').get(0) will get the first A element's dom object.
-js
_
It was originally written the way you suggested but John rearranged
them in svn v97. You'll have to ask him why. But I agree that
pre/post is a more natural ordering.
> Wouldn't it make more sense if it was preCallback then postCallback -
___
jQuery m
On 11/08/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
> The forms plugin (see forms.js in svn) provides excellent form support
> including things like:
>
> - submitting form via ajax
> - gathering form values
> - providing pre-submit validation callback
> - updating a target element with submit result
The forms plugin (see forms.js in svn) provides excellent form support
including things like:
- submitting form via ajax
- gathering form values
- providing pre-submit validation callback
- updating a target element with submit results
As an example, you can fully wire a form for ajax submitting
On 11/08/06, Larry Garfield <[EMAIL PROTECTED]> wrote:
> Another question that I've not found a solution to in the Docs yet. The
> jQuery object, in combination with .find(), offers a zillion ways to seek
> to a given element or elements and then traverse the tree down from there.
> What about go
Hm, spiffy. If I wanted to get an element that didn't have an ID, I
should be able to do that with something like:
$('[EMAIL PROTECTED]"myfield"]').val();
Right? What about multi-value fields like select boxes or radio button sets?
--
Larry Garfield
On Fri, August 11, 2006 10:25 am, Andy Mat
jQuery has great ways to interact with forms built right in.
$('#formfieldID').val() gets the value
$('#formfieldID').val(someVar) sets the value
Those are just the two basics. There's loads more built in.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of L
Another question that I've not found a solution to in the Docs yet. The
jQuery object, in combination with .find(), offers a zillion ways to seek
to a given element or elements and then traverse the tree down from there.
What about going up? Say I want to attach an event handler to an
element, t
Andy Matthews schrieb:
> Maybe it's only valid if there's something before it? Otherwise you're
> trying to select a child of nothing?
Yes, we didn't mean the combinator, but the selector as a whole.
This is an selector: '* > div'
This is a combinator: '>'
___
Hey folks. I'm evaluating jQuery for my company, and have a few questions
that I've not been able to find answers to in the Docs on the site yet.
The major question I have is about form handling. Specifically, does
jQuery (either core or a well-supported plugin) provide functions to
easily manag
Maybe
it's only valid if there's something before it? Otherwise you're trying to
select a child of nothing?
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Realazy XA Chen
Sent: Friday, August 11, 2006 9:29 AMTo: jQuery
Discussion.Subject
Is it possible to include this in a future update, as it is my only qualm as
a plugin? :(
sunsean wrote:
>
> Wow, ok so this is not a simple problem. I doubt it's been done, so
> I'm going to suggest how I would do it. Capture mousemove and if the
> mouse comes within clientHeight (or w/e the
Why "> div.item" is not a valid selector? According to CSS Spec( http://www.w3.org/TR/CSS2/selector.html#child-selectors ), that is a
Child selector.2006/8/11, Klaus Hartl <[EMAIL PROTECTED]>:
Steve Clay wrote:> Thursday, August 10, 2006, 8:59:42 PM, Realazy XA Chen wrote:>> $(".panel").click(fu
Friday, August 11, 2006, 9:24:55 AM, Klaus Hartl wrote:
> In some cases you may have to do something like the following:
> $(this).find('> p') ...
> I cannot think of another way to do that.
True... We /could/ make a valid selector for instances like these.
Something like:
$(this).find('jquery|th
Hi,
I had a problem with this plugin for long formulas : IE cut the
formula and made it unusable for the plugin.
I simply modified the begining of the plugin by replacing 'lang" by
"alt" and it works fine now !
(of course I did the same in the html files)
It's certainly a restriction of IE which
check for referer uri in server side script
On 8/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm not intending this as a jQ question, but maybe jQ can do this, or since
> there's some hardcode JS coders on this list, maybe someone knows the
> answer.
> ---
> I'm looking for the peren
I'm not intending this as a jQ question, but maybe jQ can do this, or since
there's some hardcode JS coders on this list, maybe someone knows the
answer.
---
I'm looking for the perennial "launch a 'close session' window on closing
the active window" script. I'm sure there are loads of peop
Steve Clay wrote:
> Thursday, August 10, 2006, 8:59:42 PM, Realazy XA Chen wrote:
>> $(".panel").click(function(){
>> $("> div.item",this).todosomethinghere();
>> })
>
> "> div.item" isn't a valid selector. If jQuery doesn't fail it probably
> should be considered a bug. "div.item" is all
Thursday, August 10, 2006, 8:59:42 PM, Realazy XA Chen wrote:
> $(".panel").click(function(){
> $("> div.item",this).todosomethinghere();
> })
"> div.item" isn't a valid selector. If jQuery doesn't fail it probably
should be considered a bug. "div.item" is all that's needed.
--
Steve
http:
Hi All,
Just working on some form based stuff and was just wondering:
Is there a way to use the effects to do something like
$(element).scrollTo(function(){$(this).focus()); and have it ease to the
scroll point then focus the element?
Thanks,
George.
This e-mail is confidential to the addresse
ups :)
jQuery.parse[0] = [ "\\[ *(@)S *([\\/!*$^=]*) *Q\\]", 1 ];
On 8/11/06, Aloyzas Rimeika <[EMAIL PROTECTED]> wrote:
> Add these lines in your javascript file:
> jQuery.parse[0] = [ "\\[ *(@)S *([\\/!*$^=]*) *Q\\]", 1 ];"trace(m[4])";
> jQuery.expr['@']['/='] = "new RegExp(m[4]).test(z)";
>
>
Add these lines in your javascript file:
jQuery.parse[0] = [ "\\[ *(@)S *([\\/!*$^=]*) *Q\\]", 1 ];"trace(m[4])";
jQuery.expr['@']['/='] = "new RegExp(m[4]).test(z)";
then you be able to do following:
$("[EMAIL PROTECTED]/='\\.(jpg|gif)(\\?.*|$)']")
On 8/11/06, Fil <[EMAIL PROTECTED]> wrote:
> @
Hi,
> It would be nice if there was a JQuery Plugin for handling Styles. I found
> a script that is made to change styles (such as to stylesheets).
>
> Here it is:http://developer.apple.com/internet/webcontent/styles.html
>
> Hopefully someone will be able to turn it into a JQuery Plugin
It would
@ Aloyzas Rimeika <[EMAIL PROTECTED]> :
> $("[EMAIL PROTECTED], [EMAIL PROTECTED]")
I know there are alternatives for most cases. However you can't beat the
versatility of regular expressions.
> > $("a[href REGEXP '\.(jpg|gif)(\?.*|$)']");
-- Fil
___
$("[EMAIL PROTECTED], [EMAIL PROTECTED]")
On 8/11/06, Fil <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to be able to query with regular expressions, something like,
> for example :
> $("a[href REGEXP '\.(jpg|gif)(\?.*|$)']");
>
> of course the syntax would not be "REGEXP", but you
OK
Do you Yahoo!?
Yahoo! Dating: It's free to check out our great singles! ___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On Thu, 10 Aug 2006, Franklin Davenport wrote:
> It would be nice if there was a JQuery Plugin for handling Styles. I
> found a script that is made to change styles (such as to stylesheets).
>
> Here it is:http://developer.apple.com/internet/webcontent/styles.html
jQuery does style changes alrea
52 matches
Mail list logo