[jQuery] Re: [autocomplete] Dynamic textboxs

2009-08-06 Thread Jake McGraw
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, escriba wrote: > > I can't put autocomplete working with dynamic textboxs. I have a > javascript function to add dynamic textboxs, but when i attach the > autocomplete function to

[jQuery] Re: Please Help - While Loop PHP & JSON - Comment List

2009-04-29 Thread Jake McGraw
ist - jake On Tue, Apr 28, 2009 at 10:55 PM, fluxUX 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: > > > > > > go > > > > >

[jQuery] Re: Please Help - While Loop PHP & JSON - Comment List

2009-04-28 Thread Jake McGraw
You've got quite a few errors in both your JavaScript and PHP, which probably explains the lack of answers. Utilizing AJAX using jQuery and PHP can be a bit confusing at first, I've tried to make some sense of what you're doing here: http://snipt.net/jakemcgraw/jquery-listserv-answer-ajax-comment

[jQuery] Re: finding

2008-12-02 Thread Jake McGraw
On Tue, Dec 2, 2008 at 2:23 PM, Jeffrey Kretz <[EMAIL PROTECTED]> wrote: > > > Before I answer, I've gotta ask (I've been wondering for MONTHS), have you > read the Starrigger series? > Previously, Googling "jake mcgraw" would bring up hits for the S

[jQuery] Re: finding

2008-12-02 Thread Jake McGraw
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 bu

[jQuery] Re: finding

2008-12-02 Thread Jake McGraw
I'm using jQuery AJAX to recursively spider a website to build a sitemap.xml file. I'll acknowledge that this is an ass backwards method for building a sitemap, but let's put aside that issue. My issue is that I'd like to be able to parse anchors in each page, but not execute the JavaScript on the

[jQuery] LiveQuery won't allow explicit onchange firing?

2008-10-08 Thread Jake McGraw
Using livequery for a project when I ran across an issue using the following code: $("input").livequery( "change", function(){ if ($(this).is(":checked")) { alert("checked!"); } else { alert("not checked!"); } }).change(); My problem is the chained "change" function call. It look

[jQuery] Re: help with ajax post

