[jQuery] Re: Dynamic Form Validation?

2007-08-23 Thread SeViR
Jörn Zaefferer escribió: howa schrieb: Hello, anyone has idea how to do dynamic form validation? e.g. using http://bassistance.de/jquery-plugins/jquery-plugin-validation/ input name=t1 type=text / input name=t2 type=text / I only want to check for required field for t2 ONLY if t1 is

[jQuery] Re: Dynamic Form Validation?

2007-08-23 Thread SeViR
Mario Moura escribió: Hi SeVir and Folks My form have a ajax button. Ajax button always is type=submit so I tested ValidationAide and Jquery Validation (bassistance.de http://bassistance.de) Both plugins have the following bad behavior. When I click in Ajax Button (value=Attach

[jQuery] Re: Dynamically assigning validation rules with Validation plugin

2007-08-23 Thread SeViR
voltron escribió: Hi all, I have a text input field declared to be used for searching a database. The users can search for a zipcode, city or company name based on what the choose using a radio button. How can I then dynamically assign different validation rules to the input field using Jörns

[jQuery] Re: how to delay a event?

2007-08-23 Thread Ganeshji Marwaha
are u trying to achieve something like autocomplete (like google suggest), if that is the case, then you should look at http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ -GTG On 8/22/07, james_027 [EMAIL PROTECTED] wrote: hi, I have a small jQuery script, that get some data

[jQuery] Re: Updating metadata

2007-08-23 Thread dorkster
I have found a solution to my problem and thought I'd share it in case I'm not the only one in this situation. First thing I did was to switch to an alternative way of storing metadata (using the data attribute) since using the class attribute was more dificult to parse / update when there were

[jQuery] Re: how to delay a event?

2007-08-23 Thread james_027
Hi, On Aug 23, 2:34 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: are u trying to achieve something like autocomplete (like google suggest), if that is the case, then you should look athttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ -GTG No I am doing a auto complete

[jQuery] Re: how to delay a event?

2007-08-23 Thread Ganeshji Marwaha
sorry, am i missing something. -GTG On 8/22/07, james_027 [EMAIL PROTECTED] wrote: Hi, On Aug 23, 2:34 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: are u trying to achieve something like autocomplete (like google suggest), if that is the case, then you should look

[jQuery] end(), this bug unknown

2007-08-23 Thread SeViR
Hi all, recently I have read the slides published by John Resig about his first Google Tech Talk: http://ejohn.org/blog/building-a-javascript-library/ In the slide number 50 there is a little example code: $(div.section) .find(dt) .addClass(section) .onclick()

[jQuery] Re: how to delay a event?

2007-08-23 Thread David Duymelinck
I think he wants to delay the keyup event but i don't think you can't delay that because it's the trigger for the actions. -- David Ganeshji Marwaha schreef: sorry, am i missing something. -GTG On 8/22/07, *james_027* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi,

[jQuery] Re: how to delay a event?

2007-08-23 Thread Erik Beeson
Check out my response to this question when it came up back in March: http://www.mail-archive.com/[EMAIL PROTECTED]/msg18931.html Hope it helps. --Erik On 8/22/07, james_027 [EMAIL PROTECTED] wrote: hi, I have a small jQuery script, that get some data over the server on every keypress

[jQuery] Re: end(), this bug unknown

2007-08-23 Thread John Resig
;-) No problem. I love .end(). Although, it should be noted that this snippet: .onclick() .next().toggle().end() .end() does not work - .onclick() doesn't exist (yet). That's something else that I'm working on so that you won't need to write all those annoying function(){

[jQuery] Re: end(), this big unknown

2007-08-23 Thread SeViR
wops! I wrote bug instead of big :-P sorry for this confussion. -- Best Regards, José Francisco Rives Lirola sevir1ATgmail.com SeViR CW · Computer Design http://www.sevir.org Murcia - Spain

[jQuery] Re: How to have multiple repeating forms with different targets on the same page using ajaxform plugin

2007-08-23 Thread Wizzud
When you just pass a selector string as the target, the Form plugin literally uses that selector (with no additional context) to assign the returned value, eg. 214$(options.target).attr(innerHTML, data).evalScripts().each(oldSuccess, [data, status]); target will take a selector

[jQuery] Re: end(), this bug unknown

2007-08-23 Thread John Resig
Yep, sure thing. I personally like to include the extra .end() (especially when I'm writing long indented statements like that) just so that I can be sure that I have my closing ends. I just think of it as like a closing brace - always good to have, breeds good practices. (Especially for the

[jQuery] Re: jQuery and Mootools Problem

2007-08-23 Thread Sekmet
Hi, i have same problem.. and i already try include mootools before jQuery and then .noConflict() And this problem with mootools is not recognized as a bug by mootools developer :( All the best Carlos On Aug 22, 5:59 pm, John Resig [EMAIL PROTECTED] wrote: Try includingMootools, then jQuery,

[jQuery] Interface scrollTo - needing callback functionality (attn Stefan)

2007-08-23 Thread jsw_nz
According tot he documentation on the Interface website the scrollTo method should support callback functions. I am not sure if it does, upon looking at the source. From Stefan's website: durationinteger or string mandatory callbackfunction optional Callback function that will

[jQuery] Re: Couple of Bugs, css + jquery

2007-08-23 Thread Loren Pipes
I'd say the layout problem is the use of min-height and min-width css attributes, which IE6 does not understand. VP

[jQuery] Re: end(), this bug unknown

2007-08-23 Thread Nicolas Hoizey
In the slide number 50 there is a little example code: $(div.section) .find(dt) .addClass(section) .onclick() .next().toogle().end() .end() .end() .find(dd) .hide() .filter(:first) .show() .end() .end(); In a first

[jQuery] how do iterate through array of JQery objects

2007-08-23 Thread Neal
I'm having problems iterating through an array of JQuery objects. Here's my code: var x = $(#skip a); for (var i=0;ia.length;i++){ var n = x[i]; $(n).click(function(){ $(n.hash).hide(); $(#primary h1).after( $(n.hash)[0] );

[jQuery] Form Plugin - How to repopulate fields with updated data?

2007-08-23 Thread MikeyJ
Hi All, I'm using the Form plugin to submit data to a processing page and upon success, show a notification to the user. My form has 6 fields, one text and 5 textarea. When the form is initially filled out and submitted the user sees a div get updated for confirmation. Now if the user changes

[jQuery] Re: Select box help from ajax

2007-08-23 Thread Muhammad Mohsin
thnx sir for ur help ...can u provide me plugin for that purpose On 8/22/07, Wizzud [EMAIL PROTECTED] wrote: First off, you need to read this http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Rate_me:_Using_Ajax

[jQuery] Re: bind/unbind leak

2007-08-23 Thread abarton
The nightly build, compressed and uncompressed, do not suffer from the leak. Thanks, Austin On Aug 22, 2:58 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Would you mind testing with the latest nightlies to see if this issue is fixed in the up coming 1.1.4

[jQuery] Re: bind/unbind leak

2007-08-23 Thread abarton
Last post didn't go through. The nightly build does not suffer from the problem in both cases, compressed and uncompressed. On Aug 22, 2:58 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Would you mind testing with the latest nightlies to see if this issue is fixed in the up coming 1.1.4

[jQuery] jQuery in the wild

2007-08-23 Thread Dekortage
jQuery does some animation on this site... simple but effective. http://www.dmdirectmail.com (warning: heavy image content -- it is a kind of portfolio site!)

[jQuery] Extra code for re-instantiating interface:imagebox -- after ajax load methods

2007-08-23 Thread jsw_nz
I just wanted to post this information, related to interfaceimagebox usage - it is a really great plugin, btw! I spent a wee bit of time trying to debug FF issues - related to loading imagebox html using jquery's ajax methods. Seems it stalled after first click - that is when clicking second

[jQuery] Re: jQuery and Mootools Problem

2007-08-23 Thread Yehuda Katz
It looks like Mootools is also using the $events expando, but differently... it expects it to be an object that can have a keys attribute. -- Yehuda On 8/22/07, Sekmet [EMAIL PROTECTED] wrote: Hi, i have same problem.. and i already try include mootools before jQuery and then .noConflict()

[jQuery] Re: Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-23 Thread R. Rajesh Jeba Anbiah
On Aug 23, 1:03 am, Karl Swedberg [EMAIL PROTECTED] wrote: I like jTip for all the same reasons, I really like the arrow, and wish Karl's had it It does have it if you set the option for it. See my reply to Kim. snip FWIW, when I tried one of the svn version, the arrows option wasn't

[jQuery] Re: end(), this bug unknown

2007-08-23 Thread SeViR
John Resig escribió: Yep, sure thing. I personally like to include the extra .end() (especially when I'm writing long indented statements like that) just so that I can be sure that I have my closing ends. I just think of it as like a closing brace - always good to have, breeds good practices.

[jQuery] Re: Developing for Opera

2007-08-23 Thread Bernd Matzner
it's actually pretty easy to get everything to work in Opera I found the opposite to be the case. When applying certain Javascripts to a page, Opera suddenly loses styles. I couldn't really narrow it down specifically, but one case would be a script that changes the height of a page element,

[jQuery] Re: [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-23 Thread Klaus Hartl
Rey Bango wrote: jQuery team member and JS superstar Brandon Aaron is all over the place these days and with good reason; his coding skills rock. Brandon's Live Query plugin made it to Ajaxian, Brandon's second mention on the premier Ajax blog! http://ajaxian.com/archives/jquery-live

[jQuery] [NEWS] Minglets - jQuery on the iPhone

2007-08-23 Thread Klaus Hartl
Just read on Ajaxian that Minglets.com, a social chat app for the iPhone uses jQuery and YShout... http://ajaxian.com/archives/iphone-apps-facebook-and-minglets http://minglets.com/ I don't have an iPhone, so I couldn't see for myself. --Klaus

[jQuery] Re: Developing for Opera

2007-08-23 Thread Joel Birch
On 8/23/07, Bernd Matzner [EMAIL PROTECTED] wrote: it's actually pretty easy to get everything to work in Opera I found the opposite to be the case. When applying certain Javascripts to a page, Opera suddenly loses styles. I couldn't really narrow it down specifically, but one case

[jQuery] $('tagname/') syntax in IE

2007-08-23 Thread Arrix
In IE, $('div/') is ok but $('span/') always returns an empty set. It seems that tagname/ syntax is only ok for block elements. So it's safer to always use $('tagname/tagname') syntax for elements that requires a closing tag. -- Arrix

[jQuery] Rails: attaching js to a partial

2007-08-23 Thread [EMAIL PROTECTED]
Hi, Im currently using Jquery withing my rails project and im having the following issue. Once an option is clicked on the navigation bar a partial is loaded in to a container div. The same thing happens for each of these options. When the partial is loaded in though I am unable to attach click

[jQuery] jquery.media, plugin detection , flip4mac

2007-08-23 Thread Dan Rossi
Hi there, I am looking into the jquery.media plugin, however I need to be able to include multiple formats into the one page, and then make them switchable with links, ie we will have videos in both flash and windows media. The problem here is , there doesnt seem to be any detection features

[jQuery] Re: how to delay a event?

2007-08-23 Thread Klaus Hartl
james_027 wrote: hi, I have a small jQuery script, that get some data over the server on every keypress by the user, but I don't to perform such action every time when the user presses a key, specially if between key presses happens in short amount of time. How do I delay this event? Here is

[jQuery] Re: how to delay a event?

2007-08-23 Thread Klaus Hartl
Klaus Hartl wrote: var delayed; $('[EMAIL PROTECTED]').keyup(function() { clearTimeout(delayed); var value = this.value; if (value) { delayed = setTimeout(function() { $.get('/main/search_item/', { search_item: value }, function(data) {

[jQuery] [NEWS] Comparison of different compressed jQuery Versions with GZip

2007-08-23 Thread Tane Piper
Julien Lecomte has just released 1.1 of his YUI Compressor. As a test, he decided to use jQuery with GZip and came up with some interesting results compared to packer! http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/ -- Tane Piper http://digitalspaghetti.me.uk

[jQuery] Animate scrollTop

2007-08-23 Thread James Dempster
I was wondering if the changes that allow animate scrollTop would be making it to the next release? e.g. http://dev.jquery.com/~john/ticket/step/test2.html

[jQuery] Re: Dynamic Form Validation?

2007-08-23 Thread Mario Moura
Hi SeVir and Jörn, Yes I was thinking about this tonight. I need avoid the click event. $(#attach-button).each(function(){ $(this).bind(click, function(){ $(#node-form)[0].submit(); return false; }); }); I tested your function but I can

[jQuery] Re: [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-23 Thread Brandon Aaron
Thank Klaus. Actually the jQuery architecture lends itself nicely to this plugin so that we don't have to worry about the DOM Mutation events. I think trying to wrap those events and make them cross browser would just add unnecessary complication. -- Brandon Aaron On 8/23/07, Klaus Hartl [EMAIL

[jQuery] Re: jQuery and Mootools Problem

2007-08-23 Thread Brandon Aaron
Time to namespace our expandos. -- Brandon Aaron On 8/23/07, Yehuda Katz [EMAIL PROTECTED] wrote: It looks like Mootools is also using the $events expando, but differently... it expects it to be an object that can have a keys attribute. -- Yehuda On 8/22/07, Sekmet [EMAIL PROTECTED]

[jQuery] Re: how do iterate through array of JQery objects

2007-08-23 Thread Richard D. Worth
On 8/22/07, Neal [EMAIL PROTECTED] wrote: I'm having problems iterating through an array of JQuery objects. Here's my code: var x = $(#skip a); for (var i=0;ia.length;i++){ var n = x[i]; $(n).click(function(){ $(n.hash).hide(); $(#primary

[jQuery] Re: Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-23 Thread Karl Swedberg
On Aug 22, 2007, at 11:36 PM, Rey Bango wrote: @Karl: What I would suggest is that if the fx is left out, default to using show() as opposed to fadeIn() and then on line 340, change this line: $cluetip.hide()[defaults.fx.open](defaults.fx.openSpeed); to

[jQuery] Re: Comparison of different compressed jQuery Versions with GZip

2007-08-23 Thread Sam Collett
Perhaps it should be part of the build process? So you can get packed, min'd and YUI'd versions of jQuery. On Aug 23, 12:43 pm, Tane Piper [EMAIL PROTECTED] wrote: Julien Lecomte has just released 1.1 of his YUI Compressor. As a test, he decided to use jQuery with GZip and came up with some

[jQuery] Place value of navigator.cookieEnabled into an object. Why won't this work?!?!?

2007-08-23 Thread Andy Matthews
I'm using Javascript to collect some information about the user's browser and setup to pass into an AJAX call. The goal is to load up a page, have this code run and submit this packet to a page in the background, then redirect the user. I've got this code: $(document).ready(function(){

[jQuery] Re: Need tips on how i can optimize the scripts on this page...

2007-08-23 Thread Rob Desbois
Hi Trinodia, I'm afraid you're unlikely to get any responses from that - there're always people on this list who will help you with debugging, but you have to help us. Posting a link and asking people to play around and find the problems themselves will rarely result in what you want. I did just

[jQuery] Re: Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-23 Thread Rey Bango
Karl, if it poses any issues, you can just ensure that you document show as the option for immediate display and no effects. Rey... Karl Swedberg wrote: On Aug 22, 2007, at 11:36 PM, Rey Bango wrote: @Karl: What I would suggest is that if the fx is left out, default to using show() as

[jQuery] Can someone explain this string behavior?

2007-08-23 Thread Pops
I think I have a theory about why this is happen and it might not be jQuery related but just Javascript, but maybe someone can explain this because it is so odd. This is the code: logln(wcError +IsHidden('wcError')?hidden:not hidden); logln() is a function tha basically appends text to a log

[jQuery] OT: Is this a Javascript bug?

2007-08-23 Thread Pops
I posted this as a subtopic in another message, http://groups.google.com/group/jquery-en/browse_thread/thread/f54857cfb9e24dd9/fa98fe39cc523699#fa98fe39cc523699 but I now see that probably is a separate JS issue that the purist here might appreciate. Not to long ago, I came across JS behavior

[jQuery] Re: [NEWS] Comparison of different compressed jQuery Versions with GZip

2007-08-23 Thread Rey Bango
Simply amazing! 10k gzipped! Tane Piper wrote: Julien Lecomte has just released 1.1 of his YUI Compressor. As a test, he decided to use jQuery with GZip and came up with some interesting results compared to packer!

[jQuery] Re: Can someone explain this string behavior?

2007-08-23 Thread Klaus Hartl
Pops wrote: I think I have a theory about why this is happen and it might not be jQuery related but just Javascript, but maybe someone can explain this because it is so odd. This is the code: logln(wcError +IsHidden('wcError')?hidden:not hidden); logln() is a function tha basically

[jQuery] Re: [NEWS] Comparison of different compressed jQuery Versions with GZip

2007-08-23 Thread Tane Piper
I've just tried it with the latest nightly: jQuery 1.4(a2) Uncompressed: 4 bytes jQuery 1.4(a2) Minified: 37709 bytes jQuery 1.4(a2) Min + GZip: 11989 bytes On 8/23/07, Rey Bango [EMAIL PROTECTED] wrote: Simply amazing! 10k gzipped! Tane Piper wrote: Julien Lecomte has just released

[jQuery] Re: Can someone explain this string behavior?

2007-08-23 Thread Pops
On Aug 23, 9:36 am, Klaus Hartl [EMAIL PROTECTED] wrote: That is a matter of operator precedence. The plus operator has higher precedence than the conditional operator, thus wcError +IsHidden('wcError') gets evaluated first, afterwards the ?: Ahh! That didn't hit me.

[jQuery] Re: Dynamic Form Validation?

2007-08-23 Thread Olaf Bosch
Mario Moura schrieb: Yes I was thinking about this tonight. I need avoid the click event. $(#attach-button).each(function(){ ... each ID are FALSE ;) ID are uniq!!! try so: $(.attach-button).each(function(){ And give a Class -- Viele Grüße, Olaf

[jQuery] Re: Can someone explain this string behavior?

2007-08-23 Thread Klaus Hartl
Pops wrote: On Aug 23, 9:36 am, Klaus Hartl [EMAIL PROTECTED] wrote: That is a matter of operator precedence. The plus operator has higher precedence than the conditional operator, thus wcError +IsHidden('wcError') gets evaluated first, afterwards the ?: Ahh! That didn't hit me.

[jQuery] Re: event-binding

2007-08-23 Thread mohsin
link is down i need that plugin On Jul 14, 6:04 am, Brandon Aaron [EMAIL PROTECTED] wrote: Yay another happy user of behavior! :) -- Brandon Aaron On 7/13/07, kaimeder [EMAIL PROTECTED] wrote: There is a plugin called Behavior that does this. I think

[jQuery] Re: Interface scrollTo - needing callback functionality (attn Stefan)

2007-08-23 Thread jsw_nz
In the meantime - managed to use the setTimeout method - as a workaround function ajax_getPage(param1,param2){ jQuery.noConflict(); jQuery('#top').ScrollTo(900, 'easeinout'); setTimeout( function() { jQuery(#footer_wrapper).fadeOut(700);

[jQuery] Re: Select box help from ajax

2007-08-23 Thread Muhammad Mohsin
i am new to jquery and cann't figure out way to do it On 8/23/07, Muhammad Mohsin [EMAIL PROTECTED] wrote: thnx sir for ur help ...can u provide me plugin for that purpose On 8/22/07, Wizzud [EMAIL PROTECTED] wrote: First off, you need to read this

[jQuery] Re: Interface scrollTo - needing callback functionality (attn Stefan)

2007-08-23 Thread Herr M.
I think that's a bug in the Interface code. I haven't found any calls to the callback function in their code anyway. Anders

[jQuery] use $getScript load .js multiple time

2007-08-23 Thread Michael Lo
Dear Friend: I use $getScript to load some .js and include another html into my div code like $(#news1).bind(click,function(){ $.getScript(/admin_css/includeme0.js); $.get(/myadmin/query.xhtml?r=disw=chkandreplacepage=news,function(data){ $(#showhere).show(slow).html(data);

[jQuery] Re: jCarousel infinite loop problem on Internet Explorer

2007-08-23 Thread thorfinn
Problem solved! It was due to my incorrect skin css initilization, that while still working in ff caused problems in ie. thorfinn On 22 Ago, 15:36, thorfinn [EMAIL PROTECTED] wrote: Hi, i've got a jcarousel implementation wich adds elements on runtime via the add function. While in ff it

[jQuery] Re: Floating box that follows the user down the screen

2007-08-23 Thread Ben Nolan
Heh, Ok, well, the site is set out something like this: +--+ | | | | +--+---+ | |+-+| | ||Help || | ||Box || | |+-+| | | | |

[jQuery] Re: jQuery in the wild

2007-08-23 Thread [EMAIL PROTECTED]
It looks great. There is an html version of this site as well linked at the bottom. I thought the whole idea behind jquery was that it was unobtrusive, and degrades gracefully, so you didn't need multiple versions of sites like this. Then again, if you make single page sites with nice jquery

[jQuery] Re: Select box help from ajax

2007-08-23 Thread Muhammad Mohsin
thnx i found live query and it is replace of behaviour thnx for help man On 8/22/07, Wizzud [EMAIL PROTECTED] wrote: First off, you need to read this http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Rate_me:_Using_Ajax

[jQuery] auto scrool

2007-08-23 Thread rayfidelity
Hi, I have to find a solution for auto scroll. I'm thinking of an iframe and a script which would scroll a page without user interaction. When it would reach the end of the document (page) it would start again from the top (or go backwards up). Has anyone found something similar? Thanks! BR

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Pops
To llustrate the problem, type the following in the firebug console and run it: x = 100 y = 200 x += 1*y console.log(x = +x); x = 100 y = 200 x = x + 1*y console.log(x expanded = +x); You will see the string concatenation and result: x= 100200 x expanded = 100200

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Mike Fern
On 8/23/07, Pops [EMAIL PROTECTED] wrote: This code is basically part of First, Prev, Next, Last, table navigator for our ad hoc report/table generator. It is pre-jQuery work. So here I am using the $() function to get the element. function $(v) { return(document.getElementById(v)); }

[jQuery] Re: event-binding

2007-08-23 Thread Brandon Aaron
The plugin has changed to here: http://jquery.com/plugins/project/livequery/ -- Brandon Aaron On 8/23/07, mohsin [EMAIL PROTECTED] wrote: link is down i need that plugin On Jul 14, 6:04 am, Brandon Aaron [EMAIL PROTECTED] wrote: Yay another happy user of behavior! :) -- Brandon

[jQuery] How do i group events?

2007-08-23 Thread Estevão Lucas
Hi, I have a 'a' element with the onclick event. I wanna use this event with another. Something like this: $( 'a' ).click( function() { // if this element already has a event this.click this.click(); $( this ).css( border, 1px solid red ); }); Estevão Lucas

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Mike Fern
On 8/23/07, Pops [EMAIL PROTECTED] wrote: To llustrate the problem, type the following in the firebug console and run it: Oops.. seems i was too late pressing the Send button :D Cheers, Mike

[jQuery] Re: Form Plugin - How to repopulate fields with updated data?

2007-08-23 Thread Dan G. Switzer, II
Mike, I'm using the Form plugin to submit data to a processing page and upon success, show a notification to the user. My form has 6 fields, one text and 5 textarea. When the form is initially filled out and submitted the user sees a div get updated for confirmation. Now if the user changes any

[jQuery] Use jQuery to get the Flash version?

2007-08-23 Thread Andy Matthews
Is there something built into jQuery (or a plugin hanging around) which can give me the Flash version on the user's browser? Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED]

[jQuery] AjaxStart and AjaxStop only on certain requests

2007-08-23 Thread Giovanni Battista Lenoci
Hi, I'm using this piece of code: $().ajaxStart(showblock).ajaxStop(hideblock); To show and hide an overlay with the loading... message in it when an ajax funcion is running. I'm using also jtip, with an ajax request, and here come the problem. When I point the mouse over the element that

[jQuery] Re: Use jQuery to get the Flash version?

2007-08-23 Thread Dan Rossi
Ive just been discussing with the developer of jquery.media about the need for a standard plugin detection API like jqbrowser. I think thats what you may want, there is plenty of these roll your owns around the place, need a standard one which may help alot of people. Maybe an extention to

[jQuery] Re: auto scrool

2007-08-23 Thread Jonathan Sharp
While this isn't exactly what you're looking for it would give you a base to build upon if you were to write your own. It would have the calculations for scrolling as well as some timing events. http://jdsharp.us/jQuery/plugins/AutoScroll/ Cheers, -Jonathan On 8/23/07, rayfidelity [EMAIL

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Pops
On Aug 23, 10:32 am, Mike Fern [EMAIL PROTECTED] wrote: Hi Pops, This is interesting. Maybe it's because $('start').value is considered as string instead of integer? What was the property type from alert anyway? Hi Mike, I just finished posting an analysis that shows in JS theory, it

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Stephan Beal
On Aug 23, 3:39 pm, Pops [EMAIL PROTECTED] wrote: $(start).value -= 1*$(rows).value;// - WORKS AS EXPECTED $('start').value is a STRING, but no -= operator is available for strings, so it converts the value to a number. $(start).value += 1*$(rows).value; // - BUG!! Aha - .value

[jQuery] Re: Can someone explain this string behavior?

2007-08-23 Thread Pops
No, I can't tell. A quick test on the Firebug console gave expected results: var x = 1 x += 1 * '4' 5 Change x to an alphanumeric: var x = '1';

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Scott Sauyet
Pops wrote: $(start).value -= 1*$(rows).value;// - WORKS AS EXPECTED $(start).value += 1*$(rows).value; // - BUG!! $(start).value -= -1*$(rows).value; // - FIX!! To me, that looks look like a JS type casting bug or inclusive addition bug? I don't think so. I simply think of

[jQuery] Re: jQuery in the wild

2007-08-23 Thread Scott Sauyet
[EMAIL PROTECTED] wrote: http://www.dmdirectmail.com There is an html version of this site as well linked at the bottom. I thought the whole idea behind jquery was that it was unobtrusive, and degrades gracefully, so you didn't need multiple versions of sites like this. I'm not sure that's

[jQuery] Re: Use jQuery to get the Flash version?

2007-08-23 Thread Andy Matthews
I'd LOVE to have a plugin that's simple. Jquery().flashversion Or something simple like that. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Rossi Sent: Thursday, August 23, 2007 9:50 AM To: jquery-en@googlegroups.com Subject:

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Scott Sauyet
Mike Fern wrote: Oops.. seems i was too late pressing the Send button :D Me too, and I don't even have the excuse of close times on the clock. But Your Honor, I swear the analysis wasn't there when I wrote my response. Really! :-) -- Scott

[jQuery] Re: Use jQuery to get the Flash version?

2007-08-23 Thread Dan Rossi
Maybe someone could combine everything if its licensed to do so ? So you wont get into trouble for lifting bits of code its just organising. Andy Matthews wrote: I'd LOVE to have a plugin that's simple. Jquery().flashversion Or something simple like that. -Original Message-

[jQuery] Re: Very confused!

2007-08-23 Thread Scott Sauyet
goodieboy wrote: What am I doing wrong? Here is an example: for(i=0; i10; i++){ $('input').each(function(){ $(this).attr('name', i); }); } John's response shows how to get this, if that index is really what you want. Why this goes wrong, though is a different matter. You have a

[jQuery] JSON MIME type?

2007-08-23 Thread Michael Randolph
I'm using the jQuery Form plugin to call an ASP.NET 2.0 page. The call works just fine, but the response never comes back right. If the Response.ContentType is set to text/plain the page gets forwarded to a plain text JSON result. If the Response.ContentType is set to application/json the

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Pops
On Aug 23, 10:56 am, Stephan Beal [EMAIL PROTECTED] wrote: $(start).value += 1*$(rows).value; // - BUG!! Aha - .value is a STRING, but operator += IS defined for Strings, so it uses it and appends to the value. and numbers too :-) It depends on the language, some languages have

[jQuery] Re: JSON MIME type?

2007-08-23 Thread Stephan Beal
On Aug 23, 5:33 pm, Michael Randolph [EMAIL PROTECTED] wrote: I'm using the jQuery Form plugin to call an ASP.NET 2.0 page. The call works just fine, but the response never comes back right. If the Response.ContentType is set to text/plain the page gets forwarded to a plain text JSON

[jQuery] Re: Very confused!

2007-08-23 Thread goodieboy
Hi John, Actually that was a bad example sorry! What about something like this: $('form div.options').each(){function( i ){ $(this).children('[EMAIL PROTECTED]').each(function(){ $(this).attr('name', 'option_num_' + i); }); }); How do you access i from within the inner loop? I'm

[jQuery] Re: Animate scrollTop

2007-08-23 Thread John Resig
http://docs.jquery.com/JQuery_1.2_Roadmap#Animating_scrollLeft.2FscrollTop On 8/23/07, James Dempster [EMAIL PROTECTED] wrote: I was wondering if the changes that allow animate scrollTop would be making it to the next release? e.g. http://dev.jquery.com/~john/ticket/step/test2.html

[jQuery] Re: end(), this bug unknown

2007-08-23 Thread John Resig
I am writing some code using end() method and really, I don't see the time where .onclick() might return a statement that /requires/ a .end() to exist Some example?? Right, that's because it doesn't exist :-) Only the following code is guaranteed to work: $(div.section) .find(dt)

[jQuery] Re: Place value of navigator.cookieEnabled into an object. Why won't this work?!?!?

2007-08-23 Thread Stephan Beal
On Aug 23, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote: userInfo['v_cookies'] = navigator.cookieEnabled; alert(navigator.cookieEnabled); ... Does anyone know what I can do to get around this? Alternately, is there a better, or more reliable way to check if the browser has

[jQuery] Re: Animate scrollTop

2007-08-23 Thread James Dempster
ahh that's brilliant, :¬) what a fantastic page. I very much look forward to 1.2 /James On 8/23/07, John Resig [EMAIL PROTECTED] wrote: http://docs.jquery.com/JQuery_1.2_Roadmap#Animating_scrollLeft.2FscrollTop On 8/23/07, James Dempster [EMAIL PROTECTED] wrote: I was wondering if the

[jQuery] Re: Place value of navigator.cookieEnabled into an object. Why won't this work?!?!?

2007-08-23 Thread Stephan Beal
On Aug 23, 5:53 pm, Stephan Beal [EMAIL PROTECTED] wrote: While i see no particular problem with your code, are you SURE you don't have a typo in your function body? Double-check the spelling of 'cookieEnabled'. The last line of your post has a different spelling (one which i was able to

[jQuery] Re: Very confused!

2007-08-23 Thread John Resig
Your code looks like it'll work, it could even be reduced to: $('form div.options').each(){function( i ){ $(this).children('[EMAIL PROTECTED]').attr('name', 'option_num_' + i); }); --John On 8/23/07, goodieboy [EMAIL PROTECTED] wrote: Hi John, Actually that was a bad example sorry! What

[jQuery] Re: Very confused!

2007-08-23 Thread Scott Sauyet
goodieboy wrote: Hi John, Actually that was a bad example sorry! What about something like this: $('form div.options').each(){function( i ){ $(this).children('[EMAIL PROTECTED]').each(function(){ $(this).attr('name', 'option_num_' + i); }); }); Try this: $('form

[jQuery] Re: How do i group events?

2007-08-23 Thread Glen Lipka
Not exactly sure what you are trying to do. Are you trying to have 2 separate click events, like this: http://www.commadot.com/jquery/events/multipleEvents.htm Or are you trying to unbind the original event? Like this? $(p).unbind( click ) Or something else? Glen On 8/23/07, Estevão Lucas

[jQuery] Re: OT: Is this a Javascript bug?

2007-08-23 Thread Michael Geary
Just a note on terminology... You're not talking about the DOM here, but rather core JavaScript. String, Number, Array, and all those kinds of types are part of core JavaScript. The DOM is stuff like document.getElementById(). Overall, in JS DOM, one needs to mindful that storing a number

[jQuery] [ANNOUNCE] LavaLamp for jQuery lovers released!

2007-08-23 Thread Ganeshji Marwaha
Hi friends, Thank you! both for all your patience and valuable feedback. This sure helped shaped this plugin into whatever it is today. LavaLamp is a very simple menu plugin for jQuery. As many of you already know, fancy hover effects is what gives it character. It was originally written by

[jQuery] Re: [ANNOUNCE] LavaLamp for jQuery lovers released!

2007-08-23 Thread Tane Piper
SWWTTT!!! On 8/23/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Hi friends, Thank you! both for all your patience and valuable feedback. This sure helped shaped this plugin into whatever it is today. LavaLamp is a very simple menu plugin for jQuery. As many of you already know, fancy

  1   2   >