Hi,
would it be possible to have an option so that the result output is a table
instead of a list ? This is useful when you just want to filter a table (or
use the table row to select fields for a form).
Related to this, how can I set the width of the results so that is wider
than the
Personally, i would suggest that you consider this: if what you want to set
up goes more into animations, effects rather than enhancing ergonomy or
usability, embed a flash file where you will be able to achieve the perfect
visual effect instead of doing it all in javascript. I'm not saying you
The manual states that $.ajax() returns the XMLHttpRequest that it
creates.
How would these objects be referenced?
I want to have multiple ajax calls and be able to execute different
ajaxSuccess code on each. Could you provide an example please?
Thank you for your time!
Emi
I'm trying to validate an optional field with the validation plugin,
using a custom method. Here's the code:
rules: {
birthdate: { validBirthdate:true }
},
messages: {
birthdate: {
validBirthdate: Invalid birthdate
}
}
How do I make this field optional? I only want to check
I tried the search but since English is not my native language my
search may have missed previous posts about this.
I was wondering how to do this http://www.csscripting.com/css-multi-column/
or preferably this http://www.mindsack.com/uxe/autoflow/ with jquery.
Point is that I want to
Hi all,
a few updates for the tabs plugin:
* CSS update: I made the tabs width/height flexible again, still having
a mininmal width... - because people didn't stop asking :-)
* I've added a method activeTab to retrieve the currently selected tab,
usage is: var index =
Is it possible to get the browsers next url from an onunload call? I'm
trying to determine if a user is leaving my site, and if they are,
send an ajax request.
maybe i'm wrong but this is what i'm doing right now:
i'm inserting portions of html in an existing page like that:
div id=container
p id=foofoo/p
!-- insert here --
/div
pa href=#insert/a/p
clicking on the link will actually insert something like this:
pBar/p
script ,,,alert(i'm
I think that might be hard to do.
One way of solving part of the problem is to bind a function to all
links on the page, and do a check if the link they clicked on goes to
another site, then you could perform your ajax-request, and then send
them on their way.
This only works when they click on
Glen Lipka ha scritto:
I have a search which yields a URL like this: (searching for [jets daniel])
http://www.commadot.com/index.php?s=jets+danielsearchsubmit=Search
http://www.commadot.com/index.php?s=jets+danielsearchsubmit=Search
http://www.commadot.com/index.php?s=Jetssearchsubmit=Search
It never crossed my mind that this could be so simple :)
Thanks, Rob!
Emi
On 5/14/07, Rob Desbois [EMAIL PROTECTED] wrote:
Hi Emi,
You don't need to reference the XHR object to achieve that, just create
two requests with different success functions:
$.ajax({type: POST,
url: foo.php
just as a side note, to be totally unobtrusive and to separate your js
from the rest of the content, you could do something like this:
$(document).ready(function(){
$('#notepad').bind('keyup', notepadSave).bind('keydown', notepadClear);
});
that way all your javascript stays in the
I consider to embed a page from one domain into a page from another
domain with an iframe. Yet when I click a link inside the embedded
page, only the embedded part should be loaded without involving the
outer page. Does anybody know if I could do this with load()? Has
anybody already tried
The example for Chainability works fine in IE6 and Mozilla, but does
not work in Firefox (2.0.0.3). When I click on the jquery no alert
shows up and I just get a new tab to the jquery site, when I click on
the You are now leaving the site. link, it opens up another tab, and
the same things happen
Nice. Thanks for clarifying that John!
--
Brandon Aaron
On 5/14/07, John Resig [EMAIL PROTECTED] wrote:
Nope! jQuery uses only one timer for all animations now (even across
multiple elements). It helps drastically, with performance.
--John
On 5/13/07, Brandon Aaron [EMAIL PROTECTED] wrote:
It doesn't have to let the browser know that its finished, as it will
just be calling a function to release any reservations that aren't
complete. It doesn't have to be 100% reliable as they are released
after a timeout by default, but the faster they are freed up the
better.
The problem I have
I'm trying to validate an optional field with the validation plugin,
using a custom method. Here's the code:
rules: {
birthdate: { validBirthdate:true }
},
messages: {
birthdate: {
validBirthdate: Invalid birthdate
}
}
How do I make this field optional? I only want to check
Jose,
would it be possible to have an option so that the result output is a table
instead of a list ? This is useful when you just want to filter a table (or
use the table row to select fields for a form).
You can use the formatItem mapping to map to a function to use to generate
the formatting
hello!
Could someone explain me how to implement the ability to send a list of
commands to be performed by a plugin when it is done ? (i believe this is
called a callback function ? )
i would like to add this to the jqUploader plugin, so that i could do something
like:
function
The jquery dev list archives available here
http://docs.jquery.com/Discussion#Archives
doesn't seem to be available any longer. Has it been moved to another
location ?
Hi John
Firstly due recognition: **bowing down to the master** :) jQuery is
like gold, sensational, thank you.
Re jQuery Flash yes two very specific reasons, one of which I raised
in the dev list after the flash plugin author suggested it seemed to
be overlooked.
That is the ActiveX issue with
Hi everybody,
I was hoping somebody could me tell me if TargetOrder[1] also exists as
jQuery plugin?
[1] http://www.dancinginquicksand.com/targetorder/
All the best,
grtz
BjornW
It's in the process of being moved over to Google Groups. I'll be sure
to let everyone know when that process is complete.
--John
On 5/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The jquery dev list archives available here
http://docs.jquery.com/Discussion#Archives
doesn't seem to be
var notepad;
function notepadSave() {
notepad=setTimeout(function() {
$.post(ajax.php,{
page: notepad,
notepad: encodeURI($('#notepad').val())
});
},3000);
}
I like this; but how do you program the
Meburke wrote on 5/14/2007 4:58 AM:
The example for Chainability works fine in IE6 and Mozilla, but does
not work in Firefox (2.0.0.3).
Which specific example are you referring to?
- Bil
Alexandre Plennevaux ha scritto:
i would like to add this to the jqUploader plugin, so that i could do
something like:
function pleaseDoTheseThings (params){
$(#dothis).show();
}
$(input#example1).jqUploader({
background: FF9900,
barColor: FFDD00,
Ok, in the meanwhile i found the plugin documentation (sitting right on the
homepage, i must had a fit of blindness :)) so i just have to do it as an
additional option. Thanks a lot for the clear explanation renato ! I know this
sounded like a stupid question, but i'm just not feeling at home
I would love to see this myself. I've used the cssscripting.com version on a
site already, but I'm not looking forward to the day its IE7 readership gets
high enough to matter. It's totally broken in that browser, and they haven't
touched the code in ages, so I'm guessing it's been abandoned.
On 5/14/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
You can use the formatItem mapping to map to a function to use to
generate
the formatting for each row. While your output will still be wrapped in a
li /, you could generate div / tags to emulate a tabular layout.
Yes, this works.
even as a beginning javascript coder im very impressed with what
jquery can do. however im having a small issue i can not figure out.
im using jquery selectors to toggle visibility of a few divs and
instead of hardcoding the id's of the divs into functions id like to
pass the id as a parameter to
[EMAIL PROTECTED] wrote on 5/14/2007 6:21 AM:
If it's not possible then it's not possible, just wondering if anyone
had done something similar in the past.
I don't think it's possible. And know that hitting the back button or
reloading the page will trigger the onunload as well. One
you can try doing this:
function toggle(value) {
$(#+value).css(display,block);
}
Tulio Faria
www.tuliofaria.net
On 14 maio, 13:12, stef [EMAIL PROTECTED] wrote:
even as a beginning javascript coder im very impressed with what
jquery can do. however im having a small issue i can
Hi,
Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible-
unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to
add a new tab after the page has loaded and the tabs have already been
constructed? That is, I have already made this call
Hi guys,
Just keeping everyone in the loop. Here are some recent jQuery articles
that have come out:
http://www.dzone.com/rsslinks/autocomplete_field_with_jquery_code_explained.html
http://www.dzone.com/rsslinks/easy_ajax_with_jquery.html
If you don't subscribe to the DZone feed, you should
[EMAIL PROTECTED] wrote:
Hi,
Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible-
unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to
add a new tab after the page has loaded and the tabs have already been
constructed? That is, I have already made this call
So I finally got around to looking at this - in the past I've always
used the friendly 'download' menu on the Interface site - which appears
to grab the appropriate files you select, check dependencies, pack them
and provide you a nice interface.js.
Can anyone explain how I would go about
Hello. I am new to this group.
I would like to implement tab plugin into my site. I have read the
articles on
http://stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/
but i am still have problems figuring out howto make this run.
Here is my code.
script src=jquery.js
perfect, thanks!
On May 14, 6:24 pm, Tulio Faria [EMAIL PROTECTED] wrote:
you can try doing this:
function toggle(value) {
$(#+value).css(display,block);
}
Tulio Fariawww.tuliofaria.net
On 14 maio, 13:12, stef [EMAIL PROTECTED] wrote:
even as a beginning javascript coder
hm, :-/
sad to hear.
do you have any suggestions how to do this in a quick and dirty
version?
thanks!
On 14 Mai, 19:04, Klaus Hartl [EMAIL PROTECTED] wrote:
tobaco wrote:
hi there,
is it possible to hide all tab-container at start-up and also not
select the current tab in the
Hi,
Is there a way to disable the li click handler so that any links created
with formatItem can be clicked ?
thanks
hi - i need to implement del.icio.us style tagging mechanism. that
involves a list of hyperlinked keywords that when clicked add or
remove or their text to an inputbox and inputbox supporting
autosuggest for each of the words after the separation character. i am
surprised to see that it is not
Thanks for this info. One thing I notice when doing this is that when
I reinitialize the tabs, a whole new group of div id=remote-tab-#
containers gets created. So for example, if there were 5 tabs
initially, and then I try and add a 6th, after reinitialization, there
are now
div
Try adding the following at the end of the code:
script type=text/javascript $.tabs(container); /script
~Sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
jQuery (English) group.
To post to this group, send
This is what I would do:
//inside head
leavingSite = false;
window.onunload = function(){
leavingSite = true;
setTimeout(if(leavingSite){ [insert ajax] },2000);
}
If the new page does not load in 2 seconds or the user left the site,
then the script will execute. (although I'm not sure what
Something like this?
JavaScript:
$(function(){
$(span.tag).click(function(){
var input = $(input.tagtext);
if (input.val().search(new
RegExp(\\b+$(this).text()+\\b,i))===-1) {
input.val(input.val()+ +$(this).text());
}
return
Thanks. That solved my problem.
I have another problem :-\.
I would like to try and set up a form that does a post self and return to
the container that the person just sent the form from. Anybody have any
ideas into this issue?
Thanks
Ryan Schoenbach
-Original Message-
From: Sean
Greeting all,
I'm sure this is quite simple; however not sure how do it. I want to
be able to get a specific xml node from the xml document using a
function call after I have initially retrieved it with jquery. Hope my
code will explain better:
XML DOC:
?xml version=1.0 encoding=ISO-8859-1?
Chill, do you have a live version we can look at? Also, getShow(this); the
this is referring to the link and not what you think. Not exactly sure
what this is supposed to refer to, but you should do it like
getShow('+this+');
On 5/14/07, chillstroll [EMAIL PROTECTED] wrote:
Greeting all,
Also, you should be able to do something like $('guest', xmlnode).text();
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
Couple of things:
1. this is automatically cast to which ever context you're using it in, in
your case, since you haven't escaped any quotations, when the inline script
is run, you're operating within the context of the anchor, a, element so
the anchor gets passed to the getShow() function,
I'm mainly interested in this as a debugging tool, but is it possible
at a given time to determine which jQuery objects have events bound to
them, and to get details about the bindings?
Also is it possible to determine if an object has the same event bound
more than once? I had a situation this
You can check the DOM Inspector in Firebug (looks for the $events
expando). You might want to read the short article as it might give
some insight to looking at events on elements.
http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos
Also recently on the list
Bejamin,
Thanks for the quick reply.
I don't have a live version yet. It's only on my local right now.
You're right.. this is not what I'm looking for there. I want to
pass either the (array) id of the specific xmlnode or something to the
function getShow() so that I can retrieve and display the
I just opened up
http://interface.eyecon.ro/demos
with drip and there seems to be a number of leaks.
Or is this a problem with drip?
-Geoff
On May 14, 4:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
You can check the DOM Inspector in Firebug (looks for the $events
expando). You might want to read the short article as it might give
some insight to looking at events on
Found it:
http://groups.google.com/group/jquery-en/browse_thread/thread/46ecc1db4ad3464b/8a6c2c234975f0e2
--
Brandon Aaron
On 5/14/07, Brad Perkins [EMAIL PROTECTED] wrote:
On May 14, 4:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
You can check the DOM Inspector in Firebug (looks for
Jake,
I will try your suggestions out tomorrow and let you know.
Thanks for the detailed response..Very helpful.
On May 14, 4:59 pm, Jake McGraw [EMAIL PROTECTED] wrote:
Couple of things:
1. this is automatically cast to which ever context you're using it in, in
your case, since you
is there any way to make a remove function with callback? so after
removing an element a callback function starts?
This might be what you are looking for.
$('a').bind('click', function(event) {
event.preventDefault();
newHref = $(this).attr('href');
//
// = Do something =
//
window.location = newHref;
});
[EMAIL PROTECTED]
On
The empty() function is synchronis (sp?). It won't return until it's finished.
--Erik
On 5/14/07, Equand [EMAIL PROTECTED] wrote:
is there any way to make a remove function with callback? so after
removing an element a callback function starts?
err, you said remove, not empty. But the same thing is true.
--Erik
On 5/14/07, Erik Beeson [EMAIL PROTECTED] wrote:
The empty() function is synchronis (sp?). It won't return until it's finished.
--Erik
On 5/14/07, Equand [EMAIL PROTECTED] wrote:
is there any way to make a remove function
but empty clears the element. and I need only to remove a particular
element...
if i use empty, i need to clear the parent. but there are some
elements in parent which should not be removed...
On May 15, 7:00 am, Erik Beeson [EMAIL PROTECTED] wrote:
The empty() function is synchronis (sp?). It
62 matches
Mail list logo