Nevermind. I put the function click to another function and trigger the
function in textbox's blur event. Thanks.
On Tue, Nov 17, 2009 at 5:06 PM, ian wrote:
> I have a textbox and button to check items in the database. The thing
> is I want to trigger the button click event when
I have a textbox and button to check items in the database. The thing
is I want to trigger the button click event when textbox is lost
focus. This is my click event.
$(document).ready(function() {
$("#button_from").click(function() {
$("#waitingFrom").show();
I am trying to create something like this:
http://i27.tinypic.com/29p3woi.jpg
The text would be a tag or something similar. The progress
buttons don't have to be the dots I can use floated next and previous
arrows.
Is this doable using jQuery Slideshow or Cycle, preferably Cycle since
it seems
s have no other class or id attributes. I simply use
thead/tbody and th elements.
You can see an example here:
http://abitibi.sbgrid.org/cgi/du.py/opt/osg-local
Suggestions regarding how to correct this would be greatly
appreciated.
Ian
from contributing any kind of snippets that
they want. We'd love it if Ruby, PHP, Java, JavaScript or Perl developers
would use the site as well! What kind of social sharing site would it be if
there were only certain types of developers using it after all!
Happy Coding,
Ian
Title 1
Description 1
Teaser 1
simple xml
and this displays fine in all browsers. So my question is, why do the
browsers have different behaviour with respect to reading complex
elements out of xml data, and how do I get the data
Thanks a lot Karl. I'll give this a try. In the meantime I found a
workaround by just setting display:none in the stylesheet for the
local data s. Thanks for a great plugin!
Cheers,
Ian
On Apr 9, 7:21 pm, Karl Swedberg wrote:
> Hi there Ian,
>
> So sorry about that problem.
me contenthere's
another line.
hover here too
Here's some different content.
hover here too
Here's some really different
content.
Am I doing something wrong? This is a trivial example, of course, but
the principle applies to a larger web-app I'm working on.
Thanks,
Ian
Please check the testing page:
http://one.xthost.info/ian/jcarousel/test-1.html
There are twelve items. And "scroll: 6" was set in the configuration
in order to scroll six items at a time. But it scrolls only five items
and the last item ( box 12 ) is invisible. I have to scroll onc
But there's nothing invalid about that email *syntactically*.
If you want the plugin to do an MX check or SMTP validate or something
then you'll probably need to write a "remote" hook
http://docs.jquery.com/Plugins/Validation/Methods/remote
Ian
2009/3/11 mcreisi :
>
>
, like you, with the
two forms inside the table definition the error labels get duplicated.
Any ideas how I could work arount this?
Ian
2009/3/11 exhaler :
>
> i fixed the issue, turns out putting a form tag inside a table tag
> causes this problem
y, and show and hid the element.
Is there any way to hide an element once it is in a
certain area of the screen?
Cheers.
Ian.
method
seems
to be for both vertical and horizontal.
Or could i run the calculation only at the end of scrolling, not
whilst scrolling?
Any tips or suggestions would be ace, im still learning!
Cheers.
Ian.
The jQuery docs weren't good enough?
http://docs.jquery.com/Internals/jQuery.data
You should probably be using the data() function from core though.
http://docs.jquery.com/Core/data
Ian
On Fri, Feb 6, 2009 at 4:51 PM, Chris J. Lee wrote:
>
> I haven't been able to find good
I have created a website for a friend of mine that is a musician. The
website is not live yet, it is on a hidden portion of the server.
Anyways, the website is using jQuery to handle the "pages". All of the
code is actually on the index page and the jQuery tells what div on
the page to show when a
wasn't too ramblling.
Cheers
Ian.
I've noticed a lot of requests for Postal Code validation. I don't
know if anyone posted one, but here is an addon method I wrote for
Canadian postal codes.
$.validator.addMethod("postalCode", function(value) { // Addon method
for validating postal codes. Valid formats are (X1X 1X1) or (X1X1X1)
o
});
};
}
...but this results in all divs being shown immediately - presumably the
loop is being executed without a click being required?
Is there a simple way around this?
All the best,
--
Ian
Does the class that you are applying to your set the background-
color on the itself? If so, you might want to try modifying your
CSS a bit to apply the background-color to the elements in your
like:
tr.newClass td {
background:#ff;
}
Hope this helps.
On Dec 20, 4:31 am, JQueryProgr
re is something about truthy and falsy:
http://developer.mozilla.org/en/docs/A_re-introduction_to_JavaScript#Other_types
Ian
On 8/2/07, Rob Desbois <[EMAIL PROTECTED]> wrote:
> I had a discussion on the use of the === and !== operators recently on this
> list, my opinion was, an
Then, there's that nasty two bugs: [...] and quirky animation in FF.
From what I have seen, the animation issue should be resolved with
1.1.3. Give one of the recent nightly builds a spin to make sure your
issue is fixed though.
Ian
On 5/9/07, Dragan Krstic <[EMAIL PROTECTED]> wr
You can also try to attach a single event handler to the root node of
your tree and then only process the clicks on A-tags.
function iEatEventsForBreakfast(event) {
var target = $(target.event);
if (target.is("a")) {
// search for and open/close the folder associated with target
// somet
The XHTML 1.0 strict DTD defines id as an attribute on the html node
(I haven't looked at transitional or 1.1 strict)
http://www.w3.org/1999/xhtml'
>
On May 5, 1:15 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Su wrote:
>
> > On 5/3/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
> >> Can jQuery
Unfortunately that's a limitation of XMLHttpRequest - for primarily
security reasons, all browsers disable cross-domain "ajax" (in
general)
There are a couple solutions, one of which is to "proxy" the request
through the local server (have it contact your other domain, rather
than the browser)
G
Hey all,
I'm working on a simplistic "widget framework" to better standardize
how widgets work (if only for those that I'm writing) - I'd like to
share it to hopefully generate some ideas with it before I get too
involved
The goals behind it (thus far) are to:
* wrap widgets in such a way that
assignment + return (return empty = false) on my first
read. Glad I asked it though, it is definitely in my quiver now.
Thanks,
Ian
() here?
}
});
allEmpty && $(this).addClass( 'allEmptyTds' );
});
});
Mike - Thanks but I can't take credit for mark and sweep. I think I
got it while working on garbage collection in an OS class years ago.
On 4/27/07, Feed <[EMAIL PROTECTED]> wrote:
body, td and div elements. Some the .stopTheEventBubbling elements
will stop the event.
Ian
http://code.jquery.com/jquery-latest.pack.js"</a>;>
$(document).ready(function(){
function setupHandler() {
var tag = this.toString();
$(tag).click(function(event) {
$(
Building on Karl's example and your new all-td's-must-be-empty
requirement; mark all the TR's with a target class then sweep through
the TD's and get rid of the target class if you find a td that is not
empty. Play around a bit and see what else you can come up with.
it of luck, we might be able to get away
with one more message on the subject. One saying that the "close"
code/work around has gone away.
Ian
On 4/18/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
Jörn,
>if ( xml.overrideMimeType )
> xml.setRequestHeader("Con
I ran into some problems with the star rating plugin for jQuery 1.1. The
issue is that (at least in Firefox) links with "#foo" get expanded to
include the current page URL. The plugin assumes the href attribute is
a simple "#5", so the rating isn't extracted correctly. I patched it to
split on #,
I have a script that's crashing IE 6, hard. I'm not sure what's going
on, and I don't know where to start debugging.
I should mention that I'm not exactly inexperienced with debugging IE's
oddities. But I don't usually encounter cases where IE simply crashes,
so I'm not sure where to start.
Does
Ditto :)
On 4/10/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
thank you John, it always bothered me!
On 4/10/07, John Resig <[EMAIL PROTECTED]> wrote:
>
> Personally, I think this fix should just be removed - especially
> considering that we don't even support versions of Firefox, that old,
> any more.
ype of the
request. I forget his reasons for that right now.
Ian
On 4/10/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
I vaguely remember there being some issue with older versions of Firefox
that this solved, but don't quote me on that.
On 4/10/07, Priest, James (NIH/NIEHS) [C] <
35 matches
Mail list logo