In your code that uses $, you used curly braces instead of
parentheses.
On Feb 9, 8:07 am, Sathyakumar [EMAIL PROTECTED] wrote:
Hi,
I am not sure What I'm doing wrong, but accessing jQuery function using a $
symbol doesn't work.
For example, ${document}.ready(function() gives me an
You want $(document).ready(...) not ${document}.ready(...)
Sathyakumar wrote:
Hi,
I am not sure What I'm doing wrong, but accessing jQuery function using a $
symbol doesn't work.
For example, ${document}.ready(function() gives me an error missing ;
before statement.
The same works
Hi!
I just downloaded jquery today and the first thing I did was to start
learning from this tutorial:
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
, but I am having trouble with this part:
On Sat, Feb 09, 2008 at 05:07:40AM -0800, Sathyakumar wrote:
I am not sure What I'm doing wrong, but accessing jQuery function using a $
symbol doesn't work.
For example, ${document}.ready(function() gives me an error missing ;
before statement.
It's $(document) instead of ${document}.
well i comment my problem:
example code:
javascript code using jquery1.2.3
...
function estado()
{
$.get(estados.php,{pais:$('#pais').val()}, function(data){
$('#estadodiv').html(data)
});
}
.
html code:
..
select id=pais name=pais
I had the latest of both and it turns out it was working fine. I just
needed to work with some longer processing times.
Thanks for all the help.
On Feb 7, 4:35 pm, Mike Alsup [EMAIL PROTECTED] wrote:
jQuery(options.target).attr(innerHTML, data).evalScripts is not a
function
What versions
I think it don't have so many people use ff3!
So, ur work ( try to force working fine under ff3) is not useful!
On 08/02/2008, kenneth [EMAIL PROTECTED] wrote:
ah great,
that is quite good news,
we will try the new release of jquery 1.2.3 wednesday, i ll keep you
posted.
Thx for the quick
$(document).ready(function() {
$(#orderedlist li:last).hover(function() {
$(this).addClass(green);
},function() {
$(this).removeClass(green);
});
}):
You have a : in the last line
Hi there,
I was wondering how to grab the contents of everything behind the hash
mark ( # ) in a URL.
I could not find it on the Jquery site...
Thanks,
Frizzle.
I think this maybe some sort of bug:
Using IE with the interface demo (http://interface.eyecon.ro/demos/
sort.html)
If you move all elements from a column to another one (making it
empty) then you can't put elements back on that column.
It works fine on Firefox
On the other hand, does someone
I suggest id'ing the sets and adapt style sheets for that.
div id=foo
...
/div
div id=bar
...
/div
And in your style sheet something like:
.ui-tabs-nav {
/* shared styles */
}
#foo .ui-tabs-nav {
/* foo specific */
}
#bar ui.tabs-nav {
/* bar specific */
}
--Klaus
On
yo guys,
screenshot here: http://www.ldexterldesign.co.uk/screenshot.jpg
at present this jquery function adds the .collapsed class to
ALL .articleBody's. i only want the button to function for
the .articleItem in question only. i'm sensing some parentage is in
order?
a nudge in the right
Oh, it occurred to me you might have wanted to find this for a link on
the page instead of the current url in the browser.
If that's the case, you would do something like this:
var b = $('a').attr(href).split(#)[1];
It's good practice to at least know where the danger areas might be in
the upcoming browsers. The more people who see these problems, the
better chance we have that something crucial (like detection that the
page is ready to mess with) doesn't cream a fair number of our
scripts.
I check my
On Feb 10, 4:36 pm, ldexterldesign [EMAIL PROTECTED] wrote:
yo guys,
screenshot here:http://www.ldexterldesign.co.uk/screenshot.jpg
at present this jquery function adds the .collapsed class to
ALL .articleBody's. i only want the button to function for
the .articleItem in question only.
hi
Thanks a lot. I needed your first solution, my bad for not being clear
enough.
In the meanwhile i found
location.hash.substring(1)
elsewhere...
Thanks again for your answers...
Frizzle.
On Feb 10, 4:39 pm, Ryura [EMAIL PROTECTED] wrote:
Oh, it occurred to me you might have wanted to
This is worth a little more discussion. You're saying that we can use
a div to hold variables, then jQuery can naturally deal with them.
That kinda blows my mind. I'm not sure it would be very speedy, but it
seems very flexible.
On Feb 9, 12:41 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On
On Feb 10, 2008, at 10:36 AM, ldexterldesign wrote:
yo guys,
screenshot here: http://www.ldexterldesign.co.uk/screenshot.jpg
at present this jquery function adds the .collapsed class to
ALL .articleBody's. i only want the button to function for
the .articleItem in question only. i'm
wow - thanks for the quick replies guys. unfortunately i couldn't get
any of your examples to work properly. i think more because of my
lackluster description on what i was after exactly. my mate jesse
(http://www.thefutureoftheweb.com/) stepped in and pushed me in the
right direction regarding
How about this one:
http://plugins.learningjquery.com/cluetip/
It has a mousetracking option.
Glen
On Sat, Feb 9, 2008 at 2:49 AM, Christian Vogt [EMAIL PROTECTED] wrote:
Hey guys,
iam using a great piece of JavaScript-Code from time to time, its
named BoxOver and is a ToolTip-Script for
Hey Cherry, I like the new page layout! I have one comment about your
Methods: $().append section that I thought might be confusing to
people. It's just a technicality.
You write, I wanted to replace my h1 heading with an image. But,
using .append() does not literally replace your h1 heading
Hi there,
I have some links on a page inside div id=files/div.
They link to the same page, but with a different hash.
The hash should define what url will be loaded into #files.
I have the script below:
script type=text/javascript
$(function() {
$('#files').load(index.php?
Hello,
I have a draggable div. The div is hidden and shows on click and fills
the first p tag with information. Then one can click and it gets
ajax content. I want to be able to select the text inside the div but
the whole div is draggable. I made a test div with static content and
the handle
I am running a few instances of jcarousel on Drupal. I am sending a
request here (as well as drupal) since I am not sure if this is
related to jcarousel or to drupal's use of it. One page has multiple
carousels (http://mariagwyn.com/home/design-portfolio), another has
one embedded in a
i don't see any jquery at the link you've given.
-j
On Feb 8, 3:41 pm, eltbb [EMAIL PROTECTED] wrote:
Hi,
I am using the jquery.treeview, and when first building a tree, on IE
6, the cpu usage goes up for a few seconds.
Also whenever expanding or collapsing nodes, the cpu usage seems very
hey shawn,
this is an old thread, but i have another option for you: closures.
jquery is all about closures, but i only recently fully got how they
worked and how cool they can be.
In the case of a table of results, where each row has a button,
closures avoids the ugliness of parsing the dom
That's fantastically helpful, Wick! Thank you (yet again).
I'll get there in the end hold on tight ;)
Cherry
On Feb 10, 4:56 pm, wick [EMAIL PROTECTED] wrote:
Hey Cherry, I like the new page layout! I have one comment about your
Methods: $().append section .
or maybe this one ...
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 10, 2008, at 3:02 PM, Glen Lipka wrote:
How about this one:
http://plugins.learningjquery.com/cluetip/
It has a
Hi there!
I've been dealing with some performance clean-up of a code of a web-
app that I wrote and I was wondering if jQuery does caching of the DOM
references. Lets say I have a function:
function myFunction(){
$('#foo').attr(bar);
}
I frequently refer to the function, so is it the case that
On Feb 10, 12:05 pm, timothytoe [EMAIL PROTECTED] wrote:
This is worth a little more discussion. You're saying that we can use
a div to hold variables, then jQuery can naturally deal with them.
That kinda blows my mind. I'm not sure it would be very speedy, but it
seems very flexible.
I
I have a form without a submit button, i was making the submit with
the following code:
div class=buttons
a href=javascript:{} class=positive id=button_confirmAction
style=display: block; title=Register
onClick=confirmAction('confirmAction'); return false; img src=/
hoyque/img/icons/tick.png
Hello
Yesterday i came across an autoScroll feature on this linke
http://www.etsy.com/time_machine2.php
if you hoover on the Auto Scroll button then the div starts to
scroll towards the left. the speed can be increased or decreased based
on how far you have hooverd on the Auto Scroll button.
I read over the first several parts of the page, Cherry... looking great!
This is and will continue to be a valuable resource to those getting started!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday,
Besides the Metadata plugin, there's also a plugin called Collection
that looks interesting.
http://plugins.jquery.com/project/Collection
I tried to leave a comment on your flash comments thingy as you described it,
but the spinner just kept on spinning for about 10 minutes and never processed
my message...
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
Faircloth
You can profile javascript with firebug and see total calls for
different approaches and how long they take.
That said, $('#id') is fast, since it is basically getElementById() a
native javascript method. However, if you call $('#id') 100x, you'll
see that it's faster to cache it in a variable.
Oh, darn :(
Thanks for letting me know, Rick!
I'm even worse at Flash than jQuery ;) Will sort out some sort of
fix ...
Cherry.
On Feb 11, 1:59 am, Rick Faircloth [EMAIL PROTECTED] wrote:
I tried to leave a comment on your flash comments thingy as you described
it,
but the spinner just kept
Hi,
I have very little knowledge about javascript. I used it with ordinary
functions and the code of jquery may make me confused.
I used it in a javascript function some thing like that:
script
function avaChk(lnk,id){
alert('111')
ob = document.getElementById('id');
$.ajax({url:
That is pretty cool functionality
I don't think there is anything but in scroll wise in jQuery core, but
there is an excellent plugin called ScrollTo, it's very flexible and
usefull... might be worth checking out:
http://plugins.jquery.com/project/ScrollTo
Off the top of my head, you could
On Fri, 2008-02-08 at 08:11 -0800, cbmtrx wrote:
I've just barely started getting my feet wet with jquery, so please
bear with this novice's question...
With a javascript function you can accept vars like this:
function doSomething(number, name) {
//Do something with them
}
From an
It's a easy misunderstanding to have when you first begin to use AJAX.
Remember that the first 'A' in AJAX stands for Asynchronous. You ask
the browser (via jQuery's ajax function) to retrieve a URL and you
give it a function that it will call with the result when it has
retrieved it.
The
hi there,
you should use externalInterface for flash/javascript communication
insted of passing javascript via url. It's much more powerful:
read this:
http://blog.guya.net/2006/06/19/understanding-flash%E2%80%99s-externalinterface/
hope this helps,
alex
On Feb 8, 2008 2:33 AM, somnamblst
Well it is almost finished, my Flash-based file uploader for jQuery.
The docs are finished, and the widget itself also. Originally intended
to be a part of UI, but since it has no real connection to UI
(dependencies and so on) i have decided to release it as a standalone
plugin.
Most of you have
here's one that works by holding down the Ctrl key and hovering :
http://jdsharp.us/jQuery/plugins/AutoScroll/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 10, 2008, at 9:05 PM, MorningZ wrote:
That is pretty cool functionality
I don't
44 matches
Mail list logo