I just updated the demo page at http://dev.chayachronicles.com/jquery/cascade/
At the bottom is an example of siblings being registered that are
within containers within a table.
The selectors could be cleaned up but it works for now...have a look
and let me know how that works for you.
One thing
hey guys,
been trying to make this work but haven't been successful yet, I was
wondering what I was doing wrong...
basically I have a div groupWrapper where all of my "items" are
contained and whenever something is added it's appended to the
groupWrapper
The problem is that only the first item
I finally got all the locations corrected. No errors. But no output
either. I'm going to read the documentation again. I'm feeling pretty
stupid just now.
Hi All,
well I managed to achieve what I wanted. I looked for the ID of the
parent and used:
$("parentID > *").hide();
The effect is that it finds all of its children and hides it. Thus,
from there, whatever I wanted shown, I'd do the command:
$("specificID").show();
As a result, I got the ta
Try adding "position:relative" and "z-index:1" to your top_menu css.
Karl,
I do appreciate the work you guys are doing to keep the spammers out.
Thanks for unmoderating me.
Andy
> I've bumped you out of the moderated list, so your posts should be
> able to appear immediately now, or at least as quickly as Google
> messages ever appear.
>
> --Karl
This error appears when the core jQuery fie is not included, either
because there is no script tag with a src attribute pointing to it or
because the src attribute is pointing to the wrong place. It can also
appear when you include scripts that use jQuery before you include the
core jQuery
In the Tablesorter Pager plugin, on line 25, the position of the pager
UI container is always set to absolute. In some cases, you want it to
be positioned differently -- I embedded a table in a page with a lot
of other preexisting content, and the pager was placed on top of some
other elements. I
I'm trying to apply what I know so far to my CF page and an
autosuggest input field. The very first line of javascript give an
error;
$ not defined
$(document).ready(function(){
The java script files are included ( I checked that)
The css files are included (I checked that)
And this script;
I tried toying around with scrollTop() but whenever I'm using jScrollpane it
always gives me an offset of 0 but when I turn off jScrollpane I get the
correct offset, am I doing something wrong?
here's the test that I'm doing
$('#pane').jScrollPane();
//..
alert("Scroll Y offset: " + $("#pa
I am getting a "has no name assigned" error on my form for a hidden
element
Typically I would just add a name field (which I am guessing would
solve this error).
However this code was generated by the fck editor jquery plugin. Is
there anyway to turn off this error message so its not thrown t
This is aimed at whoever is currently maintaining the Tablesorter
documentation. 2 quick things:
First, at http://tablesorter.com/docs/ there's an example for the
textExtraction parameter that says:
1 var myTextExtraction = function(node)
2 {
3 // extract data from markup and return it
4
Hi,
I have a problem to get superfish working in IE.
The problem is i have fixed div's and the menu doesn't extend over the
borders.
Here's my code:
CSS:
#top_menu {
position:relative;
left:0px;
width:920px;
height:30px;
padding-top:20px;
padding-
Hi Andy,
I don't really know how many messages need to be posted before people
get unmoderated. And, no, being unmoderated in one has no bearing on
your status in another -- not in any automated fashion, at least.
Sorry about the inconvenience. It's a shame that we have to use the
moderat
Thanks, Karl.
Yes, that definitely works, and it's the preferred method if you have
nested tables.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 20, 2008, at 5:51 PM, ak732 wrote:
If I have a table:
/*many more cells here*/
/*many more ce
Contains isn't really the right tool for the job. What you need here
is an attribute selector, since you're trying to select something with
an id attribute that ends in "url". Try this:
$(".M12_editBookmarks fieldset input[id$=url]").blur(function() {
// do something
});
--Karl
On Aug 20, 2008, at 2:47 PM, garrettjohnson wrote:
I have a series of articles like so...
[p] bla bla bla bla [/p]
[a class="read-more"] read more [/a]
[p class="my-hidden-content] bla bla bla [/p]
Now what i would like to do is just on an anchor and show the review,
but obviously with my c
Hi there,
Try this:
$('#website_id option[account_id!=1]:not(:selected)')
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 20, 2008, at 1:09 PM, donciprian wrote:
hi,
i will select some elements based on a custom attribute
i have :
Website
Website
If you're trying to find an image with src="page-first.gif", you can
do this:
$('img[src=page-first.gif]')
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 20, 2008, at 9:06 AM, jbetts80 wrote:
Hi!
I have a problem. How do I do to find page-first.g
Hi BroOf,
In order to help, we'll need to know where the .btn-slide is in
relation to the .gradient.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 20, 2008, at 7:51 AM, BroOf wrote:
Hey guys, i've a little problem with Jquery. I've got a lot of
Here:
http://www.digit-life.com/test2.html
It worked with some usual text.
On Aug 19, 7:50 pm, Ryura <[EMAIL PROTECTED]> wrote:
> That should've worked. Can you provide a test-case page?
powers-that-be:
It's a good thing that this group is moderated.
But I was wondering how many messages I need to post before I get
unmoderated? It's kind of a drag to respond to a thread and find that
by the time the response becomes visible, the response has become
obsolete.
Also, does being u
actually that's not what I meant
look at example 4 here
http://www.kelvinluck.com/assets/jquery/jScrollPane/basic.html
add more text by clicking on the text link, scroll down in the pane
and click on the text link again, the scroll will automatically go
back up, I'm trying to avoid this. If it's
Many thanks, amigo.
I have a form with multiple rows. On each row, the first field is a
key field; that is, it can't be duplicated on any other row. The
comparison is working, as I currently have an alert() if there's a
duplicate. What I want to happen is if there is a duplicate, focus
the field the user just chan
Sure. You can view this form at www.roundus.com/zaroundus/uploadApp/
The validation is performed on submission of the sign-up form. I've
been over this code a thousand times and can't figure it out so any
help would be greatly appreciated. I look forward to your response.
On Aug 20, 5:12 pm, "Jö
If I have a table:
/*many more cells here*/
/*many more cells here*/
// many more rows here...
And I'm handed a reference to a inside one of the table cells,
what's the quickest method to obtain the row that contains the span?
Is this as fast as it
Hi,
I'm developing a navigation with Superfish and its been going pretty
well, but I've run into one small problem. On the .current class
there is an arrow status indicator that dips down into the dropdown
menu and when a user mouses over another navigation item, the
background image of .current
I found a workaround, but it isn't great.
If I attach a .blur(handler) to the autocomplete field I can clear the
related fields when the user leaves that field by checking for
val()==''.
I'd love to hear that there is a way to do the same when mustMatch
clears the autocomplete field. I'd like to
Anyone know if there is a way to know when an iframe is finished
loading?
On Aug 19, 10:26 am, hubbs <[EMAIL PROTECTED]> wrote:
> I know how to show a loading gif when a link is clicked, but is it
> possible to know when the page is finished loading inside of an
> iframe, so that I can then hide
Try this:
errorPlacement: function(error, element) {
var ids = {
"TitleNews": "#TitleError",
"IntroNews": "#IntroError"
};
error.appentTo(ids[element.attr("id")]);
}
Insert that at the appropiate place and fill out the other id pairs.
Let me
I can't see anything obviously wrong with your code. Could you post a testpage?
Jörn
On Wed, Aug 20, 2008 at 10:16 PM, zaroundus <[EMAIL PROTECTED]> wrote:
>
> I am using the Validate plugin from
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/.
> It is a great plugin but I'm hav
Did I forget to mention I'm Coldfusion programmer? I this all
specifically for javascript programmers? Interesting stuff but no
mention of how to apply it. The demo doesn't even work correctly.
Larksys - there isn't really anything special about using jQuery along with
ColdFusion. ColdFusio
Yes it does.
Thanks for the explanation.
On Aug 20, 12:34 pm, ak732 <[EMAIL PROTECTED]> wrote:
> What you're describing is more of a general AJAX thing. JSON is just
> an optional part of the whole AJAX mechanism. It's the data *format*,
> not the page update architecture. You could use XML o
is this of any help?
http://www.kelvinluck.com/assets/jquery/jScrollPane/ajax_example.html
2008/8/20 sergeh <[EMAIL PROTECTED]>
>
> I was just wondering if there was way to conserve the toolbar's
> position when the the scroll pane gets reinitialized.
>
> I have a list inside the scroll pane and
Hi, larksys...
I'm a CF programmer, too, and jQuery has been my first experience with coding
javascript.
I haven't been able to make use of a lot of it, simply because I don't have
time to spend
on getting it to work...not that getting it to work is a problem in general,
I'm just new
and I've
Wire up the Tablesorter code *after* the table is on the page
$(document).ready(function(){
$("#menuitem").click(function(event){
$("#outputdiv").load("script.php");
$("#outputdiv table").tablesorter();
});
});
Looks like Matthew solved the problem and I wondered how. What seemed
to fix it for me was specifying the header attribute (what links act
as the open/close switch). I gave all the header links a "menuhead"
class and then in the accordion options set {header: "a.menuhead"}. I
think this prevented
My js files are being cached as HTML Documents instead of JScript.
And this I causing, I believe, all of my pages to load slowly. Is
there any reason why js files would be cached as HTML? How can this
be fixed?
Thanks for any help.
Did I forget to mention I'm Coldfusion programmer? I this all
specifically for javascript programmers? Interesting stuff but no
mention of how to apply it. The demo doesn't even work correctly.
Changing subject.
I had originally entered "[AutoComplete] Detecting mustMatch failure"
and the forum ate "[AutoComplete]".
On Aug 20, 2:40 pm, Brad <[EMAIL PROTECTED]> wrote:
> I have a number of fields that are using the AutoComplete plugin
> instead of select menus. When a user enters and se
I am using the Validate plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/.
It is a great plugin but I'm having one little problem that is driving
me mad. I have a form that I am validating. The problem is, if you
don't type anything into the username or password input and
The timeout is the time to wait for a server response before the code
decides to just throw an
I'm so sorry but i really don't understand javascript, i use your
script to simplify me the validation process of my form. I try many
solution but no one works, can you help me ?
I just want to put the error for the #TitleNews input in the
#TitleError div...
I have find and modify that, but i don
What you're describing is more of a general AJAX thing. JSON is just
an optional part of the whole AJAX mechanism. It's the data *format*,
not the page update architecture. You could use XML or grow your own
data format and still be updating only portions of the page, on
demand, as opposed to d
http://docs.jquery.com/Ajax/ajaxStop#callback
I use the .ajaxStop() to load functions for the markup inside of the
AJAX delivered parts.
On Aug 20, 1:48 pm, gregg <[EMAIL PROTECTED]> wrote:
>
> I have an application which uses JQuery to load an HTML page through
> AJAX. I have logic, implemented as javascript functions, inside the
> page bei
I'll give it a shot and let you know how it goes, thanks for the help!
On Aug 19, 8:48 am, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> The problem is that the clicked element is always the image, not the
> span.
>
> $.listen( 'click', 'img.reflect', function() {
> alert("Click!");
>
> });
>
> Ch
Hi,
Apologies I'm new to jquery and javascript, the answer is probably
obvious but I have been staring at this for a while and while I have
something that works it seems a complete fudge. I was hoping someone
could point me in the right direction.
For a number of reasons I can't be certain of ei
Sorry, I forgot to add the example URL before I ran out for food:
http://dev2.educational-software.com/index.aspx
I have a number of fields that are using the AutoComplete plugin
instead of select menus. When a user enters and selects a match a
number of other fields are populated via a .getJSON.
$("#f_orig_lookup")
.autocomplete(
"index.php",
Perfect! That works great, thank you!
On Aug 20, 12:34 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> "timeout" is actually how long the request will wait to complete before it
> sends back a timeout error. You actually want setTimeout, like so. This
> will wait five seconds before doing th
I think you just need to supply the context to the query like so:
var popupContent = $('#foo', popupData);
Thatcher
On Wed, Aug 20, 2008 at 1:25 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi, can anyone tell me how I can get part of a web page downloaded
> with $.get()? I thought it
"timeout" is actually how long the request will wait to complete before it
sends back a timeout error. You actually want setTimeout, like so. This
will wait five seconds before doing the ajax request.
var t = setTimeout( function() {
$.ajax({
type: "GET",
Gregg, try $(document).ready instead of $('document').ready and see how that
works.
-I can't figure out how to make a call from the loading page into the
loaded page; everything I try it seems the script functions from the
loaded page are not known by the DOM.
Check this link:
http://docs.j
Your best bet is to head over to Dan Switzer's blog and read up on the
Auto-suggest:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of larksys
Sent: Wednesday, August 20, 2008 1:07 PM
To:
I am experimenting with the jquery tablesorter plugin (outstanding)
and am able to make it work flawlessly for tables that are loaded with
the initial page. However, if I generate active content, e.g. echo a
into a by calling $(#outputdiv).load(script.php) the
resulting table will not sort. In
Hi James,
You could do it like this:
var inputs = document.getElementsByTagName('input');
for (var i = inputs.length - 1; i >= 0; i--){
if (inputs[i].type == 'text') {
inputs[i].className = 'textInput';
}
}
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
Hi, can anyone tell me how I can get part of a web page downloaded
with $.get()? I thought it would be easy but ohhh no :( Here's a
snippet:
$("[EMAIL PROTECTED]").click(function()
{
$.get($(this).attr("href"), function(popUpData)
{
var popupContent = $();
Thanks for the info,
Does UI plugin has all the features that are there in Interface.js
example the something like sortSerialize etc. (Just being lazy :-))
-- Amit
On Aug 20, 10:29 pm, aquaone <[EMAIL PROTECTED]> wrote:
> Interface has not been supported for "a long time". Use jQuery UI
> (ht
I'm admittedly new to JQuery, although I'm rather experienced
javascript programmer.
I have an application which uses JQuery to load an HTML page through
AJAX. I have logic, implemented as javascript functions, inside the
page being loaded which I'd like to invoke after the page load is
complete
I'm currently writing code in CF8. I hate cfgrid and autosuggest. I
was introduced to jQuery by a colleague, Steve Steinberg. I'm anxious
to get started but am a little daunted about using it with CF8. I have
a simple project to add an autosuggest field to my page. I have
downloaded the latest jQu
Hi all,
I'm bit of a jQuery newbie, and I'm trying to implement a custom page designer.
I want to have "tool" on the left that the user can drag onto the "workspace"
and drop, placing the item where dropped.
I found the plug-in jquery.event.drag-1.0.js, and am trying to get that to
work. I set
I have a series of articles like so...
[p] bla bla bla bla [/p]
[a class="read-more"] read more [/a]
[p class="my-hidden-content] bla bla bla [/p]
Now what i would like to do is just on an anchor and show the review,
but obviously with my code it will show all of hidden classes.. How
would i nar
On Aug 19, 10:25 pm, Eeby <[EMAIL PROTECTED]> wrote:
> In Firefox when I click on a checkbox, the alert comes up as expected.
> Then when I dismiss it, the alert comes up again.
I figured it out. In case anyone else runs into the same problem, here
it is...
I usually create a bindEvents() functi
hello,
no it does not have any added functionality, it's a way to remember that
this variable is caching a jquery object.
var $myObj = $('div.myObj);
$myObj.css({color: 'red'});
it's a good way to optimize your code memory-wise.
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com
On Wed, A
Sorry, I didn't mean to sound like I was bringing up an old argument. Like I
said, the argument order to the .each() callback was a done deal, about two
years ago. I brought it up mostly to give some historical context to the
confusing situation we have now.
If jQuery's $().each(), $().map(), and
I seem to not be understanding how the ajax timeout works, because it
does not seem to work how I thought.
I was hope it would delay the ajax request, for the number of
miliseconds that is specified, but that does not seem to be working.
Is the timeout used for something different? Or is there a
Interface has not been supported for "a long time". Use jQuery UI (
http://ui.jquery.com/) instead.
stephen
On Wed, Aug 20, 2008 at 9:59 AM, AQuery <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am planning to use Interface.js (http://interface.eyecon.ro/) as we
> have some requirement as in we have t
Well, the dropdown part is just "cascading dropdowns", there's a ton
of jQuery variations of that
The second is simply an autocomplete textbox (http://
plugins.jquery.com/project/autocompletex)
On Wed, Aug 20, 2008 at 3:41 PM, John K <[EMAIL PROTECTED]> wrote:
>
> Thanks, both of you. That's just what I wanted to know.
>
Hi,
I am planning to use Interface.js (http://interface.eyecon.ro/) as we
have some requirement as in we have to create portal having portlets
and also supporting drag and drop , this is where I see interface plug
providing me all that I need.
Now the problem :-
Interface.js works on jquery 1.1
hi,
i will select some elements based on a custom attribute
i have :
Website
Website 2
Website 3
Website 4
i want to select and remove all the options that are not selected and
theyre account_id is not 1
i tried
$("#website_id
option:not(:selected):not(['account_id='1'])").remove();
$("#web
2008/8/20 Csányi András <[EMAIL PROTECTED]>:
>
>
> Hi all!
>
> I try to make an application with ajax.
> I need a input field with typewatch plugin. If the user stop the type
> the TypeWatch call an php function through $.getJSON().
>
> The ajax call workig fine. The result come back. I can see in
Ok So i found out what is going on.
When the location.hash variable is set, another event is thrown and I
have no Idea how to intercept it and stop it from jumping.
On Aug 13, 3:40 pm, cdawg <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
>
> I am creating a .click() event for a TR, and then i sh
I was just wondering if there was way to conserve the toolbar's
position when the the scroll pane gets reinitialized.
I have a list inside the scroll pane and whenever you click on an item
it expands so the scroll pane has to be reinitialized in order to have
the height match but whenever that ha
hi,
thank you for this reply.
The simple [ $("#toggle-content").toggle(); ]
do not manage the way the link is rendered. My purpose is bascally to
use accssible code and a link that do not say what it does is not
acceptable
On 20 août, 01:11, FrenchiINLA <[EMAIL PROTECTED]> wrote:
> have you trie
Tried both, which both did not work :-/ . It has something to do with
the submit function-- as when I use click(), it works fine.
-Kyle
On Aug 20, 12:19 pm, Joe <[EMAIL PROTECTED]> wrote:
> Hmm, very strange. If you inspect the element in firefox it shows the
> tag as not displayed. If you "p
>Forgive me if this sounds ignorant, but...if I understand correctly,
>using "$" is purely for the developers own benefit so they remember
>that the variable is using jQuery.
Correct.
That's the idea behind the Hungarian Notation (which I recommend you read up
on if you want more information.)
Hmm, very strange. If you inspect the element in firefox it shows the
tag as not displayed. If you "preview" the image by mousing
over the src attribute in the image tag, then it shows up in Firebug.
After this, it is cached and then shows up when I upload. Very very
bizarre. I've used blockU
Why not just use the accordion that's built into jquery UI? It works
great and can be skinned to look however you want.
On Aug 20, 2008, at 11:13 AM, JAVAddicted wrote:
>
> Hi,
> Does anyone know if there is a jQuery plugin that I can use in order
> to create a Accordion menu like that one pla
Thanks, Dan.
Forgive me if this sounds ignorant, but...if I understand correctly,
using "$" is purely for the developers own benefit so they remember
that the variable is using jQuery.
Thanks, Dan.
Forgive me if this sounds ignorant, but...if I understand correctly,
using "$" is purely for the developers own benefit so they remember
that the variable is using jQuery.
I see your need, Adrian, and agree this could be useful in jQuery.
I just went through the same problem, and ended up using substring.
Other XML DOM parsing engines do take into account comments. Perhaps
it should be considered to have this implemented in a future jQuery
version? Just throwing i
http://docs.jquery.com/Selectors
--
Ariel Flesler
http://flesler.blogspot.com
On Aug 20, 2:31 am, germacran <[EMAIL PROTECTED]> wrote:
> Hi
>
> i have many inputs like button ,submit, file and may input types
>
> i want to work with the input type of the button
>
>
> how to access it?
>
> thanks
We already went thru this. I actually backed up agreed with you back
then.
It is not THAT inconsistent though. jQuery utility methods ($.each,
$.map, $.filter) pass "element, index". That's the logical order.
Now, jQuery's prototype methods make the 'this' point to the actual
element. It is common
I should add that I probably wouldn't have gotten this right either. In
fact, I was there at the time when the "index" argument was added to .each()
and I didn't notice the problem myself - and I'd never heard of the new
native [].forEach() yet.
But I do have 20/20 hindsight! ;-)
-Mke
> From: M
Hi,
Does anyone know if there is a jQuery plugin that I can use in order
to create a Accordion menu like that one placed on http://www.nasa.gov
(on the right of the page) ?
I've tried to copy and modify the source of the nasa guys, everything
worked well, but their code uses prototype and I'm usin
HI all. I'm using(in the last 3 years) a very good javascript Ajax
integrated with ColdFusion and builded by this guys:
http://eswsoftware.com/products/srs/example4.cfm
Right now I'm wanting to convert that functionalities to jQuery. Do you know
any jQuery plugin with that functionalities?
Chee
Thanks!
It worked perfectly with with jQuery. I had tried using single
backslashes to escape,
but never thought to try two. I appreciate the explanation as well :)
Take care,
Keith
On Aug 19, 4:26 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> Use two backslashes before each special character
>I've seen jQuery developers use the following syntax when declaring
>variables. Does the $ character help in any way? Does it do anything
>or is it mostly just for convenience.
>
>For example is this:
>var paras = $("p");
>
>better than this:
>var $paras = $("p");
The $paras declaration identifi
Hi all!
I try to make an application with ajax.
I need a input field with typewatch plugin. If the user stop the type
the TypeWatch call an php function through $.getJSON().
The ajax call workig fine. The result come back. I can see in Firebug
but i have an error message (bottom). What is the e
I've seen jQuery developers use the following syntax when declaring
variables. Does the $ character help in any way? Does it do anything
or is it mostly just for convenience.
For example is this:
var paras = $("p");
better than this:
var $paras = $("p");
thanks
Thanks Gregory
I tried it but it didn't solve my problem - but then I'm not using the zebra
plugin...
2008/8/19 Gregory Foster <[EMAIL PROTECTED]>
>
> I ran into this error when attempting to apply the tablesorter plugin
> to an empty table, also with multiple tables on the page. In my case,
>
Hi guys,
First post here! OK, I'm working for a website (I've taken over their
old webdesigner). They use Joomla and their old guy made a component
so people can upload stories, and add Images and Links etc using
jQuery.
These images get uploaded and appear in he story. However, in the
admin are
Hey Jörn,
Any chance you might also be able to allow having events displayed on
after an element is clicked? This would also help
get around the problem of including URL's inside tooltips.
Thanks,
Keith
On Jul 15, 2:09 pm, Matt <[EMAIL PROTECTED]> wrote:
> Thanks Jorn, since I have to have that
untested, but something like this should work
var w = 0;
var d = $(#divId);
$('img', d).each(function(i) {
w += parseInt($(this).attr('width'));
}
var TotalWidth = 0;
$("#id_of_div img").each(function() {
TotalWidth = TotalWidth + $(this).width();
});
On Aug 20, 7:56 am, ToM <[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there a way to calculate the width of all images in a specific
> div.?
>
> the images do have the width-attribute!
>
>
Ah, I see. So the advantage here is that the server is just returning
data to us, rather than a whole page, and having to use .find() to
filter the page? Is it all based on speed, and bandwidth, or is there
another huge advantage that I am missing?
On Aug 20, 12:35 am, Giovanni Battista Lenoci
1 - 100 of 137 matches
Mail list logo