I'm not sure what the {$k} part is all about, but you should be able
to select that tr by using ...parents('tr:first') rather
than ...parents('tr:last')
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 16, 2008, at 6:47 PM, dumkat wrote:
I am return
I created a post on this a few days ago:
http://groups.google.com/group/jquery-en/browse_thread/thread/1cdb78d24a38ed29/3660686c56256a10#3660686c56256a10
Just like those on many on-line shopping stores, is there a jQuery
plugin that we can use to zoom in/out an image? :-) or which approach
should I take to make such applications? many thanks..
lihao
I suppose shawn we can just agree to disagree because your comments
about it's application specific, IMO, is completly misguided in this
topic. IMO, it's not application specific but a option for any
developer to use. I don't see it as something very specific, no more
than jquery having an @each s
I am having a little trouble with the update callback when i drag an
item from one Sortable to another.. the update function gets called
twice.. is there anyway around this or am i going to need to think of
a way around the 2nd call?
The calls are going to be sending a json array to the backend w
Hello all,
I'm using the autocomplete plugin (http://jquery.bassistance.de/
autocomplete/demo/) and everything runs fine in Firefox and Opera, but
in Internet Explorer (7) It fails and the only little error I get from
IE is " 0 is null or not an object ", and thats from this line in the
plugin " f
Hi... I just found out about the wonderful Kevin's jScrollPane and I
want to use it. Unfortunately, I want to use it with a mysql
dataset... I got a list of people and their details stored in a table
and I want to display their introduction text within a DIV that has a
custom scrollbar. But from w
I want to have one submit button that validates and processes the
form, and I want one inside the form for a different purpose. However
they both validate the form. How do I stop it from validating?
I was able to get past my problem, turns out the JSP file where I construct
the return XML had Carriage Return characters in there that causes a problem
parsing the return. I was able to surmise this by adding 3 parameters to
the 'error' function:
error: function(XMLHttpRequest, textStatus, err
thanks for your reply. However, it doesn't work, the variable newwidth
return nothing.
the following works:
var obj = {
width: 300,
div: 'testdiv',
func: function () {
var newwidth = 300;
$('#'+this.div).animate({width:newwidth+'px'}, 1000);
}
}
the following doesn't:
va
I need to validate the data on the onClick. I will pass the div
id to validateDiv method. In the above scenario I need to validate
only the data that is there in
unsubscribe
- Original Message
From: Karl Rudd <[EMAIL PROTECTED]>
To: jquery-en@googlegroups.com
Sent: Wednesday, July 16, 2008 9:35:59 PM
Subject: [jQuery] Re: ajax queue/stack aka fifo/lifo
No stack or queue built into the jQuery "wrappers" around AJAX. It's
asynchronous so queuing
Actually that only works in FireFox... IExplorer seems to be blocking
this due to security reasons.
On Jul 16, 5:34 pm, "isharerides.com" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Just in case this helps you still, here is how I got this to work:
>
> $("#button2").click(function() {
>
I understand that but I need to call the function .ifixpgn() in #blc2,
while I have to be specific about .openBloc #blc2 and closeBloc #blc2
No stack or queue built into the jQuery "wrappers" around AJAX. It's
asynchronous so queuing it, by default, would turn it into a kind of
synchronous process, removing one of the features/advantages.
Having said that there are a few plugins that might help you manage
things, two of which are:
You can access the document object of an iframe with jQuery:
var doc = $('iframe').contents().get(0);
That SHOULD be enough.
>From there.. you get a bifurcation depending on the browser you're at.
--
Ariel Flesler
http://flesler.blogspot.com/
On 15 jul, 22:15, Marcus Eby <[EMAIL PROTECTED]>
You can scroll the textarea with a simple call to the plugin.
There's no exposed method to get the bottom position, by the plugin
will limit your number if it's higher than the maximum.
You can either put a large number, or calculate the right value
yourself using the DOM properties of the textare
On Jul 16, 2008, at 6:03 PM, psdp wrote:
I have a value stored in an object, and now i want to pass it to a
jquery function, please help:
var obj = {
width: 300,
div: 'testdiv',
func: function () {
var newwidth = this.width;
$('#'+this.div).animate({width:newwidth+'px'}, 1000
Did you try the wrapper DIV that I suggested? Did it help or not?
$('div.displayer').html( '' + strHTML + '' );
-Mike
> huh. this is an interesting thought. why would the use of
> join() speed things up versus just appending a string variable?
> the reason I'm not concerned about the for()
I too am having a very similar issue where my callback is not being called.
My error function gets called instead, and the value of e is: [object
XMLHttpRequest]
Here is what my code looks like:
$.ajax({
url: '/member/MemberNameCheck.htm',
type: 'POST',
data: {name: $mName, ts
Hi, I'm having some issues with a drop down menu in one of my sites
(http://www.laseleccion.com.ar/argentina). While in Firefoz it works
perfect, in IE 6 y does not display the menu at all. It works in IE 7.
Any ideas what could be the problem?
Thanks in advance
Leroy
I am using the excellent Tooltip plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ and had a
quick question on the settings.
The top-left corner of the tooltip tracks the mouse pointer, and
positioning is according to the top-left corner.
I'd like to use the top-right corne
I am returning a form in an ajax call that is built with a table
I want to find an input
$('input[{$k}]')
then i want the immediate parent tr of that input.
I have tried
$('input[{$k}]').parents("tr:last").addClass("error-field");
and
$('input[{$k}]').parents("/../tr:last").addClass
Is jquery doing either of these by default? I haven't seen requests
overwriting each other in my work, but I'm curious is this is manually
handled or not even a problem these days with xhr.
Further debugging shows that my request does indeed get sent to the server,
server logs show the valid request coming through and being processed just
fine. Charles proxy shows the response coming back with a status code of
200 OK.
So basically my AJAX call above goes out and gets processed jus
All right, here's my situation
I have a bunch of articles stored in my database, plain jane HTML ones
submitted by a few hundred different people (read: people of all
varying levels of HTML expertise, from none to expert)
In some of these HTML snippets are 's and and other
items that one way or
they thanks for the reply. I don't fully understand what the
parameters in this line do exactly. why is variable in 'quotation'
marks?
fn = new Function( 'variable', code );
thanks!
On Jul 8, 4:03 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> OK, try this. It's the same idea as the code I p
huh. this is an interesting thought. why would the use of join() speed
things up versus just appending a string variable?
the reason I'm not concerned about the for() loop is that it seems to
be quite fast when I output the strHTML in a document.write.
I'm trying to figure out wasy to speed up th
Paul's site discusses how to access styles for individual elements, as well
as stylesheets, stylesheet rules and their properties:
http://www.quirksmode.org/dom/w3c_css.html
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jquertil
Sent: Wedn
ok fine so I use a class - still having the same lack of
understanding: how do I get the contents of the CSS class into a
variable?
I have a value stored in an object, and now i want to pass it to a
jquery function, please help:
var obj = {
width: 300,
div: 'testdiv',
func: function () {
var newwidth = this.width;
$('#'+this.div).animate({width:newwidth+'px'}, 1000);
}
}
> Sorry I'm such a n00b. I have only done a couple of things with jQuery, just
> real simple stuff.
> Anyways, here's what I need:
>
> I need a SIMPLE slideshow/carousel script.
> It should be able to automatically slide between images (actually slide,
> like the image moves all the way to the lef
does anyone know if it is possible to trigger a function on an
autocomplete retrieval ( using this autocomplete library
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ )
example:
i'm currently using result() to store the id of a currently selected
item in a hidden field when a u
Hi Diego,
thanks for your answer. Indeed my problem seems to be similar to that
described in the articles you posted; however, there still seems to be
a difference because the solutions didn't help. :(
First I tried to add the "execCommand" to my code. The behavior
changed to that effect that the
Hi there,
Just in case this helps you still, here is how I got this to work:
$("#button2").click(function() {
parent.top.$.closeDOMWindow({
closeNow:1
});
});
If you include this snippet into the site displayed in the ifram
Wow, thanks, I revised the code but I didn't see it...
So... it works!!
Thanks a lot for your time... and... see you!
Got it:
$("#calScrollTitle a")
.livequery(function(){
$(this).addClass('ajax').ajaxContent({
target:'#adminToolsListing',
event:'click',
loaderType:'img',
loadingMsg:'/__data/assets/image/0018/24345/announce-
loading.gif'
});
}
One of the things that the team tries hard to do is provide as much
information to jQuery developers as possible. We're actively using
Twitter to make announcements about upcoming jQuery & jQuery UI updates
and releases, new plugins and tutorials.
http://twitter.com/jquery
and
http://twitt
I can't seem to use jcarousel if it I use the start option to be more
than 1,000. I am using it for a photo site where the slide image could
anywhere from 1 to 300,000
e.g.
jQuery('#photo_carousel').jcarousel(
{
scroll: 1,
s
I have a form with a table that contains a list of names. For each
name there are two drop downs - relationship1 and relationship2. When
the user selects the option, Other Relative or Other household member,
I need a text input to display allowing them to enter the actual
relationship.
I have som
The CASE:
I have 3 links which specify 3 different views (or various sized
DIVs).
If the user clicks a specific view the according link should become
invisible. As a result only 2 links supposed to be active and visible
at any time since the 3rd view is currently active.
What is the most elegant w
Alright, I fixed that problem by taking out the columns and just
changin some css.. now i just need to figure out how to make it so the
large gaps don't get created when a div is bigger or smaller than the
normal size..
On Jul 16, 2:32 pm, armsteadj1 <[EMAIL PROTECTED]> wrote:
> If i have 3 colum
Wow, thanks, I revised the code but I didn't see it...
So... it works!!
Thanks a lot for your time... and... see you!
Ok, I realize it is working. But, for some reason it is not working
with the ajaxload script. I have a feeling I have to somehow call the
ajaxload from within livequery.
$('a.ajax').ajaxContent({
target:'#adminToolsListing',
event:'click',
loaderType:'img',
loadi
Or rather:
$("#Tags, #MoreTags").each(function() {
$(this).autocomplete("GetTags", {
autoFill: true
});
});
On Wed, Jul 16, 2008 at 10:09 PM, spicyj <[EMAIL PROTECTED]> wrote:
>
> Try:
>
> $("#Tags, #MoreTags").each(function(input) {
> input.autocomplete("GetTags", {
>autoFill: true
>
Neither of the callbacks in the following code are ever invoked:
jQuery.ajax({
type: "GET",
url: actionUrl,
data: { productId: productId, quantity: quantity },
dataType: "xml",
error: function(e) { alert("Failure: " + e); },
success: function
Try:
$("#Tags, #MoreTags").each(function(input) {
input.autocomplete("GetTags", {
autoFill: true
});
});
Change "$('entreelisting',xml)" to "$('entreelisting',this)".
If i have 3 columns that hold 3 divs () each
and i make those columns sortable by:
$('.column').sortable();
Now if someone moved one of the divs to another column, then that
column would recieve 4 divs.. is there anyway to make it so the
sortables would be evened out? so if one column has 4 divs
Hello,
I have 3 inputs that use the same AutoComplete function. Can I make
this work only with one command?
I have:
$("#Tags").autocomplete("GetTags", {
autoFill: true ...
I tried
$("#Tags, #MoreTags").autocomplete("GetTags", {
autoFill: true ...
But it does not wo
> Yeah it's a kind of bug in jQuery ...
>
> I dealt with this issue one month ago and the solution was to convert
> it into JSON
the way I am planning to approach is by building in-memory DOM element
and injecting the XML into it.
example:
var el = document.createElement('div');
el.innerHTML = x
On line 27, 'left: "311px"' should not have a comma after it. That
solves the problem for me.
On Jul 16, 11:54 am, The Sixth Halcon <[EMAIL PROTECTED]> wrote:
> Here you can see a functional sample ;)http://blitrank.com/pspsdk_test/
>
> Thanks a lot!
sorry, I am incorrect. I forgot there were multiple forms. That
should work
On Jul 16, 2:29 pm, noon <[EMAIL PROTECTED]> wrote:
> livequery accepts two parameters, the first is the event to which a
> function (the 2nd parameter) is bound to.
>
> $('a.someLink').livequery('click', function() {
>
livequery accepts two parameters, the first is the event to which a
function (the 2nd parameter) is bound to.
$('a.someLink').livequery('click', function() {
// anchors with a class of 'someLink'
// can now be dynamically inserted to the dom
// yet still have an 'onclick' event associated w
Hi all,
I realize this is a gigantic newbie question, but I am totally stuck
and I want to do this the right way... figured I'd go to the experts.
I'm trying to write a section of code in jquery that will read my XML
sheet and then produce a set of unordered lists with individual list
items in H
Here you can see a functional sample ;)
http://blitrank.com/pspsdk_test/
Thanks a lot!
Hi,
I'm currently using:
$("#msg").empty().prepend('It works!').show("slow").animate({opacity: 1.0}, 5000).fadeOut("slow");
But the problem is, that it's still showing (for the specified 5000ms)
after i invoke new action which should display something different
than "It works!" instead waiting
I am trying to get live query to work, so that it will add a new class
to links that have just been added to the DOM through ajax.
Something is not right though:
$('a.calendarNavLink').livequery(function(){
$(this).addClass('ajax');
});
Have I done something wrong here?
Or get a copy of Learning jQuery and read half an hour in the morning
or evening.
Jörn
On Wed, Jul 16, 2008 at 5:38 PM, fredriley <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot, Jörn. I did try twice to post a detailed reply to your
> reply, but nothing's appeared here so it looks like it's fallen
All available validation methods are listed here:
http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods
Jörn
On Wed, Jul 16, 2008 at 6:47 PM, Andiih <[EMAIL PROTECTED]> wrote:
>
> Fantastic - I'd guessed my way into getting it working (using
> submitHandler with no argume
Yeah it's a kind of bug in jQuery ...
I dealt with this issue one month ago and the solution was to convert
it into JSON
I think your code has a couple extra lines. It should be:
$('.new').livequery('click', function() {
$('.new').before('Item ' + (index
+ 2) + '');
return false;
});
Though I'm not sure you actually need "livequery" there; I think bind
would suffice.
It always helps if you can upload a simple test case page that
displays the error.
> > > Any way to have several slideshows on the same page, each with their
> > > own independent navigation (prev/next), without giving them unique
> > > ids?
>
> > > Couldn't get this working:
>
> > > $('.gallery').each(function() {
>
> > > var p = this.parentNode;
>
> > > $(this)
Thanks for clarifying Mika...please note Mika's comments.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mika Tuupola
Sent: Wednesday, July 16, 2008 11:59 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: "Uncompressed", "Minified and Gzi
I've just tried this and it seems to work... just wondering what other
unintended side effects I'm not seeing ;)
$(".extraContent").hide(); // hide the extra stuff by default
$('a.extraContentTrigger').click(function() { // added a class to
the [TITLE] link
$(this.parentNode).find('.ext
If one has a textarea or editable div with overflow: auto, and one
starts typing and filling the div, due to focus on the cursor the
scroll will keep the newly added lines in view. But if one is adding
the content dynamically, the newly added lines will appear out of view
- there's no cursor to fo
Thanks for the help everyone- it works! :) Now, some tweaking... I
have several divisions that I want to show in this manner, so how do I
make the code a general rule as opposed to a specific order to show
#overview? For example, how would I show #contact without writing a
new script snippet? I wo
Fantastic - I'd guessed my way into getting it working (using
submitHandler with no arguments) but hadn't realized that
submitHandler can pass the form. I can make the handler much more
generic. Thanks for that.
What are the default classes that cause validation ?
Andrew
On Jul 16, 2:13 pm, "
Thanks a lot, Jörn. I did try twice to post a detailed reply to your
reply, but nothing's appeared here so it looks like it's fallen into a
cyber black hole. No bother. Incorporating your very useful help I've
managed to create a revised and working test at:
http://www.nottingham.ac.uk/~ntzfr/tes
Hello
I want to use the http://sorgalla.com/jcarousel/, but with more than
one "column" of thumbnails.
For example, with the vertical carousel (http://sorgalla.com/projects/
jcarousel/examples/static_vertical.html), set :
.jcarousel-skin-tango .jcarousel-clip-vertical {
height:245px;
width:200p
I'm aware this is a common error, but has anybody found a solution
yet?
The error with ga.js is as follows:
"Error: uncaught exception: [Exception... "Component returned failure
code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMScreen.width]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS fra
Hi, this is one of my firsts experiences with jQuery and I have a
little problems already.
The problem explanation is that I want to apply an effect to a css
layer (and it is applied) that when you click on a special div, it
moves some layers. It works perfectly with Firefox, but not in IE...
I le
On Jul 16, 2:29 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> On Jul 15, 4:22 pm, wdm <[EMAIL PROTECTED]> wrote:
>
>
>
> > Any way to have several slideshows on the same page, each with their
> > own independent navigation (prev/next), without giving them unique
> > ids?
>
> > Couldn't get this work
Gabriel,
Since that's the case here is the method I would use.
div with no background onload that contains the gallery of thumbs.
next, when you click a thumb the loading gif becomes background while
the selected image is loading. once loaded it becomes the background.
I'm not sure how to do t
On Jul 15, 9:36 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Check out the demo (http://jquery.bassistance.de/autocomplete/demo/),
> pick the example that comes closest to your requirement, and take a
> look at the code for that one. Firebug helps a lot there.
Thanks for the reply, Jörn, and
Just came to the same conclusion. My intent was to actually send a
stringified version of the JSON object (so im using json2.js from
http://www.json.org).
None the less, thanks Eric!
On Jul 16, 4:51 am, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> HTTP parameters are key/value pairs. If you have a
[apologies if this reply appears twice - my session had ended when I
hit post the first time so I wasn't sure if I'd made it as it didn't
appear on a page refresh.]
On Jul 15, 9:36 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Check out the demo (http://jquery.bassistance.de/autocomplete/demo
On Jul 16, 2008, at 7:48 PM, Andy Matthews wrote:
Packed takes the source code and runs it through an algorithmn which
compresses variable names, methods, code, etc into one big line of
javascript. You can find more information about it, and pack your
own code,
here:
http://dean.edwards.nam
Uncompressed is the raw, human readable, source code for the plugin.
Packed takes the source code and runs it through an algorithmn which
compresses variable names, methods, code, etc into one big line of
javascript. You can find more information about it, and pack your own code,
here:
http://dea
Hello,
Most JQuery plugins, including JQuery itseld, offer three versions:
"Uncompressed", "Minified and Gzipped" and "Packed".
1. Should I use "Minified and Gzipped" or "Packed"?
2. How can I create myself the "Minified and Gzipped" or "Packed"
versions from the Uncompressed version?
Is there
Hi Jörn,
Thank you for your help ...
In fact I had that before but it was not working so I changed ... I
realized it now that there were two problems:
That one on my AutoComplete code and another one on the methods that
returns the JSON when connecting to the SQL Server.
I was able to spot it us
OK, spoke too soon... on further testing, I'm getting an unintended
(but really stupid, on my part) side effect...
if i put another anchor in the hidden content (a link to a file or
site, for example), the toggle is triggered on that click, too (since
it's in the wrapper DIV, right?). so, in a si
FORMAT:
Yeah I agree the {}/[] issue complex and after going another round with
xotree I have to say I really like the 'force_array' map it optionally
allows. That said the asArray() solution works and I might like it even
better once I'm using it becuase I'm totlly Lazy ;)
ATTRIBUTES:
if you wan
Oh and now that I'm reading my response I forgot to mention these characters
in xml names, '-' (minus) and '.' (dot). Obviously not legal tender in the
js arena. The only thing I can think of here is to not map to a legal js
name and force the associative array usage, eg via foo['bar-goop']
Ugh
Hi Jörn,
OK, that sounds reasonable. I did some experimenting after I sent the
original email and found that the unique naming issue was the
real issue, not the form being dynamic: even a simple form such
as:
...which is perfectly valid HTML, causes the plugin problems.
I've already po
On Tue, 2008-07-15 at 21:46 -0700, partner56290674 wrote:
> it's possible to possibly wait for the user to stop panning.
> Currently, when the pan ends, an onEnd event is fired, which then
> fires off the ajax. So what you're suggesting is that i queue the pan
> onEnd events?
I recently needed so
Hi Karl,
Thanks so much for the help - it definitely got me in the right
direction. Here's what I ended up with inside the (document).ready
function:
$(".extraContent").hide(); // hide the extra stuff by default
$('div.contentWrapper').click(function() { // contentWrapper DIV,
contains [TIT
Put the ajaxSubmit stuff into the submitHandler-callback, here is an
example:
http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html
Jörn
On Wed, Jul 16, 2008 at 11:29 AM, Andiih <[EMAIL PROTECTED]> wrote:
>
> The behaviour I have is that the form is correctly validated, b
I tried the latest version but still have the said issue.
On Jul 15, 11:36 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Please checkout the latest revision or wait for the next release
> (1.4), the issue is fixed
> there.http://dev.jquery.com/view/trunk/plugins/validate/
>
> Jörn
>
> On Tue
On Jul 15, 4:22 pm, wdm <[EMAIL PROTECTED]> wrote:
> Any way to have several slideshows on the same page, each with their
> own independent navigation (prev/next), without giving them unique
> ids?
>
> Couldn't get this working:
>
> $('.gallery').each(function() {
>
> var p = this.parent
Istvan:
>I know this is a question which is really old news, but we have a site
>where some of our users have centralized security settings, and their
>ActiveX has been switched off and of course they can not use IE7. they
>are proud IE6 users.
>
>I have had a look at plenty of "old" libraries t
Hi All,
I know this is a question which is really old news, but we have a site
where some of our users have centralized security settings, and their
ActiveX has been switched off and of course they can not use IE7. they
are proud IE6 users.
I have had a look at plenty of "old" libraries that us
zerowing ha scritto:
How can I select the #blc2?
HTML
Some text
Some title
Script
$(document).ready(function(){
$('div#blc1').ifixpng();
$('.openBloc > #blc2').ifixpng();
});
An HTML id should be unique, then it cou
Hi Christian,
It seems this problem can only be fixed by changing your server's behaviour.
IIS: http://www.milonic.com/mfa/2005-February/ie6-not-caching-images.html
> In IIS under properties for the folder /images/menu HTTP HEADERS was set to
> "Enable Content Expiration". Turning this off now a
If the settings are manipulated via client-side code there is no need for
cookies created by the server-side and this would actually be a bad thing to
do unless really needed (e.g. you need the server to know the change
immediately). Here is the cookie plugin:
http://www.stilbuero.de/2006/09/17/co
The behaviour I have is that the form is correctly validated, but
submits
$('#editjobsform').submit(function() {dosavejob(); return
false; });
//other stuff here
$('#editjobsform').validate(
{ rules: {blah:"blah" },
Hello. I trying to do a function that add a li element with a new
number (index) each time a link is clicked.
The current jQuery code looks like this:
$('.new').livequery('click', function() {
$('.item')
Hi all,
I want to know whether we have anything like http://www.netvibes.com/#General
sign in form thing. I mean to say that I want to create a form which
comes into focus when the user clicks a button and the background
fades. They are using mootools but I want to use jquery.
Thanks,
Gaurav
P
Hi,
i have been working on a scroller:
http://www.subwayslims.co.uk/scroller_16_07.html
the Jquery function seems to work on iE7 and FF but not in IE6, does
anyone know why it doesn't work...??
--
View this message in context:
http://www.nabble.com/jquery-bug-in-IE6---scroller-tp18484587s2724
1 - 100 of 124 matches
Mail list logo