Is it possible to open the select list on focus?
Best regards,
Jake Moon
If you look at the online version of the compiler, you'll see that
jQuery, jQuery UI, and other popular libraries are options in the Add
a URL dropdown menu:
http://closure-compiler.appspot.com/home
I assume that means that Google anticipates Closure being used in
conjunction with those existing
Thank you Jack, I'll give it a world.
jake
On Aug 20, 5:27 pm, Jack Killpatrick j...@ihwy.com wrote:
I've used this in a bunch of sites that had to work in IE6:
http://jdsharp.us/jQuery/plugins/jdMenu/
- Jack
con-man-jake wrote:
Can anyone recommend a jquery menu plug that works
Did it. Works like a charm! Thanks again Jack.
jake
On Aug 21, 9:27 am, con-man-jake jakedim...@gmail.com wrote:
Thank you Jack, I'll give it a world.
jake
On Aug 20, 5:27 pm, Jack Killpatrick j...@ihwy.com wrote:
I've used this in a bunch of sites that had to work in IE6:
http
to save time on this.
Any help is appreciated.
jake
is appreciated.
jake
It works! Thank you Liam.
jake
On Aug 19, 11:22 am, Liam Potter radioactiv...@gmail.com wrote:
$(#tbl tbody tr:not(:first-child)).remove();
con-man-jake wrote:
Can anyone please confirm the syntax of what I am doing
I have a table with id=tbl, it has 4 rows. I need to remove all
Every time you insert a new text field to the DOM, you have to call
autocomplete().
On Wed, Jul 22, 2009 at 10:03 AM, escribatiago.garrochi...@gmail.com wrote:
I can't put autocomplete working with dynamic textboxs. I have a
javascript function to add dynamic textboxs, but when i attach the
I must say...very very nice.
jake
On Fri, Jun 19, 2009 at 6:16 AM, GianCarlo
Mingatigiancarlo.ming...@gmail.com wrote:
Hello everyone,
during the initial phase in the development of amuch more complex
zommpan widget, i ended up with this tiny (yet another) zoompan
plugin. Since it's small
:
$('#subnav-1').toggle();
http://docs.jquery.com/Effects/toggle
You can also access the display property with $('#subnav-1').css
('display');
On Jun 17, 10:02 pm, Jake Barnes lawrence.krub...@gmail.com wrote:
This code works, but it seems inelegant:
if ($(#subnav-1)[0].style.display == block
This code works, but it seems inelegant:
if ($(#subnav-1)[0].style.display == block) $(#subnav-1)
[0].style.display = none;
This seems to violate The One True jQuery Way:
[0]
I assume I'm not suppose to do that.
The each() method is more elegant, but it is more verbose:
Thanks Gustavo
I put in a kludge for this just to move on with the project. But I
will try your suggestion in the near future and let you know.
jake
On Wed, Jun 3, 2009 at 11:38 PM, Gustavo Salomé gustavon...@gmail.com wrote:
Try this:
$(#knowndiv').parent('td').prev().prev().html();
Think
, divs...what have you,) are all
full of styles, attributes, and onclick events to a fairly large
extent.
Other variations and combination of jQuery functions fail as well in
getting the parent of this div in my page.
I guess I'll just keep on truckin'.
jake
On Tue, Jun 2, 2009 at 3:52 PM
Yes, that is the first thing I did, to no avail. I think all I am
left with just trudging through this with pure javascript.
jake
On Wed, Jun 3, 2009 at 11:20 AM, BigAB adamlbarr...@gmail.com wrote:
have you tried
var myText = $('#knowndiv').parents('tr').find('td:first').text();
alert
I must say, I have not tried closest() and prevAll(). I'll give
it another go with your suggestions before I throw in the towel.
Thanks.
jake
On Wed, Jun 3, 2009 at 11:22 AM, mkmanning michaell...@gmail.com wrote:
The problem with parents() in the example given is that if your page
, it works!
At any rate, thanks to all. Too much effort has gone fruitless at
this point. I will have to resort to a different solution altogether.
jake
On Wed, Jun 3, 2009 at 2:44 PM, Mauricio (Maujor) Samy Silva
css.mau...@gmail.com wrote:
On Wed, Jun 3, 2009 at 11:20 AM, BigAB adamlbarr
Still a newbie.
I have this:
table
tr
td
text I want to get
/td
td
/td
td
div id=knowndiv/div
/td
tr
/table
If I have the div with id of knowndiv as an object (call it obj),
How do I get the text inside the first td?
Thank you Ameen,
jQuery and its plug-in blockUI does this already (other
javascript/css libraries do this as well.) But I must confess, not
paying attention to their internals had me always wondering on how
they did it until you just explained it. Pretty nifty and simple, I
might add. Had I
', but, of course, I may be way-off here.
So my question is; is there a jquery trick, a javascript trick or even
a css trick that can help me do this easily?
Your help is greatly appreciated.
jake
:58 pm, con-man-jake jakedim...@gmail.com wrote:
I am new to jquery and to web development in general.
I have many elements (over 100) on a page each with an onclick event
listener function. They have different listener function names and
varying number of parameters. The functions may
;
}
to no avail.
But I will learn as I stumble, slowly but surely.
jake
On May 27, 3:53 pm, James james.gp@gmail.com wrote:
How about setting a global variable such that it will be 'on' when a
function is running, and set back to 'off' when done?
Whenever a function sees that it's
-list
- jake
On Tue, Apr 28, 2009 at 10:55 PM, fluxUX martine...@gmail.com wrote:
This is great. Thanks so much!
For some reason the DIV for the commentWrapper is not working on the
render page..here is what I have:
/head
body
input name=u id=u type=hidden value=A_u3V /
a href=# id
This is a tough one. Any help, much appreciated. I've been
experimenting all day with different ideas toward fixing this, but so
far nothing has worked.
Please look at this page in IE6:
http://www.teamlalala.com/lark/Simplicity%20ie.htm
In IE6, you can see a huge gap at the bottom of the page,
-comment-list
- jake
On Tue, Apr 28, 2009 at 12:17 PM, fluxUX martine...@gmail.com wrote:
I want to display an unordered list of comments from my echoed JSON
result using this jQuery code block:
$(#goComment).click(function(){
bigComment = $(#bigComment).val();
$.post(i
This should be the easiest thing in the world - set a background image
for a div on mouseover.
I'm working on a color picker for a clothing store. The customer can
choose any of 20 colors. The colors are represented on screen by 20
tiny divs, each with a background color. When the customer wants
There is a bit of a demo site here:
http://www.teamlalala.com/lark/products-2.html
The problem is with the 20 color divs to the right of the main product
image. Why doesn't the background image remain visible when I mouse
out?
On Apr 25, 1:43 am, Jake Barnes lawrence.krub...@gmail.com wrote
document.write() means writes to the root of the DOM, aka. the
`document'. it is a JavaScript built in Object.
http://www.comptechdoc.org/independent/web/cgi/javamanual/javadocument.html
On Apr 22, 1:08 pm, kiusau kiu...@mac.com wrote:
QUESTION: Is it possible to use the for-in statement to
I'd suggest .live() still. Or maybe you could try eval() those
JavaScript code after Ajax fetch and DOM manipulation complete
manually? btw, do you check the page source using `view page source'
or firebug's dom inspector? latter recommended.
On Apr 15, 3:56 pm, Snef sne...@gmail.com wrote:
Hi. I'm new to JQuery.
We have a system that dynamically generates pages from the database.
The users want some of the pages changed.
I'm trying to use JQuery to modify the pages on the fly so I don't
have to mess with the vendor's code.
below is my code as I'm just starting out.
It works
unsubscribe me please
On Dec 11, 2008, at 7:28 PM, Ariel Flesler wrote:
You need to use $().queue() not data.
$().queue('foo',1).queue('foo',2).queue('foo',3)
Also, $().queue('foo').each() won't work because the returned data is
an array.
$.each($().queue('foo'), function(){ }); will
), the html is executed (DOM?)
and IE complains about JavaScript errors. My question is can I prevent
the JS from being executed, external resources from being loaded (img,
css) but still get the anchors for each page?
- jake
On Thu, Nov 6, 2008 at 1:01 PM, axemonkey [EMAIL PROTECTED] wrote:
Hi all
Whoops, not trying to top post, but I believe our threads are related,
in that we're both processing HTML from an AJAX request.
Sorry,
- jake
On Tue, Dec 2, 2008 at 10:08 AM, Jake McGraw [EMAIL PROTECTED] wrote:
I'm using jQuery AJAX to recursively spider a website to build a
sitemap.xml file
On Tue, Dec 2, 2008 at 2:23 PM, Jeffrey Kretz [EMAIL PROTECTED] wrote:
geek
Before I answer, I've gotta ask (I've been wondering for MONTHS), have you
read the Starrigger series?
/geek
Previously, Googling jake mcgraw would bring up hits for the
Starrigger series... as you can see:
http
eg. to select all the table rows in tbody that is both visible and
odd. how to put tr:visible and tr:odd together?
);
}).change();
This does work, but doesn't utilize livequery:
$(input).change(function(){
if ($(this).is(:checked)) {
alert(checked!);
} else {
alert(not checked!);
}
}).change();
So, my question is, how do I trigger livequery events within JavaScript?
- jake
People keep claiming that but we haven't been able to reproduce an
Adblock issue internally. What Adblock rule is blocking SWFUpload?
Maybe we can fix it.
On Aug 28, 4:16 pm, Fabian Alejandro [EMAIL PROTECTED] wrote:
Hi,
you can also trywww.swfupload.org, it is fully configurable.
it
Jim:
See this http://dev.jquery.com/ticket/3143. Long story short, jQuery
only supports $(html) or $(xmlObject).
- jake
On Fri, Sep 5, 2008 at 2:53 PM, Jim Buzbee [EMAIL PROTECTED] wrote:
I must be in the wrong group. This morning, I posted a question (I
must be missing something simple
) {
$(#hash).val(response);
}
});
- jake
On Fri, Sep 5, 2008 at 3:36 PM, nananannae2 [EMAIL PROTECTED] wrote:
can someone help me get this to work please? i need a post to a page
that returns a string to set but it's my first time using it
$(#hash).val(
$.ajax({type
Couple of things:
1. Can we get some kind of interaction with an Ajax dictionary for common words.
2. Options: {minimum:4, maximum:16, ... }
- jake
On Thu, Aug 21, 2008 at 9:12 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
Hi jQueryans,
I'd like to share a preview of a validation extension
://developer.yahoo.com/yui/reset/
- jake
input, select, textarea {
border: solid 6px #ECF0F9;
color: #252525;
font: normal 0.75em Verdana, Geneva, sans-serif;
padding: 0.25em;
width: 520px;
}
I am having a few problems:
Firefox
(){
$(.add_letter_code_object').click(myFunction);
});
- jake
On Thu, Jul 10, 2008 at 3:19 PM, stephen [EMAIL PROTECTED] wrote:
This is my code:
$(document).ready(function() {
$('.add_letter_code_object').click(function(event) {
$('#objects').append('html code')
});
});
What
function(data){$(#foo).html(data).find(.clickable).click(function(){
// Do onclick stuff here
});
- jake
On Wed, Jun 25, 2008 at 6:51 AM, jebberwocky [EMAIL PROTECTED] wrote:
hello all
I have a js code as:
$(document).ready(function() {
$(.menu-item2).click(function
Whoops, find(.clickable) should be find(#clickable)
- jake
On Wed, Jun 25, 2008 at 9:01 AM, Jake McGraw [EMAIL PROTECTED] wrote:
function(data){$(#foo).html(data).find(.clickable).click(function(){
// Do onclick stuff here
});
- jake
On Wed, Jun 25, 2008 at 6:51 AM, jebberwocky [EMAIL
Do you have a live example page?
- jake
On Tue, Jun 24, 2008 at 1:07 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
First off, the caveat, I'm a noob. However, I have a small piece of
code that is causing some odd behaviour in FF 2 and 3 but not in other
browsers (IE6 7, Safari 3
).
One question I'd like to ask: What resources has Google committed to
this project to ensure availability? I've noticed that
http://code.google.com has yet to switch to the Google AJAX Libraries
API, are there any plans to do this in the future?
- jake
On Tue, Jun 3, 2008 at 11:07 AM, Jiming
. I'd use the metadata plugin
to assign each entry a label and then attach a click event to each
label choice. Add CSS to match the look.
- jake
Check out http://ejohn.org/blog/sexy-firefox-3/
- jake
On Mon, May 19, 2008 at 4:18 PM, Shelane [EMAIL PROTECTED] wrote:
Is there a way to install Firefox 3 RC1 without affecting FF2 on a
Mac.
The release notes have this message: Please note that installing
Firefox 3 will overwrite your
the modal plugins that cover the entire screen, I need one
that correctly positions and sizes itself for a given section (not the
whole screen).
- jake
Gawd, I am one lazy developer, Mike goes through the trouble of
creating a well laid out site with plenty of tutorials and I totally
miss Element Blocking.
Thanks Alexandre + Mike!
- jake
On Mon, May 19, 2008 at 4:49 PM, Alexandre Plennevaux
[EMAIL PROTECTED] wrote:
sure jake
Could you provide an example of this online?
- jake
On Tue, May 6, 2008 at 12:33 PM, mdg583 [EMAIL PROTECTED] wrote:
Hi, I don't know where this problem is coming from, but I find that
over the course of a few jquery AJAX operations and a ajaxForm submit,
for a little while I find
ah why not try $(body).text() That should strip all of the markup?
- jake
On Fri, May 2, 2008 at 8:55 AM, Joe [EMAIL PROTECTED] wrote:
Okay I have read and reread
http://www.learningjquery.com/2006/11/how-to-get-anything-you-want-part-1
and
http://www.learningjquery.com/2006/12/how
@jquery doc.jquery.com is down :-P
- jake
On Wed, Apr 30, 2008 at 9:27 AM, Rey Bango [EMAIL PROTECTED] wrote:
Jason described it perfectly and you won't be left out of the loop because
you don't use Twitter. The mailing list is still the main point of
communication for the jQuery project
*http://docs.jquery.com/
On Wed, Apr 30, 2008 at 9:45 AM, Jake McGraw [EMAIL PROTECTED] wrote:
@jquery doc.jquery.com is down :-P
- jake
On Wed, Apr 30, 2008 at 9:27 AM, Rey Bango [EMAIL PROTECTED] wrote:
Jason described it perfectly and you won't be left out of the loop because
You'll need some method of determining if the iframe has been loaded,
check out the frameReady plugin:
http://jakemcgraw.com/javascript/jquery.frameready.js
- jake
On Tue, Apr 29, 2008 at 3:38 AM, Teonator [EMAIL PROTECTED] wrote:
Hi,
Let say I have page A with an iframe (# ifrmContent
directly referencing ExtJS.
Granted, none of this is as convenient as an MIT or BSD or LGPL or CC
license, but then, the core team ExtJS has a right to license their
software anyway they'd like to keep the project up and running.
- jake
Which begs the question, Why would you want to remove scripts? Once a
script has been included, it should have executed, so what do you gain
by removing it?
- jake
On Mon, Apr 21, 2008 at 6:41 PM, cfdvlpr [EMAIL PROTECTED] wrote:
Is it possible to remove a script from a page dynamically?
) {
alert(Hello, world!);
});
$(body).append('span class=classnameClick Me!/span');
Clicking Click Me! should now produce an alert window.
- jake
On Tue, Apr 22, 2008 at 4:45 PM, Brian Ronk [EMAIL PROTECTED] wrote:
I have a click even that I add to a certain class when the page is
created
var id = $(div.policy:visible).attr(id);
- jake
On Mon, Apr 14, 2008 at 11:57 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I have a number of DIVS of class = policy on my page. At any one
time, only one will be displayed, that is, have the CSS display
attribute set to block
the documentation for how selectors work here:
http://docs.jquery.com/Core/jQuery#expressioncontext
and here:
http://docs.jquery.com/Selectors
- jake
On Sun, Apr 13, 2008 at 12:46 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am creating my first site with jquery. (Its my first time
I would suggest using the frameready plugin, but it appears the
authors site was been removed from the internet.
You can download it from here:
http://jakemcgraw.com/javascript/jquery.frameready.js
Usage instructions are included in the script comments.
- jake
On Thu, Apr 10, 2008 at 12:25
Second the request for slides / any multimedia.
- jake
On Wed, Apr 9, 2008 at 4:18 PM, Richard D. Worth [EMAIL PROTECTED] wrote:
Way to go, Benjamin! Wish I could be there. Will there be a recording?
slides?
- Richard
On Wed, Apr 9, 2008 at 4:03 PM, Benjamin Sterling
[EMAIL PROTECTED
Mixing content and logic, a no no for standardistas. It really
depends on how much content you have on any given page. I'd suggest
using both the head and footer methods to determine what provides
the best end user experience Vs what keeps your pages standard
compliant.
- jake
On Tue, Apr 8
Spam?
On Tue, Apr 8, 2008 at 4:46 AM, Sarah Johns [EMAIL PROTECTED] wrote:
Hello guys, i need some serious help here. My dad made a site, this
http://www.videoriporter.hu . And he cant make it work. Can any of you
help me? Thank you Sarah
) and stylistic (CSS) resources
should be kept separate from your content (XHTML).
- jake
On Tue, Apr 8, 2008 at 11:11 AM, Mika Tuupola [EMAIL PROTECTED] wrote:
On Apr 8, 2008, at 6:06 PM, Jake McGraw wrote:
Mixing content and logic, a no no for standardistas. It really
depends on how
developers can make an informed consideration. Thankfully,
jquery-en provides a professional environment where we can have this
discussion.
- jake
On Tue, Apr 8, 2008 at 11:40 AM, Mika Tuupola [EMAIL PROTECTED] wrote:
On Apr 8, 2008, at 6:23 PM, Jake McGraw wrote:
Regardless of whether
updated you would use setInterval, as it will be
called continuously.
- jake
On Mon, Apr 7, 2008 at 11:53 AM, coughlinsmyalias [EMAIL PROTECTED] wrote:
Hey, I found this article here:
http://www.evolt.org/article/Using_setInterval_to_Make_a_JavaScript_Listener/17/36035/
- to try to clear up
$(tr.rowData :text, tr.rowData textarea).blur(function(){
/* Callback goes here */
});
On Thu, Apr 3, 2008 at 4:58 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Within my TR of class rowData, how do I write a jquery onblur
handler for every input field of type = text or every
I remember seeing a streamlined, grey on grey logo, I think John R.
used in a presentation. Anyone have a high def version of this?
- jake
Any ideas on the fee?
- jake
On Thu, Mar 6, 2008 at 9:57 AM, Rey Bango [EMAIL PROTECTED] wrote:
For those that missed this email the first time:
The jQuery team is looking to gauge interest in jQuery training
delivered in a live, online format by jQuery project lead John Resig
http://www.ibm.com/developerworks/web/library/wa-aj-overhaul1/index.html?ca=drs-
Developer Works drops jQuery Ajax + ThickBox tutorial. Part one posted today.
- jake
Try:
$.post(index.cfm, {Action:processajax}, function(){/* Success
callback */});
On Mon, Feb 25, 2008 at 10:23 PM, MikeP [EMAIL PROTECTED] wrote:
Hello.
I'm using an Ajax Post. It works fine when I use the path in the
url...
url: controllers/processajax.cfm,
However, If I want to
,o){
o.flashvars = {
playback_url: http://www.foobar.com/playlist?id=1234;
};
});
Using Firebug and looking at the HTML that was generated, I see the following:
embed ... flashvars=file=http://www.foobar.com/media/1234.flv; ... /
So, what am I doing wrong?
- jake
Ah, I traced the issue to a PHP error, make sure your server scripts
aren't spitting out HTML errors!
- jake
On Feb 14, 2008 3:05 AM, Yılmaz Uğurlu [EMAIL PROTECTED] wrote:
Can you try upload your file without upload plugin. Create simple file form
and just post to data your uplaod action
What are you using to encode your json server side? If you have PHP
5.2 and above, I'd suggest json_encode, which takes a PHP array and
converts it into json. To output a 1, you should be able to do the
following:
echo json_encode(array(error=1));
- jake
On Fri, Feb 15, 2008 at 3:48 PM
Just started getting this issue with the Forms plugin!
- jake
On Feb 9, 2008 5:07 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I just downloaded the latest version of the ajax file upload plugin
(http://www.phpletter.com/Demo/AjaxFileUpload-Demo/). I have created
a test page
http
Zend Studio, before that TextMate
On Feb 13, 2008 3:15 PM, Kyle Browning [EMAIL PROTECTED] wrote:
Zend Studio.
On Feb 13, 2008, at 12:15 PM, Alexandre Plennevaux wrote:
aptana studio
On Feb 13, 2008 8:49 PM, Mika Tuupola [EMAIL PROTECTED] wrote:
On Feb 13, 2008, at 6:38 PM,
Ah, this issue bit me in the ass, using jQuery 1.2.3... is this a
browser/css quirk or is there a planned fix?
- jake
On Jun 17, 2007 7:31 AM, Fil [EMAIL PROTECTED] wrote:
I'am not sure, but this one may be faster:
// get the background color
var current_p = $(this);
var bg
This is the page:
http://ideamill.synaptrixgroup.com/?page_id=18
So, you're doing your development off of a web server? Perhaps you
could install either an XAMPP or LAMP environment on your machine?
- jake
On Feb 8, 2008 4:06 AM, Androrion [EMAIL PROTECTED] wrote:
Could you explain me why
elements after they've been replaced using Ajax. Has anyone
else run across this situation?
- jake
If you're using frames (which shouldn't be needed for what you're
describing) try using the frameReady plugin,
http://ideamill.synaptrixgroup.com/?p=6. Pay attention to the load
option for including the accordian plugin in your target frame.
- jake
On Jan 25, 2008 8:55 AM, Androrion [EMAIL
Currently using the nightlies with no problem.
- jake
On Feb 6, 2008 10:14 AM, Rey Bango [EMAIL PROTECTED] wrote:
Hi,
A release candidate for UI should be VERY available soon that should
resolve any issues.
Rey
[EMAIL PROTECTED] wrote:
So I downloaded jQuery 1.2.2 and UI from
Perhaps you could set up a queue using window.setInterval() and limit
your appends to 40 or so rows every couple of seconds? Also, do you
have an example page where your script can be viewed?
- jake
On Feb 4, 2008 1:57 PM, Ashish [EMAIL PROTECTED] wrote:
Hi ,
I am very new to jquery. I am
$(p).not($(p).contains(1));
See:
visualjquery.com DOM Traversing not(elems)
On Jan 11, 2008 10:35 AM, Sean O [EMAIL PROTECTED] wrote:
Hi,
I'm trying to select elements that do not contain certain text.
In effect, the opposite of .contains().
e.g.
p1:/p p1:/p p2:/p p3:/p p4:/p
How
Could you throw up an example page with the HTML document.
- jake
On Jan 4, 2008 1:58 AM, DeaR [EMAIL PROTECTED] wrote:
script type=text/javascript
function disappear() {
$(#response).fadeOut(slow)
}
$(document).ready(function() {
$(#message_me).click(function
Can't stand that clock in the right hand corner... why on earth is it there?
- jake
On Jan 2, 2008 9:43 AM, Andy Matthews [EMAIL PROTECTED] wrote:
Very nice...well done
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nathandh
Sent
into an array within $_POST:
{
pagetitle[1] : test,
pagetitle[2] : some title,
pagetitle[3] : some other title
}
- jake
On Dec 21, 2007 3:00 AM, jjshell [EMAIL PROTECTED] wrote:
First of all, thanks for your time and answers. I really appreciate
it. Having made a few tests, the $.ajax approach
As you can tell, the possibilities are endless with jQuery... best skimming
through the documents so you can get an idea of the tools out there.
- jake
On Dec 21, 2007 11:28 AM, Jake McGraw [EMAIL PROTECTED] wrote:
JJShell:
You can address both issues by using all inputs within a form
var
Very cool, I often write detailed responses for how to questions on this
list. From now on, I'll post to your website and send them a link.
- jake
On Dec 21, 2007 2:50 AM, Shawn [EMAIL PROTECTED] wrote:
In a recent thread
(
http://groups.google.com/group/jquery-en/browse_thread/thread
do the trick.
- jake
On Dec 21, 2007 3:11 PM, Eric Teubert [EMAIL PROTECTED] wrote:
Hi,
I spend some time in browsing through the documentation but I didn't
find anything about creating own functions with callback-
functionality. How do I do this?
What I want to do:
Write a function
on this, check out:
http://docs.jquery.com/Events/ready
- jake
On Dec 21, 2007 3:23 PM, Dave [EMAIL PROTECTED] wrote:
I am trying to call a function from this link ( div
id=twitter_displaydiv class=content
Alright! New office chair!bra class=twitter id=1[next]/a/
div/div ) I want
thrown in, so definitely check out the
resources before embarking on your AJAX trip and learn all the things jQuery
can do.
- jake
On Dec 20, 2007 1:49 PM, jjshell [EMAIL PROTECTED] wrote:
Hello,
I'm new to jQuery (and AJAX for that matter). Even if the library is
really easy to use, I'm
Ah do you have a copy of the form, so I can see exactly what you're doing?
- jake
On Dec 18, 2007 7:29 PM, Jesse R. [EMAIL PROTECTED] wrote:
The request is still failing. Any other ideas?
On Dec 18, 11:37 am, Jake McGraw [EMAIL PROTECTED] wrote:
The problem is that the form is actually
perhaps you could apply a class to any inserted anchors, something like:
JavaScript:
$(li.tab).append('a href=/index.htm class=resetA Link/a');
CSS:
a.reset {
background:#FFF !important;
// So on and so forth
}
- jake
On Dec 19, 2007 2:40 PM, Reuben [EMAIL PROTECTED] wrote:
Hi Bernd
The problem is that the form is actually submitting before you can get a
response, this is the nature of an asynchronous request (the first A in
AJAX). Perhaps you could bind the the submit to one of the callbacks:
jQuery(#googleCheckout).submit(function() {
var $form = jQuery(this);
if
Well, yes and no... you must echo the output of the function calls in order
for the AJAX call to get the information... you can do something like this
though, to hold off echoing until the end of the file. I've also included
the exit command, because you generally don't want any other information
(myscript.php,{'func':'3'},function(data){
// data now contains Hello from 3
});
I'd suggest setting up a switch statement as opposed to a call_user_func(),
for security purposes.
- jake
On Dec 17, 2007 10:52 AM, uraz [EMAIL PROTECTED] wrote:
Ok but if You have for exaple 3 php functions
This would call the PHP script that originally produced the page (stored in
window.location.toString()) using AJAX:
$.get(window.location.toString(),{/* Put $_GET variables here
*/},function(data){
/* Do something with data here */
});
- jake
On Dec 13, 2007 2:35 PM, uraz [EMAIL PROTECTED
are welcome!
- jake
Thanks for the feedback guys, Josh, Mike: thanks for getting it, we figure
that's half the battle in getting people to use our site. It's incredibly
refreshing to get some positive feedback. I 3 the jQuery community.
- jake
On Dec 13, 2007 6:18 PM, Mike Alsup [EMAIL PROTECTED] wrote:
Great
1 - 100 of 189 matches
Mail list logo