Just saw that kohls was using jquery on their site, and by using I
mean including it. I could not actually see them using it anywhere,
though I probably just could not find it. Anyway, there are plenty of
places where they should have used it to simplify things.
I see you have a typo and wrong id?
$(#commentform form).submit(function(){
var uname = $(#commenter).val();
^^ wrong id?
var email = $('#email').val();
var url = $('#website').val();
Jörn Zaefferer escribió:
Olivier Percebois-Garve schrieb:
Will implies be integrated anytime soon in validate ?
Could someone please explain how implies works like? I looked at the
examples of YAV, but apart from the notion of dependencies I could
figure out how it works. I'd be happy to
On 8/31/07, Eridius [EMAIL PROTECTED] wrote:
it seems to be the image cuase when i put image under one there is a
space
on the bottom, what the hell could be cuasing this?
Hi Eridius,
That is because the default display property for img tags is 'inline'. If
you apply display:block to the
hi,
I would like to do something like this ...
$('[EMAIL PROTECTED]').click(function(e){
alert(e.target.html());
});
but it's not working ...
can I avoid this ... $('[EMAIL PROTECTED]'+e.target.id+']').html()
Thanks
james
I have a strange behaviour (jQuery 1.1.3 /1.1.2).
I have a screen with a lot of ajax call. That works fine in local test
environment (same machine server-client) or when the net is quick.
However I when I put it in our intranet there are a machine (win2000
ie6) that some times have memory
Now that getting a handle on the JS/jQuery language, I have these
basic questions
1) For an JSON object, how do you get the key name?
Example
var json = {field1: data2, field2: data2};
I know how to get the data, but how do you get the field names? IOW, I
want to get the names of the keys.
Why not this?
$('[EMAIL PROTECTED]').click(function(e){
alert($(this).html());
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of james_027
Sent: vendredi 31 août 2007 9:56
To: jQuery (English)
Subject: [jQuery] accessing html()
Pops wrote:
Now that getting a handle on the JS/jQuery language, I have these
basic questions
1) For an JSON object, how do you get the key name?
Example
var json = {field1: data2, field2: data2};
I know how to get the data, but how do you get the field names? IOW, I
want to get the names
Just ran into this one, nice idea but whats cooler, the entire thing
is build in jquery
http://builder.yaml.de/
--
Armand Datema
CTO SchwingSoft
I think you can.. you can get to the document of the iframe, this way:
var iframe = document.getElementById('myframe');// or $('#myframe')
[0]; the other is just faster.
var doc = iframe.document || iframe.contentDocument ||
iframe.contentWindow iframe.contentWindow.document || null;
if(
I think you can.. you can get to the document of the iframe, this way:
var iframe = document.getElementById('myframe');// or $('#myframe')
[0]; the other is just faster.
var doc = iframe.document || iframe.contentDocument ||
iframe.contentWindow iframe.contentWindow.document || null;
if(
What about using jQuery.ready event but put the script right before
the end of the body, that should be in the end of the queue of
jQuery.readyList... just a quick thought
On Aug 30, 4:01 pm, cfdvlpr [EMAIL PROTECTED] wrote:
Here's what I am doing currently:
oky I have a strange error related to $(document).ready upgrading to
1.1.4 from 1.1.3.1
mdale: in 1.1.3.1 this works: ie document ready is printed
http://pastie.caboo.se/92588
but in 1.1.4 http://pastie.caboo.se/92595 fails to print document
ready
thanks,
michael
Cool, Thanks Klaus, It works perfectly!
I think you can.. you can get to the document of the iframe, this way:
var iframe = document.getElementById('myframe');// or $('#myframe')
[0]; the other is just faster.
var doc = iframe.document || iframe.contentDocument ||
iframe.contentWindow iframe.contentWindow.document || null;
if(
I have a page with a form, when I post the form I want a jquery on the
target page to read POST variables.
What about using jQuery.ready event but put the script right before
the end of the body, that should be in the end of the queue of
jQuery.readyList... just a quick thought
On Aug 30, 4:01 pm, cfdvlpr [EMAIL PROTECTED] wrote:
Here's what I am doing currently:
Today, I've released a small bit of code that I have been working
with. I needed an easy way to track my arrays, and be able to pop and
push data in to them, so i created the jQuery simple array manager:
http://digitalspaghetti.me.uk/index.php?q=node/31
To use the manager, you first need to
Hi
Im sorry for not warning about the resize issue, (ive deleted that part of
code ;P)
So if i have script tags that call jquery, these calls to jquery objects
wont work for IE.
Ive implemented a workaround, that is not exactly what i wanted but it
works.
The workaround is have a include or
Olivier Percebois-Garve escribió:
Hi
So far I have been able to make custom error boxes with the following
code:
$(.error).each(function(i, n){
$formElement = $(n).next('input,
select');
$offset =
Actually, since next() takes a selector as an argument, you can use next().
Just do something like the following:
jQuery(div.faq h4).click(function() {
jQuery(this).next(#WhateverClass).addClass(top);
});
Sean
Karl Swedberg-2 wrote:
The .next() method will only select the very next
What other code are you wating for? If you're waiting for a certain bit of
code, just call them both from the same place, and you can control the order
right there.
Sean
cfdvlpr wrote:
Here's what I am doing currently:
setTimeout(expandMenuUsingCookie(),550);
But, I'm sure there is
Right, but I need it conjunction with being able to click on a day and have
it be selected.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Felix Geisendörfer
Sent: Thursday, August 30, 2007 5:10 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Looking
Doh...JSP execution failed on the homepage.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Quin Hoxie
Sent: Friday, August 31, 2007 1:53 AM
To: jQuery (English)
Subject: [jQuery] SITE: Kohls.com
Just saw that kohls was using jquery on their
Ben Nadel has come up with a VERY cool demo to simulate a refrigerator
magnet using ColdFusion for dynamic image generation and jQuery for DnD.
Whether you're into ColdFusion or not, its definitely worth a look and
can certainly be migrated to other server-side languages that support
some
Hello,
Is there any checkbox/radio image replacement plugin for jQuery?
Like on this page:
http://mootools.net/download
Thank you.
I'd be interested in this as well.
Hi all,
I was curious, is there anything jQuery has available that can take this
single image rotater and add an effect to it? Something that slowly fades in
the next photo? An example of what I'm trying to apply this on is
http://devel.phpgeek.org.
If someone can point out what I can reference
Hi all,
I've got a list of about 13 images which I want to scroll horizontally
using Jan's excellent jCarousel. I want it to auto-scroll three at a
time, same as the example on his site:
http://sorgalla.com/projects/jcarousel/examples/static_auto.html
However, when I set up my list and use
Mike you're just filled with tricks up your sleeve, aren't you?
Thank you so much, I bookmarked that. Seems I have a few of your personals
bookmarked already!
- sf
On 8/31/07, Mike Alsup [EMAIL PROTECTED] wrote:
I was curious, is there anything jQuery has available that can take this
Maybe this?
http://dev.jquery.com/~gilles/cssHover/?checkbox3=c3checkbox8=c8checkbox11=c11radiogrp=r3button3=text1=Some+default+value
- Jack
Sergei wrote:
Hello,
Is there any checkbox/radio image replacement plugin for jQuery?
Like on this page:
http://mootools.net/download
Thank you.
I was curious, is there anything jQuery has available that can take this
single image rotater and add an effect to it? Something that slowly fades in
the next photo? An example of what I'm trying to apply this on is
http://devel.phpgeek.org.
The Cycle Plugin can do that, as can InnerFade and
http://kawika.org/jquery/checkbox/
Try this one.
Glen
On 8/31/07, cfdvlpr [EMAIL PROTECTED] wrote:
I'd be interested in this as well.
I meant, where is the jQuery in your code. It looks like straight
Javascript.
The message from Pops has jQuery. Did that fix the error?
Glen
On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Glenn,
If you are asking where the script to include the js for jquery is, it is
located
Hi Sean,
Actually, you can't use .next() in that situation.
The argument for .next() acts as a filter for what the very next
sibling can be. So, jQuery(this).next('#someId) will only select the
very next sibling, and only if it has an id of someId
cf.
Klaus Hartl wrote:
I'm going to answer the first question (low hanging fruit)...
:-)
Yes, there is a direct method, just use a for loop:
for (var key in json) {
console.log(key); // key
console.log(json[key]); // value
}
Maybe I didn't get the question right?
I don't know
The interesting code is this:
var v = jQuery(#form).validate({
submitHandler: function(form) {
jQuery(form).ajaxSubmit({
dataType: json,
after:
Oh, I just tried it and actually you're right! Bummer. It worked in
the code I was using, anyway ;-)
That behavior actually doesn't make much sense to me; it doesn't seem
like, in practive, you'd ever have immediate siblings that could be
some class (or whatever) that you don't expect.
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_disable.2Fenable_an_element.3F
--John
On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I need the check of a checkbox disable other inputs and change value
to others.
Here the code:
//click on keep prop cancel unnecesary
Here's what my url looks like:
http:/.com/test.cfm/title.test-size.testSize-
color.testColor#title.test2-size.testSize-color.testColor2
I want to remove the middle part of this url which is title.test-
size.testSize-color.testColor
Is there a a regular expression that will remove this part of
I have a few checkboxes that fire an ajax request, and use blockUI to block
an element during this request.
Problem is, the checkbox gets 'unchecked' whenever blockUI shows up.
Its reproducible with the following code (appears to not just affect element
blocking)
html
body
input
Nobody has a suggestion?
Thanks
Andrea
On Aug 30, 9:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I need the check of a checkbox disable other inputs and change value
to others.
Here the code:
//click on keep prop cancel unnecesary fields
$(document).ready(function(){
Thx Larry... ill try it next time.
ah, sometimes there are unclosed html tags that makes anchors trigger
doesn't be stopped.
Usually isnt my fault hehe... anyway...
If i found a recent demo I'll post it here.
On 8/30/07, Larry Garfield [EMAIL PROTECTED] wrote:
I usually do:
Has anyone added the around the page numbers? If so, can you
please share this modification?
Klaus Hartl wrote:
Yes, there is a direct method, just use a for loop:
for (var key in json) {
console.log(key); // key
console.log(json[key]); // value
}
Maybe I didn't get the question right?
Hi Klaus,
Ok, Now I see why I asked the question. Yes, I did try the above, but
2) Best way to create a toJSON() string or object.
anyObject.toSource()
Hey cfdvlpr,
Here ya go:
http://spreadsheets.google.com/pub?key=pmkgiRQf98ll4L1SSh9E0Dw
You can also look at this:
http://jquery.bassistance.de/api-browser/
So I take it you're a ColdFusion developer?
Rey...
cfdvlpr wrote:
Has anyone made one? Care to share it?
Hi all,
I'm using the jQuery Form plugin by Mike Alsup and jQuery More Selectors
here: http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
I have a callback function which I'm calling with the following syntax:
function validate() {
// ensure something is at least filled out.
Here's one I like, courtesy of [EMAIL PROTECTED]:
http://www.n-bp.com/jquery_cheat_sheet/v112/jQuery_cheat_sheet_v1-1-2.pdf
- Richard
On 8/31/07, Rey Bango [EMAIL PROTECTED] wrote:
Hey cfdvlpr,
Here ya go:
http://spreadsheets.google.com/pub?key=pmkgiRQf98ll4L1SSh9E0Dw
You can also look
Sean wrote:
Oh, I just tried it and actually you're right! Bummer. It worked in
the code I was using, anyway ;-)
That behavior actually doesn't make much sense to me; it doesn't seem
like, in practive, you'd ever have immediate siblings that could be
some class (or whatever) that you
FYI, I found the function I needed: tb_remove();
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
-
I want to have a link that says close this window inside my thickbox
window, but I don't want this link to do anything but what would
happen if you clicked outside the thickbox window in the darkened
area. Is there simply a class that I can add to this a element that
would do this?
Hi,
First off, Brice, great work on jqModal. It's the just-about-perfect
solution to my AJAX popup window that can interact easily with the calling
page.
I have one question on how to size the window with content constraints...
I'm using it to call up a directory and display a list of
jQuery users from Turkey came together to share their knowledge.
The group address is
http://groups.google.com/group/jquery-turkish
and also can be accessible on
http://jquery-tr.com
We are waiting for all Turkish users.
Regards,
I have a wizard setup that allows the user to create a line of text
based upon options chosen. I then write this line to the screen. All
of the text they did is saved at the end by clicking on the save
button. Some users are not smart enough to click the save button and
all of the work they
Hi,
I am fairly new to jQuery in general, so this question might have been
answered somewhere along the way.
I have a problem using the accordion plugin with the interface plugin.
They don't interact, just including the interface.js file on the same
page makes the accordion stop working.
It
Hi,
I am not sure if this is talked about elsewhere, but I have a problem
using accordian 1.5 with the interface plugin.
The problem is that when I click to open a different part of the
accordian it does not show up. Following it in firebug the code jumps
to the interface plugin at line 177
i am waiting for help,,, aren't there any experts around??
On Aug 30, 2:37 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hello!! i am new in jquery world and am greatly impressed by the
effect that we can create using jquery pluggins. i have a question, i
hope i am posting at right place..
thanks ray for the oportunity and I would like to say that the jQuery
in Brazil is well represented.
Im glad to help the jQuery team with this issue and I hope help even
more.
Congratulations for you and all jQuery team.
On 30 ago, 18:05, Rey Bango [EMAIL PROTECTED] wrote:
There was a recent
Hello,
I'm experiencing problems with the function below, called in the $
(document).ready handler under IE6.
Here is the context:
#CtxForm contains 2 select boxes, one called #PlantCtx and one called
#PlantID.
When #PlantCtx is changed, it populates #PlantID with the related
options, with the
Hi,
I am trying to use accordion and interface on the same page and the
accordion will not work.
On line 177 of the accordion file the execution goes to the interface
file when it is included. If I remove the interface file from the page
line 177 of the accordion jumps to the jquery animate
theres a solution posted by Rey relative a discussion on mootools
forum...
this is the link
http://groups.google.com/group/jquery-en/browse_thread/thread/9737e52028077d5c
I hope it can be helpfull...
On 23 ago, 18:53, Yehuda Katz [EMAIL PROTECTED] wrote:
We could probably fix this rather
2) Best way to create a toJSON() string or object.
I didn't see a direct way to do this, if not, is this best way:
// Create JSON from form input id=wc* fields
$jj = $('[EMAIL PROTECTED]').get();
json = {};
try {
for (var j=0; j $jj.length; j++) {
Why can't i find the $.param in the manual?
Hello,
ive been trying to set up some effects with jquery, but unfortunately
it only woks in FF, not in IE (6 or 7).
I just cant see what im doing wrong, since the elements are NOT
generated dinamically. What happens is IE just ignores the events...
On the main page, i have a few menus, which
you could use document.hash = #; to remove everything behind the #
character.
for some reason if I use document.hash = ; the page keeps reloading
indefinetly... hah
Ramiro
On Aug 31, 2:08 pm, cfdvlpr [EMAIL PROTECTED] wrote:
Here's what my url looks like:
Hi !
I've written my first plugin ,which is only tested with firefox currently.
It allows ordering of table rows with drag and drop and selection of multiple
rows (select first one, then shift+click select and) and moving of this
block.
I've started it because the dnd of the interface library
Thanks Richard,
I found the UI Draggables about a day after posting this and the
handle setting worked perfect for what I was trying to do.
poly
I think it's mainly used internally for converting from a JavaScript
object to a query string, like:
var obj = {param1: 'val1', param2: 'value 2'};
$.param(obj) == param1=val1param2=value%202
--Erik
On 8/31/07, mikeyao [EMAIL PROTECTED] wrote:
Why can't i find the $.param in the manual?
Hmm, adding that line doesn't seem to do anything.
jman wrote:
Hi,
I am trying to use accordion and interface on the same page and the
accordion will not work.
On line 177 of the accordion file the execution goes to the interface
file when it is included. If I remove the interface file from the page
line 177 of the accordion jumps to the
Here is a example JSON:
var json = {
fields:
[
{prompt1: Login Name},
{prompt2: Real Name},
{prompt3: Location},
{prompt4: Password},
{prompt5: Security Group},
{prompt6: File Area}
]
};
That's not valid JSON. You need double quotes on all the property
Michael Geary wrote:
I figured it out know. You got to look at the constructor type to see
if its an Object, Array or String. From there you can decide to use
for each or for in or for loop.
You don't have to write that code yourself:
http://jollytoad.googlepages.com/json.js
Yeah
From: Pyrolupus
Mark Gibson wrote a lightweight jQuery plugin with $.toJSON() and
$.parseJSON():
http://jollytoad.googlepages.com/json.js
I haven't tried it out, yet, but it looked good at a cursory glance.
Actually, Douglas JSON Crockford wrote the original code, so it's been
well
From: Pops
I figured it out know. You got to look at the
constructor type to see if its an Object, Array
or String. From there you can decide to use
for each or for in or for loop.
From: Michael Geary
You don't have to write that code yourself:
If I try to create a new window via window.open, and then append to it
with jQuery, I get an error: 'No such interface supported' in Internet
Explorer. It works fine in Firefox.
Example:
http://mybdev.com/~dallas/jquery.html
Michael Geary wrote:
IE doesn't like:
json = {};
but will accept:
var json = {};
Let me take a guess...
You are executing this code inside a function, and you have an HTML element
in your page with the id 'json'.
...
Did I get it right?
Gawd, I should of seen that.
Hi,
Do I just do a search and replace? Can you maybe share your modified
interface.js that's compatible with the latest jQuery with us?
Thanks.
Henry
On Aug 31, 1:39 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
The problem is that interface overwrites jQuery's own animate function,
but
How to download cssHover? I dont have SVN software.
Thank you.
On 1 сент, 00:58, Jack Killpatrick [EMAIL PROTECTED] wrote:
Maybe this?
http://dev.jquery.com/~gilles/cssHover/?checkbox3=c3checkbox8=c8che...
On Aug 30, 4:45 pm, Mitch [EMAIL PROTECTED] wrote:
I am so pleased you took the time to look closely at my project. Your
analysis is perfect, but I do have some questoins below. Some may
sound dumb because I am so new to all this.
My pleasure. I learning from all this too. :-)
noscript
You forgot to post the url to the MooTools forum:
http://forum.mootools.net/viewtopic.php?id=5190#post-26592
-Olmo M.
On Aug 30, 4:05 pm, Rey Bango [EMAIL PROTECTED] wrote:
There was a recent flurry of emails on the list discussing a conflict
with the use ofMooToolsin conjunction with jQuery.
Actually, I didn't. I left it out intentionally as there was nothing to
be gleaned from the thread.
Rey...
Olmo wrote:
You forgot to post the url to the MooTools forum:
http://forum.mootools.net/viewtopic.php?id=5190#post-26592
-Olmo M.
On Aug 30, 5:25 am, Klaus Hartl [EMAIL PROTECTED] wrote:
Simulating block scope in which you can safely use the $ shortcut...
Ok, and now that I came across the need, I saw you and Michael talk
about this.
Before I discovered jQuery 3 weeks ago, I discovered the simple
alias trick for $
On Aug 31, 2:37 pm, John Beppu [EMAIL PROTECTED] wrote:
2) Best way to create a toJSON() string or object.
anyObject.toSource()
Hi John,
Yes, at first, that is what I thought and at first, i said Ah ha!,
thats it!
But its not quite right for all situations and worst, atleast up to IE
6.0
There's nothing to glean. It's the right thing to do.
-Olmo M.
On Aug 31, 9:23 pm, Rey Bango [EMAIL PROTECTED] wrote:
Actually, I didn't. I left it out intentionally as there was nothing to
be gleaned from the thread.
Rey...
Olmo wrote:
You forgot to post the url to theMooToolsforum:
On Aug 31, 4:51 pm, Michael Geary [EMAIL PROTECTED] wrote:
Here is a example JSON:
var json = {
fields:
[
{prompt1: Login Name},
{prompt2: Real Name},
{prompt3: Location},
{prompt4: Password},
{prompt5: Security Group},
{prompt6: File Area}
]
};
Is there a way to pass arguments from one anonymous function, (in
either Toggle, or Hover) to the second? Ideally I'd like to be able to
pass in whatever variables I choose, but I'd settle for being able to
pass in $(this), the item that triggered the event.
Here's the code:
// I have a set of
89 matches
Mail list logo