Many thanks Joel I have copied the code that your wrote and now
works perfectlly. Thanks again for your help.
On 20 jun, 03:47, Joel Birch [EMAIL PROTECTED] wrote:
On 20/06/2007, at 12:43 AM, Joel Birch wrote:
Link:
localhost/~joelbirch/plugins/superfish/oscar-test/
Sorry, the correct
The effort is definately appreciated, and it was a good idea. It just
seems like ForeFox (at least in it's 1.5 incarnation) has rather slow
DOM access compared to the other browsers. FireFox takes a full six
seconds to complete all the initialization routines, all the other
browsers (even
You may be looking after event.stopPropagation();
$(form).bind(submit, function(event){
event.stopPropagation();
});
http://docs.jquery.com/Events
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of barophobia
Sent: mercredi 20 juin 2007
Hi,
I'm a little unsure on how the $.ajax function works in terms of
returning a value. I would like the below to insert the returned
values into a div. but i'm unsure what would go into the t()
function.
$.ajax({
type: POST,
url: autocomplete.php,
data:
Are you truely loading a new page in FF or just pressing F5 or CTRL-R?
To reload a page in firefox you MUST click a link back to the page or
CTRL-SHIFT-R. FF tends to store forms and stuff otherwise. It refreshes
the page but it may not refresh the data. (This is for sure with a form,
but I
I am using the jquery autocomplete code and have set the minChars
after which the autocomplete request is fired to 3. It works fine if
all 3 chars are letter (eg: abc) but fails to show the results when I
use a dot or space as the third character(eg: st.). Any suggestions on
how this can be
hi scott,
thanks, but i put your sentece into an alert command, and de alert
window don't opened. if remove [0] the alert window shows undefined.
Any other option?
you should use classes instead of id's, since it's invalid html to have
more elements with the same id on the same page.. the way you're doing
it binds the click event to only the first element found on page (since
the id must be unique)..
change the id=trash to class=trash and $('#trash')
Rui Costa wrote:
thanks, but i put your sentece into an alert command, and de alert
window don't opened. if remove [0] the alert window shows undefined.
Any other option?
Do you have a test page available? It works for me:
http://scott.sauyet.com/test/JQuery/Tests/ParamFromObject.html
G[N]Urpreet Singh wrote:
I cannot remove the parent of an element in IE6. The behavior in IE6
is that only the first of the parents is getting removed and then it
stops working.
[ ... ]
divThis is div 1 span id=trashDel/span/div
divThis is div 2 span id=trashDel/span/div
You
http://www.mobiliarioemnoticia.pt/wmv/testemunhos.asp
i add 2 buttons. click them.
Couple of things:
1. Are you sure you want to use synchronous communication? From jQuery
documentation:
By default, all requests are sent asynchronous (e.g. this is set to
true by default). If you need synchronous requests, set this option to
false. Note that synchronous requests may
Sorry, damn gmail shortcut keys...
Could you post a live example of your script?
- jake
On 6/20/07, Jake McGraw [EMAIL PROTECTED] wrote:
Couple of things:
1. Are you sure you want to use synchronous communication? From jQuery
documentation:
By default, all requests are sent asynchronous
For a book about some of the methods for creating the base
functionality of jQuery without jQuery, that is the methodology behind
jQuery, check out Resig's Pro Javacript Techniques.
- jake
On 6/20/07, Fred Janon [EMAIL PROTECTED] wrote:
Karl,
Is the book about using jQuery only or also
Fred,
We've focused on jQuery from a user perspective, though we do
describe how things are implemented when it is necessary in order to
use them well. The most in-depth chapter from an implementation
standpoint is the one on developing jQuery plug-ins.
On Jun 20, 2007, at 9:45 , Fred
The book is already available for pre-order on the publisher's site
at
Karl - somehow I missed your original reply but thanks for the update -
and I've already pre-ordered :)
Jim
Rui Costa wrote:
http://www.mobiliarioemnoticia.pt/wmv/testemunhos.asp
i add 2 buttons. click them.
Can you try this inside an HTML page? I have no idea how JQuery is
supposed to act when there is no HTML, tag, no BODY tag, etc. I don't
see anything wrong other than that, but that may be
Gordon wrote:
Just a quick question, is there a way to quickly create a jQuery
object that contains no elements at all so you can add() them as
needed later in the script?
I suggest (although I've never tested or used it):
var empty = $([]);
Note that $() will include the document
I believe it's
var $emptyObj = jQuery([]);
On 6/20/07, Gordon [EMAIL PROTECTED] wrote:
Just a quick question, is there a way to quickly create a jQuery
object that contains no elements at all so you can add() them as
needed later in the script?
--
Aaron Heimlich
Web Developer
[EMAIL
you're right. what a fail
thanks for this.
i need to access to DATA parameter at the OBJECT tag.
$(#mediaPlayer)[0].data
Hey guys,
I am using jQuery on a large site that is being tracked with a service
called IndexTools (http://indextools.com). We have been having a lot
of problems and tracked it down to a conflict between jQuery and the
tracking.js file that IndexTools requires you embed in your pages.
The
hey, i done firebug on my site ( www.xpogames.com www.xpogames.com ) and i
noticed that all the error (atlast, what the firebug says) comes from the
jquery.js, i removed the old version that i had (i tought mabye this is the
problem) and replaced it with the lasted jquery pack.. still errors,
so far so good. i'm getting the solution i need.
well, at the right side of the wmv video, there are a list of videos,
and i need to click, and change de source of the video and start to
play, so i try this:
$(#mediaPlayer [EMAIL PROTECTED])[0].value = $(# +
this.id).attr('title'); // it's the
Hi AJ,
just a quick thought, have tried to include the IndexTool via the
dynamically adding of a script-tag to your page? something like this:
script type=text/javascript
var s=document.createElement('script');
s.setAttribute('src',
There is a moreSelectors plugin. Use it as an example of how to extend.
http://dev.jquery.com/wiki/Plugins/MoreSelectors
Glen
On 6/20/07, Felix Geisendörfer [EMAIL PROTECTED] wrote:
Hi folks,
Is it possible to add custom selectors to jQuery via a plugin? I'd
basically just need to rewrite
Rui Costa wrote:
well, at the right side of the wmv video, there are a list of videos,
and i need to click, and change de source of the video and start to
play,
I have no experience with embedded media. You might want to check out:
http://jquery.com/plugins/project/media
Another
just a quick thought, have tried to include the IndexTool via the
dynamically adding of a script-tag to your page? something like this:
No dice. The conflict remains.
Thanks for the suggestion, though.
I had some troubles with jquery and Omniture a while back. I wasn't the one
who solved the problem and that dev has moved on. Sorry I can't be of more
help, but I do feel your pain.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of AJ
Sent:
Did you ever get this function working? I'm having trouble with it as
well. Is this the right syntax?
$('#elem').TransferTo(
{
duration: 500,
to: 'elem'
}
);
If I build up a list of elements by pushing elements retrieved
getElementById onto an array and pass it to not() I can use this list
to filter out elements I don't want. But when I try the same thing
with filter() I get an error message:
t.substring is not a function
Can you provide an example of the code? I'm not sure what you're
trying to do from your description. (If I had to guess, I'd say that
you're trying to pass an element to filter, but I'm not sure why.)
--John
On 6/20/07, Gordon [EMAIL PROTECTED] wrote:
If I build up a list of elements by
Tried, return false in sayhi?
- jake
On 6/20/07, Christian [EMAIL PROTECTED] wrote:
Hi,
First off, I really like jQuery - coming from MochiKit, it is nice to
have such a well put together library.
So here is my question: does anyone know how to stop event bubbling in
IE6? I want to bind a
On Jun 20, 1:44 pm, Jake McGraw [EMAIL PROTECTED] wrote:
Tried, return false in sayhi?
Yep, no dice. Thanks for the suggestion though.
Christian
Oddish wrote:
I just upgraded the validation plugin to 1.0 final from beta 2 and now
I get this on one of my forms:
Error: jQuery.validator.getLength is not a function
The line where the error occurs is the second of the three lines
below:
jQuery.validator.addMethod(validPhoneNr,
I just found this: http://www.quirksmode.org/js/events_order.html
Down the page it has this:
window.event.cancelBubble = true
On 6/20/07, Benjamin Sterling [EMAIL PROTECTED] wrote:
Christian,
I am not a 100% on what Event Bubbling is, I searched it, but still no
real idea. But I am
TEN MEG maximum page size? That's freaking HUGE. No wonder Apple's bumping
up the page sizes on their site. They probably used the uncompressed
versions of Prototype and Scriptaculous on PURPOSE so that they could test
this.
-Original Message-
From: jquery-en@googlegroups.com
it won't work!
getJSON uses ajax... ajax can't go to another site.
On 6/20/07, LVCHEN [EMAIL PROTECTED] wrote:
I am doing some hack for blogger. Blogger API has offered JSON feed
for user to load recent posts. This allows you to query a blog's
public feed and get the resulting entries
got it... need to use .unblock instead of .unblockUI
rolfsf wrote:
I'm playing around with blockUI, and have it working fine based on the
examples. However, I want to block an element on the page ('div#foo') and
display a dialog with a couple buttons. My attempts keep missing the mark.
got it... need to use .unblock instead of .unblockUI
Glad you found the solution. I was just about to ask what exactly
wasn't working!
Cheers!
Mike
Is there any place that actually states what this new make a call
protocol/link structure is?
On Jun 20, 11:56 am, Andy Matthews [EMAIL PROTECTED] wrote:
TEN MEG maximum page size? That's freaking HUGE. No wonder Apple's bumping
up the page sizes on their site. They probably used the
Hi,
is $.post() always returning string as response data?
$.post(url, { param1: value, param2: value }, function(data) {
alert(typeof data); -- string
}
Even if the data is JSON?
Do I have to use $.ajax() instead?
Thanks for your help.
Bohdan
getJSON won't work, but my JSON plugin will. It's designed for this kind of
cross-domain use:
http://mg.to/2006/01/25/json-for-jquery
-Mike
_
From:
it won't work!
getJSON uses ajax... ajax can't go to another site.
On 6/20/07, LVCHEN [EMAIL PROTECTED] mailto:[EMAIL
.ready isn't really an event, it's all special case code.
Instead of trying to unbind a function, you could set a flag and test it in
the function in question.
But what it is you're really trying to do? I don't see exactly what the goal
is here.
-Mike
_
From:
On 6/20/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Jonathan Sharp wrote:
On 6/20/07, *Jörn Zaefferer* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
Jonathan Sharp wrote:
I have the following:
$('div class=foo').find('.foo').doSomething();
Why not simply
Doh! Thank you...
No problem :-)
--
Jörn Zaefferer
http://bassistance.de
I found a way to work around it. Mike's comment about the IndexTools
code maybe taking over some link handlers got me thinking.
In the chance this helps someone else someday, here is what my links
look like:
ul id=file_list
lia href=5 onclick=javascript:return false;File Number 5/a/
li
etc,
I don't quite understand.
As you can see in the code I posted, there are no submit buttons in
the tr that has the event bound to it so I'm not sure what your
example is trying to show me.
Are you suggesting that I need to specifically negate the action of an
event on everything that I don't
Hi guys, i was fiddling today with one of my newer projects, and i was
wondering how you guys organize things.
Right now i have this structure (all based on mainly website
development)
Customer name
--\ website name
--\ develop
--\ Assets
--\ Text
--\ subpage1
Didn't realize document.ready wasn't an event...thanks Mike
I can think of solutions to the problem but in general was trying todo
something like:
// in default library
$().ready(function(){
/*
do generic things
*/
})
// in optional asset (if present)
$().ready(function(){
/*
cancel the 'do
jim wrote:
Didn't realize document.ready wasn't an event...thanks Mike
I can think of solutions to the problem but in general was trying todo
something like:
[...]
How about this:
function ready() {
// do generic stuff
}
$(function() {
ready();
});
// optional assert, overwrites generic
I ran into a problem with TinyMCE where it was in the middle of a set of form
fields and the client wanted to have the tab key move them from the field
before it into the editor. By default--even with tabindex set on all your form
elements--both Firefox and IE will tab through all the links
Maybe using microformats?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: mercredi 20 juin 2007 20:58
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: NEWS: iPhone Browser Capabilites Released
If I had to guess,
I think the biggest reason to start adapting your webapp to the iPhone is so
you can convince your boss that the company must buy you one to test with :)
Here's a page that has a bit more detail:
http://www.macrumors.com/2007/06/19/iphone-web-development-guidelines/
Whoops, I see they just
[EMAIL PROTECTED] wrote:
Thanks Jörn!
That appears to have removed the errors. However, the validation still
isn't working; the form still submits (even in debug mode). Any ideas?
Uhm, not really. Though after looking at your page again, it appears
like you've commented (disabled) the
Is it possible to change this behavior in jQuery so that the $
(document).bind('ready'... and unbind methods work (more) like other
events?
thanks, Jim
Possibly - file a bug on it and we might be able to get to it for jQuery 1.2.
On 6/20/07, jim [EMAIL PROTECTED] wrote:
Is it possible to change this behavior in jQuery so that the $
(document).bind('ready'... and unbind methods work (more) like other
events?
thanks, Jim
Imagine a table row like this
tr
td
select.../select
/td
td
input type=text ... /
/td
td
input type=text ... /
/td
td
input type=text ... /
/td
td
...
/td
/tr
Depending on the select option I need to modify or clear values in the
text inputs in the 2nd,
Sean,
This looks ideal for something I'm working on...with one potential
exception... on the Klaus tab on the idTabs page, you say However, the
/Tabs/ plugin can do many things like ajax history that /idTabs/ can
not.. Do you only mean that it's (history) not built-in, or that
there's a
I am not a javascript wizard (AFAIK), but this is a great opportunity
to evangelize jQuery.
Everybody and their brother will be looking to jump on board with an
iPhone app, the same with Dashboard widgets. I expect to create an
admin interface for my web company (total anticipated audience: 2).
Had occasion just now to use the Easing plugin
http://gsgd.co.uk/sandbox/jquery.easing.php
I replaced a slideDown Toggle with bounceout. Kickass.
And it's 2k! Too cool. Improves the interaction immediately,
I'm changing my vote on stuff I think should be in the base. Yes, I am
fickle.
1.
61 matches
Mail list logo