[jQuery] Re: Two search kriteria

2010-01-24 Thread Frank Becker
Am 24.01.2010 21:45, schrieb John Arrowwood: console.log( $('#zip').val() ); Firebug shows: (An empty string) By the way, it was 'val' and not 'value', I was working from memory, and my memory was obviously a tad faulty. I usually don't use it, so... You don't use your memory? :-) > Any

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-24 Thread Bugman1400
Nathan Klatt-2 wrote: > > On Sun, Jan 24, 2010 at 12:42 PM, Bugman1400 > wrote: >> a href="javascript:void(0);" onclick='$.get("dotest.php",{ cmd: >> "approve", >> id: "57" } ,function(data){ alert('What the Heck'); });'> Approve /a >> ... >> How come I get no response? Is there a further way

Re: [jQuery] Using variable in animate()'s properties

2010-01-24 Thread brian
You're repeating a bunch of code here. It'd be better to assign a variable for the img at the beginning of the function. function() { var img = $(this).find('img'); var value = (direction =='top' || direction=='bottom') ? img.outerHeight() * -1

[jQuery] Using variable in animate()'s properties

2010-01-24 Thread kevin
Hi, I'm writing this script and apparently the animate method wouldnt interpret the variable I pass in the properties section: //it's hover event, and this is the mouseover function () { direction = $(this).find('img').attr('class'); //should be either top, bottom, left or right

[jQuery] XML object to JSON

2010-01-24 Thread Shane
Hello, I am trying to convert an XML object that I have to JSON so I can store it in the browsers cache for later retrieval -- using DOMCached. When I encode the object to JSON using the google json plugin I get an output like this: {"length":187,"0":{"jQuery1264367243616":2315},"1": {"jQuery126

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-24 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 12:42 PM, Bugman1400 wrote: > a href="javascript:void(0);" onclick='$.get("dotest.php",{ cmd: "approve", > id: "57" } ,function(data){ alert('What the Heck'); });'> Approve /a > ... > How come I get no response? Is there a further way to debug? I've heard that > Ajax errors

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
Works great for me: http://jsbin.com/ahowi/edit Make sure you set up the click handler before you execute the click. :) Nathan

[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
just go on http://www.ericmmartin.com/projects/simplemodal-demos/ and download the very simple example : OSX Style Dialog and try it your self ! On 24 jan, 23:41, Nathan Klatt wrote: > On Sun, Jan 24, 2010 at 4:05 PM, infojava wrote: > > when we click on the a.osx it calls this function ! > > b

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 4:05 PM, infojava wrote: > when we click on the a.osx it calls this function ! > but $("a.osx").click; doesn't work Sorry, dude - I'm at a loss. I assume the lack of parens after click (should be '$("a.osx").click();' not '$("a.osx").click;') is a typo? Could you point to

[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
jQuery(function ($) { $("input.osx, a.osx").click(function (e) { e.preventDefault(); $("#osx-modal-content").modal({ overlayId: 'osx-overlay', containerId: 'osx-container', closeHTML: 'x

[jQuery] jQuery now integrated into Visual WebGui web/cloud platform

2010-01-24 Thread NCSM
Gizmox, the developer of Visual WebGui web/cloud applications platform announced the release of its Visual WebGui 6.4 beta 1 version, with expanded capabilities that include the integration of the jQuery library for faster behavior customization and user interface extension. This enables developer

[jQuery] VALIDATE - How to access message in highlight function?

2010-01-24 Thread Temp
I am using the highlight/unhighlight options of the validator to add a class to my invalid element, and I want to qtip the message. Can someone please tell me how to access the error message of the element?

[jQuery] (validate) block event Return

2010-01-24 Thread Vagner
Hi, I'm trying to use the plugin Validator (from http://bassistance.de/jquery-plugins/jquery-plugin-validation/) WITH JSONSuggestBox (see: http://tomcoote.co.uk/jQueryJSONSuggestBox.aspx). But when I press Return on a searched item (JSONSuggestBox), the validate plugin starts, instead of let the c

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
On 24 jan, 16:39, Nathan Klatt wrote: > $().ready(function() { $("#osx").click(); }); On Sun, Jan 24, 2010 at 2:29 PM, infojava wrote: > Thanks but it does not work !!! Okay, well what's the #osx element look like? What's its click handler? Is the php file being accessed directly or via AJAX?

Re: [jQuery] Re: Two search kriteria

2010-01-24 Thread John Arrowwood
Do you have firebug installed? Or Safari? Or something which gives you a console? If so, before the autocomplete line, insert: console.log( $('#zip').val() ); By the way, it was 'val' and not 'value', I was working from memory, and my memory was obviously a tad faulty. I usually don't use it,

[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
Thanks but it does not work !!! On 24 jan, 16:39, Nathan Klatt wrote: > On Sun, Jan 24, 2010 at 8:22 AM, infojava wrote: > > i use a link (wich shows the demo) wich i should active if an error > > occures, but it doesn't work !!! > > Wrap it in a $().ready function? > > $().ready(function() {

[jQuery] Re: Two search kriteria

2010-01-24 Thread Frank Becker
Give your Zip field an ID, then use $('#zip').value() instead of form.ZIP.value. Or maybe it's .value without parenthesis, I don't remember, and I'm not in the mood to go look it up for you. :) But bottom line, don't use 'form.ZIP'. That's the part that isn't working. Hi John, The input-fie

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-24 Thread Bugman1400
To further understand the $.get() and its return data, I've simplified the code to this: a href="javascript:void(0);" onclick='$.get("dotest.php",{ cmd: "approve", id: "57" } ,function(data){ alert('What the Heck'); });'> Approve /a And dotest.php is as follows: How come I get no response? I

Re: [jQuery] JQuery Ajax serialize

2010-01-24 Thread brian
Use parse_str(). But beware that that string has a problem: val */ $pairs = explode('&', $str); foreach($pairs as $pair) { $parts = explode('=', $pair); echo "key: ${parts[0]} -- val: ${parts[1]}\n"; } echo "\n---\n"; /* better way: parse the string into variables */ pars

Re: [jQuery] Are API docs in sync with latest jquery library

2010-01-24 Thread Nathan Klatt
On Sat, Jan 23, 2010 at 1:50 PM, Talisman wrote: > I'm trying to use jQuery.ajax() and passing in a "success" callback. > The data is loaded and the callback is invoked, but I'm not being > passed in the XmlHttpRequest object as expected. I've been looking at > the documentation here: http://api.

Re: [jQuery] iframe on another iframe

2010-01-24 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 7:05 AM, DOTS D.O.Technology Services wrote: > how i can put iframe on top of other iframe in html, http://www.w3.org/TR/CSS21/visuren.html#absolute-positioning

Re: [jQuery] loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 8:22 AM, infojava wrote: > i use a link (wich shows the demo) wich i should active if an error > occures, but it doesn't work !!! Wrap it in a $().ready function? $().ready(function() { $("#osx").click(); });

[jQuery] loading osx (eric martin) to show errors

2010-01-24 Thread infojava
Hi, i use osx (of (eric martin)) to show error messages, i use a link (wich shows the demo) wich i should active if an error occures, but it doesn't work !!! var l = document.getElementById("osx"); l.click();

[jQuery] Re: iframe on another iframe

2010-01-24 Thread DOTS
Any one ? On Jan 24, 6:05 pm, "DOTS D.O.Technology Services" wrote: > how i can put iframe on top of other iframe in html, > > i am trying to do is as follows > there is a iframe of size 100px by 100px having src as web1.html > and when i click a button outside the iframe new iframe should come u

[jQuery] iframe on another iframe

2010-01-24 Thread DOTS D.O.Technology Services
how i can put iframe on top of other iframe in html, i am trying to do is as follows there is a iframe of size 100px by 100px having src as web1.html and when i click a button outside the iframe new iframe should come up on top of the frist one of size 200px by 200px havinf src as web2.html

Re: [jQuery] Abridged summary of jquery...@googlegroups.com - 19 Messages in 12 Topics

2010-01-24 Thread Mike Heath
Please unsubscribe me from this distribution. Mike Heath - Original Message - From: jquery-en+nore...@googlegroups.com To: Abridged Recipients Sent: Sunday, January 24, 2010 12:03 PM Subject: [jQuery] Abridged summary of jquery-en@googlegroups.com - 19 Messages in 12 Topics

Re: [jQuery] Abridged summary of jquery...@googlegroups.com - 19 Messages in 12 Topics

2010-01-24 Thread traoux
Bonjour, je suis absent du 21 janvier au 8 février. En cas d'urgence veuillez téléphoner à l'agence au 04.92.45.18.05. Merci et à bientôt ! Thierry Raoux