Sorry for posting to this list, but I know there are some other cf-talk'ers
on this list...does anyone know what's up with the cf-talk list? I haven't
received anything since last night. Just trying to confirm if I'm the only
one.
-- Josh
Andy, Ben Nadel has some information about calling CFCs outside the webroot,
without a mapping, on his blog. It may be of help to you. I think there is
still some mediation that happens but I don't think you have to use a
middle-man file.
-- Josh
- Original Message -
From: Andy
As an aside, Rob Gonda's AjaxCFC handles numbers 2 and 3 below nicely, and he's
built a hook into jquery into the latest version. You can set the return type
to JSON or WDDX, and it will report a nice error message for you if there's an
error in your cfc. Not sure how that would tie in with
Hey all,
I've been working on my first jQuery plugin, it's going to be called jqURL.
It handles some url parsing tasks and does a few other nifty things. But, I
have a couple of questions -- I want to make sure I'm going about things the
right way.
1) I'm not adding any methods, just
Hey all,
I'm working with jEditable which changes text to an input field when you
click the text. It works really nicely.
I modded it a bit to allow me to style each of the elements individually,
rather than the whole form, which is working fine.
When you generate a textarea, it also
1. wrap the two buttons in their own div tag. THis will cause them to
appear on their own line since div tags are display:block; by default.
OK, I'm a dumb dumb...I added display:block to the textarea style and now
it displays how I want, with no hacks to jEditable code (other than my
Basically, you fire off a message to the server saying that yes JS is
enabled. Update the session, and use that from then on in your code.
I am thinking of forking my application in one area where I want to handle
things very differently depending on if someone has javascript enabled, and
How about callback = function() {
$(#mydiv).hide().show().hide().show()
}
-- Josh
- Original Message -
From: Alexandre Plennevaux
To: jquery-en@googlegroups.com
Sent: Monday, April 23, 2007 1:27 PM
Subject: [jQuery] Blink effect
hi,
i've been playing with the effects
I am experiencing spacing issues with my divs that is apparently fixed
when I delete white space between DIV's using firebug.
I am having trouble with jEditable/textarea that seems to be related to your
issue. When I do a POST, and the textarea kicks back to the div, a space
and two
When you POST something to script this script should echo back content of
the div. Is your script echoing back extra newline.
This is what was happening. I am using ColdFusion for the backend and I had
to set cfsetting enablecfoutputonly = yes to get rid of the extra junk.
-- Josh
I see what's going on there Rey. It looks like there are two divs on top of
the image - when you hover the right half, it pops up the next link and
when you hover the left half, it pops up the previous link. When you
click it, it shows the browser's native focus mechanism for that div -
.
Again, thanks goes out to Stefan Petre for developing the original version
and Matthieu Paineau for his nice revisions and fixes.
Rey...
Josh Nathanson wrote:
I see what's going on there Rey. It looks like there are two divs on top
of the image - when you hover the right half, it pops
Hey all,
I want to select the first parent of my selection that is a td element. How
do I do that?
I don't want parent(), since the number of parents in between may vary, or
parents(), since I don't want to select ALL the td's that are up the
hierarchy. Just the first parent that's a td.
This is a tricky one, you use the contextual selector:
$(option:selected,#edit-taxonomy-1)
This is like saying find the selected option in the context of element id
edit-taxonomy-1.
Give that a shot.
-- Josh
- Original Message -
From: Mario Moura
To:
Andy, try this:
$(option:first,#select-id).attr(selected,true);
-- Josh
- Original Message -
From: Andy Matthews
To: jquery-en@googlegroups.com
Sent: Wednesday, May 02, 2007 11:45 AM
Subject: [jQuery] Re: Force the FIRST option to be selected in a select box.
Hrm...
Rey,
I put up a very basic proof of concept for you, you can view source to check
the code:
http://www.igigi.com/divstest.cfm
It looks like hell in IE, but the basic functionality is there. It just
needs some css help I think for IE.
The only thing you'd need to add is grabbing your
-
From: Josh Nathanson [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Wednesday, May 02, 2007 5:07 PM
Subject: [jQuery] Re: Dropdown div functionality
Rey,
I put up a very basic proof of concept for you, you can view source to
check the code:
http://www.igigi.com/divstest.cfm
Looks real good...
One question though, I thought that up arrow means ascending and down arrow
means descending? It seems that the opposite is happening. Maybe it's a
US/non-US thing.
-- Josh
- Original Message -
From: Daemach [EMAIL PROTECTED]
To: jQuery (English)
Hey all,
It seems as though in IE6, doing $(select).removeAttr(disabled) has no
effect, i.e. it doesn't re-enable the select menu. My code works fine in
FF. Is this known behavior and is there a workaround, or am I missing
something?
I started out trying to set disabled=false, which
I had my name and id attributes with different values, this was messing up
IE. When I named them the same, it started working.
-- Josh
- Original Message -
From: Josh Nathanson [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Wednesday, May 09, 2007 2:06 PM
Subject: [jQuery
You have to do something like this:
$(this).attr(checked) ? $(this).val() : 0
This will return the value if it's checked, or 0 if it's not.
$(this).val() is just reaching into the dom and getting the attribute
value of the element, whether or not it's checked.
-- Josh
- Original
It's funny how they're so anti-science, yet without science, I doubt we'd
have computers or email to allow them to spread the good word so easily.
- Original Message -
From: Matt Stith [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Tuesday, May 15, 2007 4:14 PM
Subject:
The OP has a case where there are two forms, each with its own ID, however,
the elements of each form are the same so there are duplicate ID's.
Perhaps this is not the best design pattern, and class or name could be used
for selection rather than IDs. Or, set it up so the IDs are not
Testing, please ignore.
I am trying to select the first td element two levels up from the clicked
div element.
I have this, which works, but it's ugly.
$(this).parents(td:first).parents(td:first).attr(class,greenback);
Is there a cleaner way?
- Josh
You're right...it doesn't work with just the parent() and no specific element
selector. I need the td's in there.
I would like to use divs to make the layout simpler, but I just couldn't get it
looking the way I want in IE6.
Oh well, ugly it is!
- Original Message -
From: Ⓙⓐⓚⓔ
, Josh Nathanson [EMAIL PROTECTED] wrote:
You're right...it doesn't work with just the parent() and no specific
element selector. I need the td's in there.
I would like to use divs to make the layout simpler, but I just couldn't
get it looking the way I want in IE6.
Oh well, ugly
I get that error too, when you try to login at http://ajaxcf.com/project/
with admin admin.
-- Josh
- Original Message -
From: Rey Bango [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Friday, June 08, 2007 2:47 PM
Subject: [jQuery] Re: ANNOUNCE: Open Source Project Tracker
It is an known issue. I have a solution for it but have not implemented
it yet. Solution would be to dynamically add a string such as Click to
edit to an empty element. String would be configurable. This way you
have something to click even if element was empty.
Any other ideas are
Most jQuery plugins, big exception for Interface, are superfluous IMO.
If people took the time to really look into everything you can do with
jQuery + JavaScript's native features, they'd see how incredibly easy
it is to come up with a home grown solution that does specifically
what they need
Do you mean like $(td:first) for example?
-- Josh
- Original Message -
From: Chris Jordan [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, June 14, 2007 1:18 PM
Subject: [jQuery] Can I select just one?
Hi folks,
I've not really had a need to do
I'm using it, also in conjunction with ColdFusion, with good
success...nothing jumps out of your code...what exactly is the doing
something funny that you reference?
-- Josh
- Original Message -
From: cfdvlpr [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent:
There is probably a CF error happening. If this happens, the ajax post does
not complete. If you have firebug, you can check the ajax response to see
what the CF error is.
-- Josh
- Original Message -
From: cfdvlpr [EMAIL PROTECTED]
To: jQuery (English)
It looks like you are using php, can you just do a plain old server include,
rather than doing it client side?
-- Josh
- Original Message -
From: vince [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Monday, June 25, 2007 10:48 AM
Subject: [jQuery] Preload
Hey all,
I have a script that does an ajax load into a tbody jQuery object, like so:
$tbl = $(# + asp + _tbody); // dynamically finds tbody
$tbl.load(prodsched/dom_dpdcolorrow.html,
{},
addrow
); // load html content (tr's) into tbody
The html file consists of a table row tr with
, you
can't load a tr into a table. Crap.
On Jun 26, 6:01 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Hey all,
I have a script that does an ajax load into a tbody jQuery object, like
so:
$tbl = $(# + asp + _tbody); // dynamically finds tbody
$tbl.load(prodsched/dom_dpdcolorrow.html
.
On Jun 26, 6:01 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Hey all,
I have a script that does an ajax load into a tbody jQuery object, like
so:
$tbl = $(# + asp + _tbody); // dynamically finds tbody
$tbl.load(prodsched/dom_dpdcolorrow.html
Hey Ben,
That all looks really good, and it's fun to play with!
People on this list who are not familiar with your coding style will probably
trip out on its verticality, since because of jQuery's chainability, it tends
to get quite horizontal.
It would be cool if you added a little got me!
Yeah...1.18 MB of nothing. They obviously are not concerned with dialup users
either...
Just for fun I went to my Netflix account with JS turned off. For those who
don't know, Netflix is a DVD rental company that's pretty big here in the U.S.,
and they use a ton of JS to enhance the user
If each of your target td's has a class clicktd...
$(.clicktd).click(function() {
$(this).siblings(td:eq(1)).children(div.class).show();
});
Something close to that should work...someone will jump in and correct me
I'm sure!
Basically on an event such as click, $(this) will point to
Hey all,
I've whipped up a timepicker plugin over the last few days, and I'm hoping
some folks on here using Macs might try the demo and let me know how it
works, especially Safari.
http://www.oakcitygraphics.com/jquery/clockpick/ClockPick.cfm
Most of the kinks have been worked out, there
!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: jeudi 12 juillet 2007 22:16
To: jquery-en@googlegroups.com
Subject: [jQuery] ANNOUNCE: ClockPick, a timepicker plugin
Hey all,
I've whipped up a timepicker plugin over the last few days
Hi Dan,
Thanks for all the input.
As far as the unbind behavior...that was mainly for the demo, so that if you
switch from click to mouseover in the demo, it will unbind the previous
setting. No need for that really.
I'll work on the other stuff and get it ready for version 1.01.
-- Josh
$(#clockpick1).unbind().clockpick(opts);
opts.valuefield = 'timefield';
$(#clockpick2).unbind().clockpick(opts, cback);
Duh, should've figured that out. It's done now.
By the way, take a look at the Klaus' new release of clueTip(). He's got
code in the clueTip to make sure the clueTip
Some folks are lobbying for a pause(ms) method, but it's not in the code
yet.
There's a plugin to do what you want though; if you dig around in the thread
archives for animation pause plugin you can probably find the link for the
plugin.
-- Josh
- Original Message -
From:
Hey jQuery'ers,
I am having an issue with jQuery in IE6. I have a very large html page
coming from the server which also includes the jQuery packed file. When the
page is too large, IE6 throws a long running script error; the end user
clicks abort script, and havoc ensues with the
Hi Dan,
Thanks for the info. I'm working on increasing the specificity of the
selectors, but it's still too many darn dom elements. There might be 3000
bindings that need to happen. Next step is to do the old fashioned binding
right in the html.
-- Josh
- Original Message -
Everyone,
Thanks for the help. I went old school and hard coded the mouse events into
the elements, of course using jQ in the event handlers. Just too many
elements on the page for jQ to handle the binding comfortably. Now it's
running great.
-- Josh
- Original Message -
From:
@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Thursday, July 26, 2007 1:30 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Are there any particular ways to debug jQuery code?
Mitchell - if an error occurs in a script, you will see a red x in the
lower right
Mark, I noticed the same thing and also had to roll back to 1.1.2. I sent
the plugin author an email offlist, I see you have cc'd him as well.
Hopefully he will come up with an update soon that will address the issue.
-- Josh
- Original Message -
From: mmiller [EMAIL PROTECTED]
Mitchell, a good way to debug jQuery or JS in general is via a tool called
Firebug, that is available as an extension for the Firefox browser.
In your case, it probably would have said something like fade is not a method
of jQuery, which would have immediately helped you diagnose the problem.
My critique is: that is badass.
-- Josh
- Original Message -
From: Marshall Salinger
To: jquery-en@googlegroups.com
Sent: Thursday, July 26, 2007 4:20 PM
Subject: [jQuery] Re: SITE SUBMISSION: Please add gsalr.com to the list of
sites
Hi Michael,
I wish I could offer
Mitchell - if an error occurs in a script, you will see a red x in the
lower right corner of the web browser. Click that to open the Firebug
console. In the console tab you'll see the error. Instead of throwing an
alert like IE6 does, it logs errors into the console.
If your script is
Are you describing something like this at the top of the apple mac store?
http://www.apple.com/mac/
I'd love to know how to do that in jQuery as its both a continuous
scroller
AND a group scroller.
Isn't that very similar to the JCarousel line of plugins?
-- Josh
I know these kinds of responses aren't really popular but...
Why bother doing any of that? Why aren't you just using regular text
fields (and any other applicable form field)? Why force the user to
click yet another time to edit a field?
In my case I wanted my users (who have no idea the
I hope someone could help me with this.
i tried to put this:
$(#username).editable(???, {
cssclass : someclass
});
in a function and than call the function when you click the link but
that didn't work.
Mark - you might be able to nudge the jEditable creator to mod the plugin to
What are others doing to make sure that even small snippets of HTML aren't
creeping into their js files? Do you have this in separate html files that
you import and then fill with data?
Yes, I do this. If I am adding more than a couple of elements to the DOM, I
will create a blank html
I haven't done it, but isn't the modal window just a div on the parent page?
I would think you could add a function in the onHide callback that would
select the appropriate modal window field and then populate your parent
window field with the value. Not tested, but something like this
quick question... are the :eq() etal... selectors gonna stay? or are they
going to be removed as well.
They would have to be left in the API for backwards compatibility, correct? Or
would they become private methods only?
-- Josh
- Original Message -
From: Ganeshji Marwaha
Selectors are staying, the methods are going.
Ah yes, that's the way to maintain backwards compatibility.
- Original Message -
From: John Resig [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Friday, August 03, 2007 3:29 PM
Subject: [jQuery] Re: :eq vs :nth?
--John
On
josh, how is that maintaining backwards compatibility?
I assume that you will still be able to use the old selectors, but the
underlying method that processes them will be different - thus they will be
deprecated. Is that not correct jQuery gurus?
-- Josh
say-ferry = American
say-kweery = UK
-- Josh
- Original Message -
From: Tobias Parent [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Monday, August 06, 2007 5:26 PM
Subject: [jQuery] Re: Jquery Vs. Prototype
I feel like such a n00b - I've always pronounced it to rhyme
I think you need to get rid of the dollar sign. This will get rid of any
non-numeric characters or decimal points, so will take care of any symbols -
dollar sign, euro or whatever:
script type=text/javascript
var amt = '$7.95';
var result = amt.replace(/[^\d\.]/g,);
alert(parseInt(result));
Oh, I thought he wanted the int 7 out of $7.95. If you just want the
float then use Erik's code, or mine without the parseInt part.
-- Josh
- Original Message -
From: Erik Beeson [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Tuesday, August 07, 2007 3:49 PM
Subject:
Hey all,
Just downloaded the official Form plugin, and I notice there is not a packed
version anywhere that I can find. I can pack it myself of course, but I'm
just wondering if there's a reason that there's not a packed version
anywhere - is there an issue with packing this particular
that mean it's firing onUnload? Is that used anywhere
in jQuery or the plugins I mentioned?
-- Josh Nathanson
Anyone know where to get the compressed version of this plugin:
http://www.malsup.com/jquery/form/
I asked that myself recently and got no reply. I ended up just packing it
myself. If you don't have the Dean Edwards packer url, here it is:
http://dean.edwards.name/packer/
-- Josh
Yep, that's a feature of JavaScript. No quotes means it's a number, not a
string, and numbers that start with 0 are assumed to be octal (base 8). Even
parseInt(063) will give you 51, since again, it assumes you mean octal.
Boy am I glad I saw this thread. I have just started using $.getJSON
I think this will work:
if (event.target.id 'match')
-- Josh
- Original Message -
From: Mitch [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, August 16, 2007 6:32 PM
Subject: [jQuery] Question about event.StopPropagation()
I am trying to get
Great job Jörn! I see you got my wizard implementation in there...your code
is of course super slick compared to mine! Love the new animations.
-- Josh
- Original Message -
From: Jörn Zaefferer
To: jQuery Discussion.
Sent: Friday, August 24, 2007 3:03 PM
Subject: [jQuery]
Hi Peter, welcome to the jQuery list!
Try just changing the val to text in the plugin - as long as you keep
the class name the same it should work:
var s = $(c.cssPageDisplay,c.container).text((c.page+1) + c.seperator
+ c.totalPages);
Now, best case scenario you don't want to change the
12:11 PM
Subject: [jQuery] Re: Tablesorter Questions
@Rey, The very same - thanks to your continued evangelism of jQuery I've
finally caught the bug!
Best Wishes,
Peter
On 8/27/07 2:36 PM, Josh Nathanson [EMAIL PROTECTED] wrote:
Hi Peter, welcome to the jQuery list!
Try just changing
I notice you are running an each method when the find is looking for an
id (#invoice). This implies that you are looping over multiple elements
with the same id. This will mess things up as it is invalid to have
multiple elements with the same id. Try using invoice as a class rather
than
Hey Jim,
I have an extension jqURL you can check out. The demos aren't quite
finished, but it works. Here's the link:
http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html
Basically if your query string value is myvar, you do:
var x = $.jqURL.get(myvar);
There are some other useful
Next() will only get siblings -- can you post the html?
-- Josh
- Original Message -
From: ruperdupe [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, August 30, 2007 11:36 AM
Subject: [jQuery] next() problems
What I'm trying to do is when someone
Would it be possible to use the wrap method to wrap the content in a
secondary div on callback, which would be styled to your specifications? I
think if you try to change the layout properties of the jqModal div itself
it will cause problems like what you're seeing.
-- Josh
-
Weird, the first time I went I saw nothing, then I checked again and I see
the merch now. Try refreshing Glen?
-- Josh
- Original Message -
From: Rey Bango [EMAIL PROTECTED]
To: jQuery Discussion jquery-en@googlegroups.com
Sent: Tuesday, September 04, 2007 10:49 AM
Subject:
If you know it's always going to be an a element, maybe this would work:
switch (event.target.className) {
case 'close':
do stuff
break
case 'continue':
do stuff
break
etc.
-- Josh
- Original Message -
From: gr00vy0ne [EMAIL PROTECTED]
To: jQuery
Really like that interface Andy. My only beef is that the top of the logo
gets cut off when the page slides up. More of a design preference on my
part I guess. Super cool UI.
-- Josh
- Original Message -
From: Scott Sauyet [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Andy - I think you need to use th tags in the header row, rather than td.
Give that a try.
-- Josh
- Original Message -
From: Andy Matthews
To: [jQuery]
Sent: Tuesday, September 11, 2007 12:27 PM
Subject: [jQuery] tablesorter plugin not working...
I've tried it with
with the demo code. Anyone else
have an idea?
--
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh
Nathanson
Sent: Tuesday, September 11, 2007 2:53 PM
To: jquery-en@googlegroups.com
Subject
Nice -- onclick it should alert Oh yeah baby! or something.
- Original Message -
From: Glen Lipka
To: jquery-en@googlegroups.com
Sent: Wednesday, September 12, 2007 3:44 PM
Subject: [jQuery] Vibrator Plugin
Ben Nadel and I were playing with his latest experiment.
jCarouselLite has a couple lt and gt methods (removed from 1.2), and also
suffers from the negative pixel issue that was discussed on this list
earlier this week.
Can't speak for jCarousel though.
If you roll back to 1.1.4 for jCarouselLite you should be ok for now. The
negative pixel
Stef - lt and gt are missing from jQuery 1.2 and 1.2.1. You'll need to roll
back to jQuery 1.1.4 if you want to use jCarouselLite, or try modding the
jCarouselLite code yourself.
-- Josh
- Original Message -
From: stef [EMAIL PROTECTED]
To: jQuery (English)
OK sorry, lt and gt are NOT in 1.2.1. I was not using the part of
jCarouselLite that invokes those methods. Sorry about that.
-- Josh
- Original Message -
From: stef [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, September 18, 2007 8:23 AM
Hold the phone -- looks like lt and gt are back in jQuery 1.2.1. I just
fired up jCarouselLite with 1.2.1 and it works fine. I can't find lt and gt
as methods in the 1.2.1 source code, but no errors are thrown. Can anyone
confirm?
-- Josh
- Original Message -
From: stef [EMAIL
Well, I might wake up in five years and decide that I can use a 1MB library,
but when I woke up this morning, I was glad I'm using 25K jQuery. And not
only because it's optimized for small footprint, but also because it's easy
to use.
-- Josh
- Original Message -
From: Bil Corry
var GitRDone = smoke'n hot;
$(body).append(GitRDone);
Not tested...
- Original Message -
From: FrankTudor [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, September 19, 2007 12:45 PM
Subject: [jQuery] easiest question all day
can someone show
Try adding return false; -
$(#myimage).bind(mouseout, function() {
console.log(Hello)
doStuff();
return false;
});
-- Josh
- Original Message -
From: Fabien Meghazi [EMAIL PROTECTED]
To: ML:jQuery jquery-en@googlegroups.com
Sent: Thursday, September 20, 2007 3:13 PM
Subject: [jQuery]
Maybe you can bind a mouseover event to the map areas, that would do nothing
but return false. This may keep the mouseout from firing when you mouseover
an area --
$(area).mouseover(function() {
return false;
});
- Original Message -
From: Fabien Meghazi [EMAIL PROTECTED]
Spotted in the wild?
- Go to http://www.verizonwireless.com
- Look at your Firebug Script tab, find the script gn_engine.js
That packed script looks suspiciously familiar...and it's 27K
?
OK, sorry about that. Weird though that it's also 27K packed.
- Original Message -
From: Michael Geary [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Thursday, September 20, 2007 4:05 PM
Subject: [jQuery] Re: Verizon Wireless website using jQuery?
From: Josh Nathanson
Hey all,
This is more of a JS queston in general than a jQuery question: how do I get
the time it took for an ajax post to complete?
I am trying to show a progress bar for an ajax post which may take anywhere
from 1 to 20 seconds. It's a multi-row database table update. To do this
I'm
(); }
// before the ajax call
var before = now();
// and in your ajax success callback:
var elapsed = now() - before;
Time is in milliseconds, but actual resolution is usually less, e.g. 15
millisecond resolution on a typical PC.
-Mike
From: Josh Nathanson
This is more of a JS queston
Are you sure your ajax call is returning what you expect? Assuming you're
using Firebug, check the response in your Firebug Net tab - you should see
an XHR request that you can click on and see what's coming back from the
server.
-- Josh
- Original Message -
From: [EMAIL
If you're talking about capturing the event when a checkbox is checked, then
click is correct.
$(#mycheckboxid).click(function() {
dostuff;
});
- Original Message -
From: voltron [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Monday, September 24, 2007
Hey Shawn,
Have a look at my plugin ClockPick - you can set the time intervals as you
describe:
http://www.oakcitygraphics.com/jquery/clockpick/trunk/ClockPick.cfm
-- Josh
- Original Message -
From: sgrover [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Tuesday, September
Andy, on the click event I think you would have to:
- check to see if they are toggling from off to on
- if they are, and there are already two on days, return false
You can do this by checking the size of the jQuery object that is returned when
selecting all on days (pseudo code follows):
if (
You could the masked input plugin, so that they couldn't enter periods or
@'s in the first place. It's really nice.
http://jquery.com/plugins/project/maskedinput
-- Josh
- Original Message -
From: Alex [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent:
Try this:
$('input,select,hidden', '#adminForm').each(function() {
do stuff;
}
This says get all input, select, hidden elements in the context of
#adminForm.
-- Josh
- Original Message -
From: mo2g [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent:
1 - 100 of 389 matches
Mail list logo