2008-09-05 Thread Jake McGraw
$.ajax({ type: "POST" , url: "GetNewHash.aspx" , data: { orderid : $("#orderid").val() , amount : $("#amount").val() , dtnow : $("#time").val() , Gateway_MerchantConfigID : $("#Gateway_MerchantConfigID").val() } , async: false , success : function

[jQuery] Re: Anyone know where to ask jQuery questions?

2008-09-05 Thread Jake McGraw
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 simpl

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Jake McGraw
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 extensio

[jQuery] Re: Select

2008-07-21 Thread Jake McGraw
On Mon, Jul 21, 2008 at 3:15 PM, shapper <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to style my form inputs, textareas and selects as follows: Try using yui-css-reset and yui-css-base. These CSS files will strip all most of the default styling set by the browser. Check it out here: h

[jQuery] Re: Button Updating Help

2008-07-10 Thread Jake McGraw
You have two options: liveQuery http://brandonaaron.net/docs/livequery/ to automatically bind functions or Manually do it using something like: var myFunction = function(e) { $('#objects').append('').find(".add_letter_code_object").click(myFunction); }; $(function(){ $(".add_letter_code_

[jQuery] Re: DOM changes persist after page reload in FF?

2008-06-25 Thread Jake McGraw
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, Safa

[jQuery] Re: How do I add click event to Ajax result?

2008-06-25 Thread Jake McGraw
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

[jQuery] Re: How do I add click event to Ajax result?

2008-06-25 Thread Jake McGraw
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(functio

[jQuery] Re: Sortable Checkbox

2008-06-03 Thread Jake McGraw
On Mon, Jun 2, 2008 at 2:45 PM, Kandy I <[EMAIL PROTECTED]> wrote: > > Are there any plugins like on Apple's Pro site, with the sortable > checkbox? > > http://www.apple.com/pro/profiles/ If you would like the specific functionality provided by Apple's site, it would be trivial to implement yours

[jQuery] Re: thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure

2008-06-03 Thread Jake McGraw
My company is using it on our dev server, we'll most likely move it out to production sometime this winter. So far, it has turned out to be a great resource, especially for keeping all of our different apps on the same page and staying up to date on the latest library releases (in our case jQuery)

[jQuery] Re: Modal overlay for specific page section

2008-05-19 Thread Jake McGraw
sure jake, there is the excellent blockUI plugin > > http://www.malsup.com/jquery/block/ > > On Mon, May 19, 2008 at 10:45 PM, Jake McGraw <[EMAIL PROTECTED]> wrote: >> >> Hello all, >> >> I'd like to know if a jQuery plugin exists that allows for creat

[jQuery] Modal overlay for specific page section

2008-05-19 Thread Jake McGraw
Hello all, I'd like to know if a jQuery plugin exists that allows for creating a modal overlay for a specific element of a page (say a DIV). The overlay would completely cover the section and prevent click-throughs or any other interaction with the elements within the section. Note: I've seen the

[jQuery] Re: OT: Firefox 3 RC1 for Mac

2008-05-19 Thread Jake McGraw
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

[jQuery] Re: $ is not defined

2008-05-06 Thread Jake McGraw
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 t

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-02 Thread Jake McGraw
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/200

[jQuery] Re: [ANNOUNCE] New Twitter Account for jQuery & jQuery UI Projects

2008-04-30 Thread Jake McGraw
*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 descri

[jQuery] Re: [ANNOUNCE] New Twitter Account for jQuery & jQuery UI Projects

2008-04-30 Thread Jake McGraw
@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 proj

[jQuery] Re: accessing the content of iframe

2008-04-29 Thread Jake McGraw
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 (# ifrmCont

[jQuery] Re: Ext went GPL

2008-04-24 Thread Jake McGraw
> > Does it mean, that if I have PHP application, that uses javascript > > under GPL3, I must release also PHP source? > > > > AFAIK if you bundle something GPL everything will become GPL. This includes > your PHP source. Just an FYI, this is only for non-commercial versions of ExtJS. I suppose

[jQuery] Re: event question

2008-04-22 Thread Jake McGraw
The default behavior: $(".classname").click(function(){ alert("Hello, world!"); }); $("body").append('Click Me!'); Clicking "Click Me!" would do nothing. Using the liveQuery plugin (http://brandonaaron.net/docs/livequery/): $(".classname").livequery("click", function(event) { alert("Hello

[jQuery] Re: getScript is great to add scripts dynamically, but how might you remove scripts?

2008-04-22 Thread Jake McGraw
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?

[jQuery] Re: Expression for finding a displayed DIV?

2008-04-14 Thread Jake McGraw
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 s

[jQuery] Re: Hover Problems

2008-04-13 Thread Jake McGraw
You have to scope the hover to the current image, otherwise all div with class "item_info" will show up (because, by default $("selector") operates on the entire document, like $("selector", document)), here is how you do this: Assuming an HTML structure like this: 264 VIEWS

[jQuery] Re: Using Jquery instance in an Iframe

2008-04-10 Thread Jake McGraw
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 PM

[jQuery] Re: Refresh Baltimore Tonight

2008-04-09 Thread Jake McGraw
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

[jQuery] Re: $(window).bind("load",function(){ vs onready

2008-04-08 Thread Jake McGraw
27;m just providing an alternate opinion so 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,

[jQuery] Re: Help

2008-04-08 Thread Jake McGraw
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 >

[jQuery] Re: $(window).bind("load",function(){ vs onready

2008-04-08 Thread Jake McGraw
Regardless of whether it validates, it's considered best practices to keep all

[jQuery] Re: $(window).bind("load",function(){ vs onready

2008-04-08 Thread Jake McGraw
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,

[jQuery] Re: setinterval vs. settimeout

2008-04-07 Thread Jake McGraw
The following will pop up an alert dialog EVERY 20 (2 milliseconds) seconds: window.setInterval(function(){alert('Hello!');},2); The following will pop up an alert dialog ONCE, AFTER 20 (2 ms) seconds: window.setTimeout(function(){alert('Hello!');},2); To keep your site "update

[jQuery] Re: How do I write this jquery expression?

2008-04-03 Thread Jake McGraw
$("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" o

[jQuery] Looking New jQuery Logo

2008-03-28 Thread Jake McGraw
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

[jQuery] Re: [POLL] Online jQuery Training from John Resig

2008-03-06 Thread Jake McGraw
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

[jQuery] jQuery Tutorial at IBM

2008-03-04 Thread Jake McGraw
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

[jQuery] Re: Ajax Post URL

2008-02-25 Thread Jake McGraw
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", > > > How

[jQuery] Media Plugin Issue

2008-02-22 Thread Jake McGraw
I'm trying to use the Media Plugin as it appears to be a gift from god in the way it handles multiple media types with the same code. Unfortunately, I've got two problems: 1) I can't get it to acknowledge my custom flash video player. When I do something like: $(".mediabox").mediabox({ "flvPla

[jQuery] Re: ajax file uploads: getting strange error

2008-02-18 Thread Jake McGraw
our uplaod action. Maybe your uplaod action returning > invalid result. I got the similiar error when i first try. The problem was > upload action in my project. Just check that. > > 2008/2/13, Jake McGraw <[EMAIL PROTECTED]>: > > > > > > Just started get

[jQuery] Re: Jquery and function(json)

2008-02-15 Thread Jake McGraw
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, Fr

[jQuery] Re: what editor do you use?

2008-02-13 Thread Jake McGraw
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 1

[jQuery] Re: ajax file uploads: getting strange error

2008-02-13 Thread Jake McGraw
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

[jQuery] Re: getting the (computed) background-color

2008-02-11 Thread Jake McGraw
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

[jQuery] Re: Problems with "frames"

2008-02-09 Thread Jake McGraw
to use frames, it's just I can't figure > out how else I can do. > About the url you gave me, the page doesn't seem to exist anymore :( Do you > know where i could find this plugin? > > Thanks a lot for your help! > > > > Jake McGraw wrote: > > > &

[jQuery] Re: Problems with "frames"

2008-02-07 Thread Jake McGraw
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 PROT

[jQuery] frameReady plugin and reloading iframes

2008-02-07 Thread Jake McGraw
So, I've been using the brilliant frameReady plugin, and when I ran across an issue: I'd like to be able to reload an iframe (sometime after initial loading) and have frameReady perform the exact same actions as it did to begin with. I think this is a similar issue as re-binding of events to DOM

[jQuery] Re: A working copy of jQuery UI?

2008-02-06 Thread Jake McGraw
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 U

[jQuery] Re: JQuery takes 80% of my core2Duo proc on DOM element inserts

2008-02-04 Thread Jake McGraw
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.

[jQuery] Re: Opposite of .contains() ?

2008-01-11 Thread Jake McGraw
$("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. > 1: 1: 2: 3: 4

[jQuery] Re: How come when I put everything in like this, it will not be working?

2008-01-04 Thread Jake McGraw
Could you throw up an example page with the HTML document. - jake On Jan 4, 2008 1:58 AM, DeaR <[EMAIL PROTECTED]> wrote: > > > function disappear() { >$("#response").fadeOut("slow") > } > $(document).ready(function() { >$("#message_me").click(function() { >$("#f

[jQuery] Re: BBC Redesign

2008-01-02 Thread Jake McGraw
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 > Sen

[jQuery] Re: creating own callback

2007-12-21 Thread Jake McGraw
I'm sure there's a more sophisticated way of doing this, but functions can be passed around like any other variable type in JavaScript, so: jQuery.extend({ preloadImage: function(imagePath,callback) { jQuery("").attr("src", "gfx/"+imagePath); callback(); } }); Shou

[jQuery] Re: Call Function From AJAX Loaded Page

2007-12-21 Thread Jake McGraw
Hmm, first thing that caught my eye: http://www.w3.org/TR/html4/types.html#type-name Secondly, make sure that your document has been loaded BEFORE binding events, you can't simply do: $("a.twitter").click(function(){...}); Hello! Because when $("a.twitter") runs, the entir

[jQuery] Re: Announcing jQuery HowTo's

2007-12-21 Thread Jake McGraw
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/

[jQuery] Re: using AJAX with jQuery

2007-12-21 Thread Jake McGraw
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 input

[jQuery] Re: using AJAX with jQuery

2007-12-21 Thread Jake McGraw
JJShell: You can address both issues by using all inputs within a form var values = {}; $("form").find("input:text").each(function(){ values[$(this).attr("name")] = $(this).val(); }); Now values will have the following structure for your second example, which PHP should automatically turn int

[jQuery] Re: Updating input values before the submit.

2007-12-20 Thread Jake McGraw
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]>

[jQuery] Re: using AJAX with jQuery

2007-12-20 Thread Jake McGraw
Replace // ? with: $(function(){ // 1 $("form").submit(function(){ // 2 var value = $(this).find("input[name=test]").val(); // 3 $.post("/test/ajax/record/",{"test":value},function(){ // 4 alert("Message sent successfully!"); // 5 }); return false; // 6 }); }); Notes for

[jQuery] Re: Create unique class for links inside the tabs?

2007-12-19 Thread Jake McGraw
perhaps you could apply a class to any inserted anchors, something like: JavaScript: $("li.tab").append('A Link'); 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: > > Thanks for your great wo

[jQuery] Re: jQuery + call PHP function

2007-12-18 Thread Jake McGraw
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 o

[jQuery] Re: Updating input values before the submit.

2007-12-18 Thread Jake McGraw
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

[jQuery] Re: jQuery + call PHP function

2007-12-17 Thread Jake McGraw
Well, depending on how to implement it, you'd have to pass some kind of argument: PHP File, "myscript.php": JavaScript: $.get("myscript.php",{'func':'2'},function(data){ // data now contains "Hello from 2" }); $.get("myscript.php",{'func':'1'},function(data){ // data now contains "Hello fr

[jQuery] Re: [SITE SUBMISSION] BigCarrot.com

2007-12-13 Thread Jake McGraw
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: > > Gr

[jQuery] [SITE SUBMISSION] BigCarrot.com

2007-12-13 Thread Jake McGraw
Hey Everyone: I'd like to submit the site I've been working on for 5 months or so: www.bigcarrot.com Think crowd-sourced inducement prizes (give yourself a high five if any of that makes sense to you). We're using jQuery (little Ajax, site wide fixes for IE forms) and jqModal throughout the sit

[jQuery] Re: jQuery + call PHP function

2007-12-13 Thread Jake McGraw
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]>

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Jake McGraw
What are you trying to accomplish with load()? From the documentation: http://docs.jquery.com/Events/load I don't see any reference to the usage you're attempting. - jake On Dec 6, 2007 8:34 PM, Micky Hulse <[EMAIL PROTECTED]> wrote: > > Hi all, I hope my question is not too silly... I just wa

[jQuery] Re: Can figure out the diference between input button and button

2007-12-06 Thread Jake McGraw
Perhaps try instead of . Haven't tested, but it looks like maybe your form is trying to submit before the AJAX gets a chance to resolve. - jake On Dec 6, 2007 1:53 PM, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote: > > Hi list > > Long time lurker, first time poster, so here it goes: > > I have a

[jQuery] Re: Geocoding with Google Maps while a page is loading

2007-12-01 Thread Jake McGraw
Are you getting any specific JavaScript errors (using Firebug)? Also could you provide a link to the page you're trying to work on? I have some experience using jQuery an Google Maps. - jake On Dec 1, 2007 4:26 PM, Mazso <[EMAIL PROTECTED]> wrote: > > For several hours I tried to get the Google

[jQuery] Re: list items and show comments? NEWBIE

2007-12-01 Thread Jake McGraw
No, jQuery automatically assigns events to the entire selector set: $(function(){ $("#Comments a").click(function(){ /* All anchors will perform this function when clicked */ $(this).next(" div.Comment:eq(0)").fadeIn("slow"); /* Note the use of the "this" keyword */ }); }); Assumi

[jQuery] Re: Replacing contents using an array

2007-12-01 Thread Jake McGraw
Here's a solution I think you'll find helpful: JavaScript: Trans = { "t1":"New Text 1", "t2":"New Text 2", "t3":"New Text 3" }; $(function(){ $("#newText, #oldText").click(function(){ if ($(this).is(".active")) {return;} $("a").each(function(){ if (Trans

[jQuery] [SITE SUBMISSION] songza.com

2007-11-19 Thread Jake McGraw
This is one of the first sites I saw and the following events took place: 1. "They've got to have some slick-ass library running underneath"... 2. Click "firebug"... 3. and what do you know jQuery. Enjoy it while it's still legal. - jake

[jQuery] Re: tinyMCE jquery equivalent

2007-11-19 Thread Jake McGraw
FYI tinyMCE w/ plugin based GZip, I was able to get the entire library down to 46KB for the limited subset of functions I was using. - jake On Nov 19, 2007 11:23 AM, Gordon <[EMAIL PROTECTED]> wrote: > > There is WYMeditor, but last time I saw it in action it wasn't nearly > as powerful as TinyM

[jQuery] Re: tinyMCE jquery equivalent

2007-11-19 Thread Jake McGraw
WYMeditor - jake On Nov 19, 2007 9:46 AM, FrankTudor <[EMAIL PROTECTED]> wrote: > > Hi all I am looking for a tinyMCE jquery equivalent (if one exists)... > > Thanks, > Frank >

[jQuery] Re: [OT] WYSIWYG for Safari

2007-11-15 Thread Jake McGraw
though. - jake On Nov 14, 2007 7:57 PM, <[EMAIL PROTECTED]> wrote: > > The YUI framework has a Rich Text Editor (RTE) that supports Safari, > I'm not sure which version tho. > > On 11/13/07, Jake McGraw <[EMAIL PROTECTED]> wrote: > > > > Hey all, sorry fo

[jQuery] [OT] WYSIWYG for Safari

2007-11-13 Thread Jake McGraw
Hey all, sorry for the off topic post, but I must be going insane. I read that TinyMCE and FCKeditor now support Safari, but when I download the demos for both neither works when trying to use Safari 2.0.4. I'm looking for a VERY limited selection of functionality, specifically, Bold, Italic, Ord

[jQuery] Re: ANNOUNCE: tinyEdit v.1.0 plugin for jQuery released

2007-11-13 Thread Jake McGraw
Any way to include detection for invalid inserts? I was able to do the following: Hello, world to Hello, world Perhaps a recursive tag count on insert? - jake On Nov 13, 2007 11:41 AM, Andy Matthews <[EMAIL PROTECTED]> wrote: > > That plugin looks like exactly what I need for a project. >

[jQuery] Re: [OT] RegEx (preg_replace) search in PHP

2007-11-09 Thread Jake McGraw
$string = 'TEXT [ GARBAGE ] TEXT [ GARBAGE ] TEXT'; $string = preg_replace('/\[[^\]]+\]/','',$string); echo $string; Should do the trick. On Nov 9, 2007 11:50 AM, Olaf Bosch <[EMAIL PROTECTED]> wrote: > > Hi all, > sorry for this OT, can you help me with this? > > I have this string "Text [ Tra

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread Jake McGraw
I don't see what the disconnect for most users is, but I always assumed that after destroying an element, no matter how it was reconstructed, I would have to re-bind events using helper functions. LiveQuery is a useful shortcut for bypassing a logical (IMHO) series of events, and as such, should r

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-06 Thread Jake McGraw
Why not try paging on scroll, similar to Google Reader? I think there was a plugin for just that a while ago. - jake On Nov 6, 2007 5:01 PM, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > > I had to do just that (add mouse events directly to the html elements) in a > similar situation. Binding v

[jQuery] Re: SITE SUBMISSION: pvponline.com

2007-11-05 Thread Jake McGraw
> > That's pretty funny. Whomever designed this site isn't really thinking that > smart. They're using jQuery AND Prototype. Most likely just using jQuery to > be able to use Thickbox. Why not just use Lightbox then and save yourself > the load of jQuery? > > >

[jQuery] SITE SUBMISSION: pvponline.com

2007-11-03 Thread Jake McGraw
Online comic, using ThickBox: http://www.pvponline.com/book - jake

[jQuery] Re: Sticky Footer

2007-10-31 Thread Jake McGraw
Ah, that isn't a true sticky footer, he's talking about a footer that sticks to the bottom AND does not overlay the page content. - jake On Oct 31, 2007 5:21 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > > What code are you using for your CSS? There shouldn't need to be a > "solution". > > CSS:

[jQuery] Re: Sticky Footer

2007-10-31 Thread Jake McGraw
I also had a tough time getting Ryan's solution to work, but eventually I got it to. My major mis-step was using 'px' instead of 'em' for the negative bottom-margin on the content and height for push and footer. I think you have to use 'em'. - jake On Oct 31, 2007 5:12 PM, cfdvlpr <[EMAIL PROTEC

[jQuery] Re: Prevent comment SPAM with jQuery

2007-10-24 Thread Jake McGraw
Recaptcha is an awesome idea, Google should get in on it. - jake On 10/23/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Alexandre Plennevaux wrote: > > a much more safe way is to use a very obvious "email" input field that you > > hide via CSS. Then you check on the serverside, if that field has

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread Jake McGraw
Could you possibly give each checkbox the same class? $(function(){ $("input.checkMe).click(function(){ if (this.checked) { $("#eventItems").text(/([0-9]+)$/.exec(this.id)[1]); } else { $("#eventItems").empty(); } }); }); On 10/18/07, choffman <[EMAIL PROTECTED]>

[jQuery] Re: [Site Submission]: nbc.com

2007-10-04 Thread Jake McGraw
On 10/4/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > I wonder, Why do I feel like a proud papa every time I see jQuery in the > wild? It's silly -- I haven't contributed a single line of code and yet I > had a big grin on my face looking through the .js files on that site. I can > only imagine h

[jQuery] Re: [Site Submission]: nbc.com

2007-10-04 Thread Jake McGraw
A function err'd on my visit, looks like an uncaught exception, when I went to check it out, I found this comment: // This is a hack for now. The zip->city map for the lookup service // most likely doesn't match the zip->city in the WX XML file. We // we're going to lookup the id in the lookup se

[jQuery] Re: jquery + adobe air: getting started?

2007-10-02 Thread Jake McGraw
A free copy of AIR for JavaScript Developers is available here: http://tinyurl.com/23uqqj [ajaxian.com] As jQuery ajax functions work within Safari (Webkit), there should be no major overhauls necessary for your app. Simply generate a static HTML representation of your application and include it

[jQuery] Re: Enterprise Javascript?

2007-09-28 Thread Jake McGraw
Well, then it sounds like a great platform to develop on. As I said, I only have experience working with Adobe AIR, which I really like. Perhaps now I'll take a look at XUL/Gecko. - jake On 9/28/07, Christof Donat <[EMAIL PROTECTED]> wrote: > > Hi, > > > after giving a cursory look at XUL here a

[jQuery] Re: Enterprise Javascript?

2007-09-28 Thread Jake McGraw
Why no love for AIR? From what I've read, heard and seen, it's going to be a very interesting platform to develop for and bridge the gap for a lot of web developers that would like to code for the desktop. What I'm looking for in developing web applications for the desktop is the easiest, fastest

[jQuery] Re: Enterprise Javascript?

2007-09-26 Thread Jake McGraw
Actually, if you'd like to use js to access a database, may I suggest Adobe AIR? Basically, in allows you to embed JS/HTML into an installable application, which allows you to move away from the browser security model and do all kinds of crazy stuff like cross site scripting, off-line operation an

[jQuery] Re: post data and get data in one request?

2007-09-21 Thread Jake McGraw
Ah, I think you can do something like: and then in "myapp.php": The trick is manually inserting the GET variables as URL parameters in the form action field. - jake On 9/20/07, Codex <[EMAIL PROTECTED]> wrote: > > Hello, > > this is probably something very simple, but I don't get

[jQuery] Re: Strip out HTML tags

2007-09-14 Thread Jake McGraw
Doesn't $().text(); automatically do this? So: var text = $(html).text(); Would solve your problem, I think. - jake On 9/14/07, Stosh <[EMAIL PROTECTED]> wrote: > > > In Prototype there is a method called stripTags(), it's source looks > like: > > stripTags: function() { > return this.repl

[jQuery] Re: What does === equate to?

2007-08-01 Thread Jake McGraw
The "triple equals" is a comparison without type conversion. The following should fix your code so that fn.apply() never runs with fn is null: if (fn&&fn.apply(...)) break; The first part checks if fn is non-null, if it is null or false or 0 or Nan the second part fn.apply will never run and you w

[jQuery] Re: problem with each() function

2007-07-12 Thread Jake McGraw
You have to wrap "this" with the jQuery $() object: $(this).children.eq(0)... - jake On 7/12/07, Salvatore FUSTO <[EMAIL PROTECTED]> wrote: Hi, i've a table in which there are a number of cells, of class myCl: these cells are not in all rows; in each of these cells i have one select and one

  1   2   >