[jQuery] Re: Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-03 Thread Scott Sauyet
On Feb 2, 10:37 am, HenryRock henryloke.myetr...@gmail.com wrote: I facing a problem in sorting : 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A [ ... ] May I know is there have any plugin that can sort the sample data above to 1A until 14A? Note that it's not hard to do this in Javascript, though:

[jQuery] Re: FastFlip like plugin

2010-01-21 Thread Scott Sauyet
On Jan 20, 9:47 pm, Richard richar...@gmail.com wrote: do you know of a JQuery plugin that supports rapidly skimming through an image set like Google's FastFlip? For demo seehttp://fastflip.googlelabs.com/ Do you mean something more than the various carousel plug-ins?

[jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-21 Thread Scott Sauyet
On Jan 20, 11:45 am, Bonji benho...@googlemail.com wrote: I've tried placing the second $.ajax inside the success fuction of the first $.ajax but the second call never triggers or doesn't return anything. This technique works for me. http://scott.sauyet.com/Javascript/Demo/2010-01-21a/ I

[jQuery] Re: click action effect/problem

2010-01-20 Thread Scott Sauyet
I'd like to thank you guys again for the quick response, but for some reason, both methods aren't working. I made two suggestions. MorningZ's suggestion was very much like my first one. My second one is a bit more general, and might help. I modified MorningZ's page here:

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread Scott Sauyet
On Jan 19, 4:44 am, mind01 mindproduction...@gmail.com wrote: If i try set_time_limit(20); it gives me an 500 error after 20 seconds, but if i set the value to 60 seconds, i still get a server time out after 30 seconds. If you're in control of the php.ini file, there is almost certainly a

[jQuery] Re: click action effect/problem

2010-01-18 Thread Scott Sauyet
On Jan 18, 4:07 pm, Legostrat legost...@gmail.com wrote: div id=button    Click here       div id=submenu        option 1        option 2       /div /div So, when you click on the button div, it reveals the sub-menu div. The problem is that when you click on the content within the

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-18 Thread Scott Sauyet
On Jan 18, 4:25 pm, mind01 mindproduction...@gmail.com wrote: I have a PHP script called zip.php to generate a zip file. This requires more than 30 seconds so my server give me an server error 500 time-out. Can i avoid this 500 error with JQuery and AJAX heartbeat? Probably not. AJAX is just

[jQuery] Re: Select part of text and add a CSS class

2010-01-18 Thread Scott Sauyet
On Jan 18, 11:46 am, Mircea i...@amsterdamsat.com wrote: Yes, I want to be able to select a part of the text and add a span to it. Can this be done? It's a very difficult problem to solve in the general case. Imagine this markup: pIt's a strongvery difficult problem/strong

[jQuery] Re: Open/Save as dialog box

2010-01-18 Thread Scott Sauyet
On Jan 18, 11:27 am, m.ugues m.ug...@gmail.com wrote: Is there a way to catch the event when the browser open to the user the classical Open/ Save as dialog box?http://qpack.orcanos.com/helpcenter/Images/openSave.png I need to do something when the dialog is shown. I don't know for sure,

[jQuery] Re: Sort options in select.

2010-01-18 Thread Scott Sauyet
On Jan 18, 3:52 am, NMarcu marcu.nico...@gmail.com wrote:     What's the best way to sort options in select. I found a jquery plugin sortOptions(), but if I have options: Address 1, Address 2, Address 3, Address 100, Address 200 , will be sort like this: Address 1, Address 100, Address 2,

[jQuery] Re: Select part of text and add a CSS class

2010-01-18 Thread Scott Sauyet
On Jan 18, 4:55 pm, Scott Sauyet scott.sau...@gmail.com wrote: pIt's a         strongvery /strong typo: strongdifficult /strong -- Scott

[jQuery] Re: Accessing an objects array from an $.ajax call

2010-01-12 Thread Scott Sauyet
On Jan 12, 10:27 am, Matthias matthias.lueb...@gmail.com wrote: I have an object with a member function that changes something on the objects state. This works perfectly fine in the easy case. But when I use an $.ajax call within the function it doesn't work. Here is the example code and

[jQuery] Re: Accessing an objects array from an $.ajax call

2010-01-12 Thread Scott Sauyet
On Jan 12, 2:50 pm, Matthias matthias.lueb...@gmail.com wrote: oh I thought stop() would actually hold the execution of the test... It does. However the parameters passed in to the equals call are evaluated immediately, as they are in most programming languages. (Haskell is an exception, and

[jQuery] Re: Disable Submit

2010-01-12 Thread Scott Sauyet
On Jan 12, 2:49 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have a form i am submitting via Ajax. So after submit while its waiting for response i have my little spinner so user knows something is happening. But how can i disable the submit while its thinking waiting for a

[jQuery] Re: Function help

2010-01-12 Thread Scott Sauyet
On Jan 12, 1:59 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have this function: [ ... ] So it works fine but I have this in 5 pages on the site and was wondering how can I turn this into a standard function and call it like: addRecord(form_id); There are several ways to

[jQuery] Re: Optimized jQuery

2010-01-11 Thread Scott Sauyet
On Jan 10, 8:14 pm, Adrian Lynch adely...@googlemail.com wrote: I get a bad feeling when I'm asked to go to a site using IE! Anyone had a look? I couldn't see anything strange with IE. What animations are causing problems? -- Scott

[jQuery] Re: Displaying reviews using js widgets such as in freeindex.co.uk

2010-01-11 Thread Scott Sauyet
On Jan 10, 11:49 pm, SkilliPedia skillipe...@googlemail.com wrote: I have a website where services, software,etc get reviewed. What i want to do is enable users to display reviews in their own websites as testimonials and as extra backlink for me. I am looking for  a js widget that can do

[jQuery] Re: Why mootools animations is more smooth than jquery?

2010-01-11 Thread Scott Sauyet
On Jan 6, 9:15 pm, Acaz Souza acazso...@gmail.com wrote: Is just for learning this interesting point. What the matematics logic of both in animation framework. They use the same logic? This is the original question: | MooTools:http://www.jsfiddle.net/4vnya/ |

[jQuery] Re: Displaying reviews using js widgets such as in freeindex.co.uk

2010-01-11 Thread Scott Sauyet
On Jan 11, 2:18 pm, Viz skillipedia skillipe...@googlemail.com wrote: Thank you very much You're welcome. I am, now, certain the document.write()  is all what in need: i process the request in Java handler and  may be a bit of jsp scripting and all the rest is easy Note, though, that it

[jQuery] Re: Go through XML nodes only 1 level deep

2010-01-08 Thread Scott Sauyet
On Jan 7, 7:48 pm, Frank Peterson fictionalper...@gmail.com wrote: Well the xml file is not on my server, but I'll try to shoot them an email and let them know, they should set the headers. Are you sure that you're not running into cross-site scripting issues? Security restrictions will

[jQuery] Re: jQuery and IE 8

2010-01-07 Thread Scott Sauyet
I don't get any error. Have you fixed it since posting yesterday? -- Scott

[jQuery] Re: jQuery Equivalent of Prototype Function.bind

2010-01-06 Thread Scott Sauyet
On Jan 5, 9:43 am, Bruce brucejin...@gmail.com wrote: Is there a jQuery way of doing this Prototype bind? I don't know about built-in means, but here is one that Google provides: http://groups.google.com/group/jquery-en/msg/0980e113f097720a -- Scott

[jQuery] Re: jQuery parent remove

2010-01-06 Thread Scott Sauyet
On Jan 6, 4:42 am, Lone Wolf khura...@gmail.com wrote: $(document).ready(function(){         $('table.small td img.delete').click(function(){           $.get('ajax/update-callback.php', {doaction: 'remove', callbackid: $ (this).attr('id')},                 function(data){                    

[jQuery] Re: Cycle and softedge

2010-01-06 Thread Scott Sauyet
On Jan 6, 10:17 am, exlibris exlib...@visi.com wrote: Does anybody know how to either better integrate the softedge.js library, I don't think it will work when the cycle plug-in is used directly on the images, as the softedge technique replaces an image with a stack of images in the same

[jQuery] Re: Pass object to function

2010-01-06 Thread Scott Sauyet
On Jan 6, 2:17 pm, knal knalp...@gmail.com wrote: BTW It also works without the return this.each() { part! Yes, but that allows you to continue chaining, i.e. $(this).closest(.project).closeProject().css({color: blue}); or whatever. This is the usual technique with jQuery plug-ins.

[jQuery] Re: Why mootools animations is more smooth than jquery?

2010-01-06 Thread Scott Sauyet
On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote: MooTools:http://www.jsfiddle.net/4vnya/ jQuery:http://www.jsfiddle.net/eFbwJ/36/ (Compare the code, the effects. You decide.) Why mootools is more smooth than jquery? It's not, at least not in my FF3.5.6 on Win XP. Haven't you been

[jQuery] Re: How to gain reference to hyperlink that is clicked

2010-01-05 Thread Scott Sauyet
On Jan 5, 3:43 pm, Charlie Griefer charlie.grie...@gmail.com wrote: Within the function triggered by the click event, $(this) or this are both references to the element that triggered the click. More precisely, this is a reference the to element. $(this) is a reference to a jQuery wrapper

[jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Scott Sauyet
On Dec 31 2009, 5:10 pm, Šime Vidas sime.vi...@gmail.com wrote: Scott, you used A elements as JS triggers which is not proper... the A element is for linking to other web-resources. If you need an element for onclick JS execution, just use a button or a SPAN element Well, I was modifying

[jQuery] Re: jQuery + OOP + AJAX

2009-12-31 Thread Scott Sauyet
On Dec 31, 4:25 am, fran23 f...@lavabit.com wrote: the target variable in your sample code has a $-prefix ($target). I think this is just an eye-catcher for variables - a similar coding to php. If not - if it has to do with something special in Javascript or jQuery - please let me know ... $

[jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-31 Thread Scott Sauyet
On Dec 30, 8:00 pm, Erik R. Peterson eriks...@mac.com wrote: Wow...  I'm just now getting back to this and I am totally messed up.   I never thought it would be such a challenge. It's not that this is a challenge. There are many different directions you could go from here. You didn't supply

[jQuery] Re: Referring to the current DOM object in a jQuery method parameter list

2009-12-31 Thread Scott Sauyet
On Dec 31, 1:19 pm, Nathan Klatt n8kl...@gmail.com wrote: But, that seems like too much code for jQuery. :) I want something like: $someId.text(self.attr(alt)); I've often wanted something like that too. Unfortunately... This doesn't work: $someId.text($(this).attr(alt)); Does that

[jQuery] Re: jQuery + OOP + AJAX

2009-12-30 Thread Scott Sauyet
On Dec 30, 10:51 am, fran23 f...@lavabit.com wrote: Thanks Scott ! Your proposals are an inspiration in doing things better. Glad to help. This one will have to be shorter... First of all, does the click have to be in the last paragraph itself? Or could it be in some parent container of

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread Scott Sauyet
On Dec 30, 1:35 pm, T.J. Simmons theimmortal...@gmail.com wrote: You know, I see it now; it says in the documentation The object that will be merged into the jQuery object... I read that and took it to be the core of jQuery itself, since the documentation only lists one argument for $.extend.

[jQuery] Re: jQuery + OOP + AJAX

2009-12-29 Thread Scott Sauyet
On Dec 29, 5:23 am, fran23 f...@lavabit.com wrote: But even here, there is still something strange. On each click of the div, you're binding another event handler to do the same job. that's the CENTER OF MY TROUBLE. I did speak about the reason for using the show() function above. But maybe

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread Scott Sauyet
On Dec 28, 7:33 am, 123gotoandplay wesweatyous...@gmail.com wrote: i have further altered the ajax_search function and i get the error message [ ... ] function err(){         alert('something went wrong'); } This is the signature from the docs [1] val err = function (XMLHttpRequest,

[jQuery] Re: jQuery + OOP + AJAX

2009-12-28 Thread Scott Sauyet
; this.lastName = lastName; } Person.prototype.greet = function(){alert(Hello, + this.firstName + + this.lastName);}; var me = new Person(Scott, Sauyet); me.greet(); // alerts Hello, Scott Sauyet There are libraries designed to make it easier to use OO code

[jQuery] Re: jQuery suggestion

2009-12-28 Thread Scott Sauyet
On Dec 28, 2:55 pm, Thai Dang Vu tdan...@gmail.com wrote: I'm using IntelliJ Idea 9.0 which supports code completion/suggestion for javascript. It doesn't work with the innerHeight/Width because of this         jQuery.fn[inner + name] = function(){ // [ ... ] Is there anyway to implement the

[jQuery] Re: Why does this work??

2009-12-28 Thread Scott Sauyet
On Dec 27, 10:07 am, merchz merch...@hotmail.com wrote: When I click that Cancel button, the alert executes just like I want it to do. But I can't figure out why?? I mean how can the eventhandler register correctly. Is the Cancel button from the AJAX call somehow magically insert into the DOM

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-23 Thread Scott Sauyet
On Dec 23, 4:37 am, 123gotoandplay wesweatyous...@gmail.com wrote: Now i am 'loading' list.php in #content and now the search function doesn't work. You might want to look at question 2.1 of the FAQ [1] or at the Ajax and Events Tutorial [2] to see if that's the issue. -- Scott [1]

[jQuery] Re: How to get these two slide show to alternate?????

2009-12-23 Thread Scott Sauyet
On Dec 22, 10:56 pm, Rick Faircloth r...@whitestonemedia.com wrote: Just alternate the two slideshow transitions 3 seconds apart. Why won't this work?    $('.slideshow').cycle(delay: 3000, timeout: 3000}); $('.slideshow2').cycle({delay: 6000, timeout: 3000}); I haven't used the plugin,

[jQuery] Re: Problem with window focus event in Firefox 3.5/Win Vista?

2009-12-23 Thread Scott Sauyet
On Dec 23, 5:29 am, paul s pksole...@gmail.com wrote: I'm having a problem using: jQuery(window).bind(focus, function(event) { alert(test); }); in Firefox. I'd expect a single alert box when I focus on the window. However in Firefox I get 4 alert boxes in a row? I get an unending stream

[jQuery] Re: Jquery .submit not firing up!

2009-12-23 Thread Scott Sauyet
On Dec 23, 9:25 am, Mike Alsup mal...@gmail.com wrote: If you can't post a link then create a very simplified example that demonstrates the problem and post a link to that. And if you haven't used it, JSBin is an excellent place to do it: http://jsbin.com/ -- Scott

[jQuery] Re: Problem with jQuery and AJAX

2009-12-23 Thread Scott Sauyet
On Dec 23, 9:00 am, Muaz muazahmedm...@hotmail.com wrote: login and loggedin are two div which are on same place. Both divs are recreated by AJAX but after they are recreated jQuery stops working untill i manually refresh the page (Copying my reply from another thread...) You might want to

[jQuery] Re: Image Upload and preview

2009-12-23 Thread Scott Sauyet
On Dec 23, 1:57 am, amy amy@gmail.com wrote: Hi I have todo an Image upload with Preview and I am using a jsp and servlet for it. I am stuck at a point and not getting a way out. [ .. ] I am unable to view the image. The control flows to servlet and gets stuck there. It does not move back

[jQuery] Re: huge drop down

2009-12-21 Thread Scott Sauyet
On Dec 21, 1:11 pm, fachhoch fachh...@gmail.com wrote: is my question not clear ? please  help me reoslve this Your own urgency is not enough motivation for the rest of us. First you post a question that you could probably have researched easily on your own to find out that IE will really not

[jQuery] Re: huge drop down

2009-12-21 Thread Scott Sauyet
On Dec 21, 2:45 pm, fachhoch fachh...@gmail.com wrote: Sorry .I am  a java programmer , but dumb with css ,java script and specially working with IE , unfortunately every body has to work for IE, sorry again I'm not looking for an apology, just for enough information to use to help you. (And

[jQuery] Re: Plugin development: Defaults options: Questions?

2009-12-21 Thread Scott Sauyet
On Dec 21, 3:08 pm, Micky Hulse rgmi...@gmail.com wrote: But, I guess I am wondering what the best way to handle javascript error checking for required options? There are a few options. I often add an optional errorHandler function; my defaults would include: errorHandler:

[jQuery] Re: Plugin development: Defaults options: Questions?

2009-12-21 Thread Scott Sauyet
On Dec 21, 4:06 pm, Micky Hulse rgmi...@gmail.com wrote: Ok, so how does this look: (function($) {         $.fn.myFunction = function(id) {                 var $target = $('#' + id);                 if($target.length 0) {                         return this.each(function() {              

[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-18 Thread Scott Sauyet
On Dec 18, 3:47 am, gorfbox gorf...@gmx.de wrote: I'm having a dickens of a time with something that should be easy. When using $(body).append to place an anchor containing an onClick statement in the html body, the code is executed and the anchor is shown, but the onclick doesn't work.

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 8:48 am, Mean Mike mcgra...@gmail.com wrote: I haven't played with the samples . CKEDITOR API is well documented is just the jquery implementation that I'm having trouble with Yes, the documentation for the plug-in seems pretty vague. But I couldn't really find the syntax above in

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 1:02 pm, Mean Mike mcgra...@gmail.com wrote: so I tried that and of course I get CKEDITOR not defined ... Bummer! so I figure ot I'll wait for I try it this way         $('#fck').ckeditor();         var wait = setTimeout(function() {                 if( $.ckeditor.instance(fck))

[jQuery] Re: IE stops recurring ajax call

2009-12-16 Thread Scott Sauyet
On Dec 16, 4:14 am, Henjo henjohoek...@gmail.com wrote: here is what I changed in order to get it to work in IE. Not working: jQuery('#option1').hide('fast').next().show('fast').bind ('change',function(){ ... } Working: jQuery('#option1').hide('fast').next().show('fast');

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:10 pm, Mean Mike mcgra...@gmail.com wrote: I can't seem to get anything out of the new jquery ckeditor plugin I can have it load a an editor no problem but I need to do more than just that a good starting point would be for me to be able to something like var foo =

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:57 pm, Mean Mike mcgra...@gmail.com wrote: maybe I have something setup wrong but every time I run that I get an js error CKEDITOR is not defined on line 32 of jquery.CKEditor.js Have you done this?: $.ckeditor.config = {path: '/path/to/ckeditor/directory/', height: 300 }; It

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 4:07 pm, Mean Mike mcgra...@gmail.com wrote: now this works because by the time i press the button the ckeditor is load so now I'm trying to figure out when it is load so I can apply things to it once its loaded rather than have a user click a button. Man, there is a lot of

[jQuery] Re: jquery and shtml - 2 problems

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:28 pm, Allyson Woodrooffe allys...@interwood.com wrote: It appears that jquery might not like the shtml extension (which we   currently use on our site to include headers, footers etc) That's not it. jQuery doesn't care about the page url at all. But you are serving up very

[jQuery] Re: IE stops recurring ajax call

2009-12-15 Thread Scott Sauyet
On Dec 15, 8:37 am, Henjo henjohoek...@gmail.com wrote: I managed to put alerts in and find where it broke in IE. IE can't seem to handle a chained ajax request. I broke the chain in part and than it worked fine. Great! Could you post in a bit more detail what you had to change to get it to

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Scott Sauyet
On Dec 15, 12:53 pm, huntspointer2009 huntspoin...@gmail.com wrote: thanks Virgil, Is there a way to create the same effect without specifying the ( eq: (' ') exact location) or (the content that inside) the list item? because I might be using up hundreds of ul/ul unordered lists, each with a

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Scott Sauyet
On Dec 15, 2:13 pm, huntspointer2009 huntspoin...@gmail.com wrote: I actually modified the code you provided for me a little to create the desired effect: Yeah, there was a small mistake in that. This would probably work: $(this).find(li:nth-child(4n+2), li:nth-child(4n+3)).addClass

[jQuery] Re: Passing parameters to a function with a click event

2009-12-15 Thread Scott Sauyet
On Dec 15, 2:34 pm, kenyabob andy.skogr...@gmail.com wrote: http://pastebin.com/m6cd05daa I am trying to call a function and pass parameters regarding the button that called the function. This doesn't seem to do it. What am I missing? First thing I see is that you're not passing a function

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Scott Sauyet
On Dec 13, 1:52 pm, Henjo henjohoek...@gmail.com wrote: It works flawlessly in FF, Safari, Chrome... But IE is being nasty on me! Being nasty is probably quite accurate, but not specific enough for us to offer help! What's happening. Better yet, is there a way you can post a live URL? --

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Scott Sauyet
On Dec 14, 4:33 pm, Henjo henjohoek...@gmail.com wrote: Here's the link to the website, it is the product wizard form:http://bit.ly/7v8pHu Okay, if you haven't used Fiddler [1], it's pretty useful for testing HTTP request on IE, something like LiveHTTPHeaders for Firefox, and more general.

[jQuery] Re: jQuery no conflict question

2009-12-11 Thread Scott Sauyet
On Dec 11, 7:14 am, Henjo henjohoek...@gmail.com wrote: I am wondering how to set my jQuery to be in 'noconflict' state. [ ... ]    function questionList(){       ...    } I'm wondering if you are using the $ shortcut to jQuery inside such functions. If you are, then those functions must be

[jQuery] Re: visible divs and selectors

2009-12-11 Thread Scott Sauyet
Any chance you could post a small test case somewhere? I *think* I understand what's happening, but without seeing it, it's hard to diagnose. -- Scott

[jQuery] Re: visible divs and selectors

2009-12-11 Thread Scott Sauyet
On second thought, I think I get it. You're doing something screwy with this: if ($(#regions div).is(:visible)) { /* ... */} It's not clear to me without checking the docs even what it means to call .is() on a group of items, but I don't think this is really what you want. Ideally, you

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread Scott Sauyet
And your other syntax should also work as well: http://jsbin.com/oredo (code http://jsbin.com/oredo/edit) Must be something else on the page... -- Scott

[jQuery] Re: Collapsing

2009-12-11 Thread Scott Sauyet
On Dec 11, 11:09 am, Dobbler dobble...@gmail.com wrote: I have a menu set up with parent child links.. Best way to describe it is show an example:  http://96.0.84.196/jtest/http://96.0.84.196/jtest/ You'll notice that you can have multiple parent's open but I would like all other parents to

[jQuery] Re: Current page

2009-12-11 Thread Scott Sauyet
On Dec 11, 11:14 am, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: How do I mark the current page in a list of links? $(#myList a).each(function() { if (this.href == document.location.href) $(this).addClass (currentPage); }); -- Scott

[jQuery] Re: previous

2009-12-10 Thread Scott Sauyet
On Dec 8, 4:17 am, lennon1980 ja...@publiczone.co.uk wrote: Cheers..thats pretty cool.  One more thing actually..I need the element to be a div..how do I add this to the selector This might do it: var item = $(#feature).prevAll(div[class]:first); Cheers, -- Scott

[jQuery] Re: Unexpected append behavior

2009-12-10 Thread Scott Sauyet
On Dec 10, 8:31 am, Charlie charlie...@gmail.com wrote:  no idea how I missed that, I certainly know better One other thing that might make your life easier is the this context of each. You can rewrite the body of your loop as a pretty clean one-liner: $(data.statelist).each( function() {

[jQuery] Re: huge drop down

2009-12-10 Thread Scott Sauyet
You might look at a plug-in like: http://code.google.com/p/dropdown-check-list/ Good luck, -- Scott

[jQuery] Re: NEED HELP::siblings isssue in jquery

2009-12-10 Thread Scott Sauyet
On Dec 10, 1:56 am, Bideshi itbide...@gmail.com wrote: i've a little issue related to siblings in jquery, i'm using sibling to deselect the previous selected link after clicking on the new link, but it's now working, please let me know where i'm missing. [ ... ]                

[jQuery] Re: Traversing Help

2009-12-10 Thread Scott Sauyet
On Dec 10, 12:36 pm, T.J. Simmons theimmortal...@gmail.com wrote: Sorry, the right link ishttp://jsbin.com/ekuyo It would probably be better to fix the other errors before posting an example. But I was in a good mood. :-) http://jsbin.com/ivoyi (code http://jsbin.com/ivoyi/edit) The

[jQuery] Re: jquery conflict with prototype

2009-12-10 Thread Scott Sauyet
On Dec 9, 8:33 pm, i...@atlantagraphicdesign.net i...@atlantagraphicdesign.net wrote: can someone help with the nocoflict function. Did you read this document?: http://docs.jquery.com/Using_jQuery_with_Other_Libraries I'd suggest that the simplest thing would be to put prototype first,

[jQuery] Re: how to use keypress click function together...

2009-12-07 Thread Scott Sauyet
On Dec 6, 11:31 am, Erdem erde...@gmail.com wrote: i want ajax to make same when hit enter or click submit button $(#myForm).submit(/* your function here */); http://docs.jquery.com/Events/submit#fn Cheers, -- Scott

[jQuery] Re: [validate] - jquery plugin + recaptcha = anyone get this to work?

2009-12-07 Thread Scott Sauyet
On Dec 7, 10:24 am, Carlos De Oliveira cdeolive...@grupozoom.com wrote: This is a JQuery Forum. And the question is about Jörn Zaefferer's Validation plug-in, certainly on-topic here. Unfortunately, I haven't used either of the CAPTCHA's under question, nor had much experience with the

[jQuery] Re: When plugin ajaxform meets FCKeditor.

2009-12-07 Thread Scott Sauyet
Testing

[jQuery] Re: When plugin ajaxform meets FCKeditor.

2009-12-07 Thread Scott Sauyet
I haven't used ajaxform, but I think this means that you can do something like this: $(#myForm).bind(form-pre-serialize, function() { // put the data from the editor back into the form. }); How to actually get the necessary data from CK you'll have to look at the CK editor's

[jQuery] Re: Beginner's Question: How write text output that stays

2009-12-07 Thread Scott Sauyet
On Dec 7, 8:34 am, Beginner pixel.b...@gmail.com wrote: $(document).ready(function(){                 $(#XXX).click(function(event){ document.write(TESTOUTPUT); }}); Unfortunately the text testoutput will immediately disappear after the click event passed. Is there a remedy for that? I

[jQuery] Re: Document undefined error

2009-12-07 Thread Scott Sauyet
On Dec 7, 11:49 am, Firefox barrie.wh...@gmail.com wrote: I have recently been tasked with making sure the following script works with our environment. http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js [ ... ] That script is the latest release of the jQuery library. It doesn't

[jQuery] Re: previous

2009-12-07 Thread Scott Sauyet
On Dec 7, 10:23 am, lennon1980 ja...@publiczone.co.uk wrote: I want to find all previous elements in the DOM (not parent elements) of element called 'feature' [ ... ] But I want to find all previous divs that have a css class assinged to them. the first previous div it finds I want to be able

[jQuery] Re: jScrollPane - help is needed

2009-12-04 Thread Scott Sauyet
On Dec 4, 10:07 am, xirurg vshala...@hotmail.com wrote: I'm having a problem with jScrollPane. Take a look onhttp://www.cmt.ca/unstable/- photo gallery on the right. It loads the whole list first and then limits it to certain width. So my question is - is is possible to eliminate that effect

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Scott Sauyet
On Dec 3, 11:02 am, Rey Bango r...@reybango.com wrote: I think you should consider looking into this yourself. The animations provided by jQuery, while basic, are quite smooth and perform well. If you feel that the ones provided by MooTools perform better, then I would urge you to take the

[jQuery] Re: jQuery gives error on page in IE after hover.

2009-12-03 Thread Scott Sauyet
On Dec 3, 12:43 pm, Michael Geary m...@mg.to wrote: You're trying to use negative padding, but there is no such thing in CSS: But why does the padding go negative in IE? It doesn't seem to happen in FF or Chrome. The -10px is on mouseleave, where mouseenter set it to 10px. -- Scott

[jQuery] Re: jQuery Accordion problem - Links not working

2009-12-02 Thread Scott Sauyet
On Dec 2, 12:05 pm, hannahmac hannahmago...@gmail.com wrote: I am using a Jquery accordion menu on a website I'm working on - and being a novice I've discovered that none of the links are not working. The movement of the menu seems fine, but every link on this left hand menu is going nowhere.

[jQuery] Re: Ignoring click events in cells

2009-12-02 Thread Scott Sauyet
On Dec 2, 3:44 pm, Andyk andym.kni...@googlemail.com wrote: However, checking/unchecking the checkbox in each row also triggers the event. Is there anyway of preventing this? $(tr).click(function(event) { if ($(event.target).is(:checkbox)) return; alert($(this).attr(id));

[jQuery] Re: Ignoring click events in cells

2009-12-02 Thread Scott Sauyet
On Dec 2, 5:20 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote:  // normalize e.target  if (!e) var e = window.event;  var tg = (window.event) ? e.srcElement : e.target; jQuery does this normalization for you. You can just use e.target (More info at

[jQuery] Re: Using jQuery to total multiple sets of textboxes?

2009-12-01 Thread Scott Sauyet
On Nov 30, 4:34 pm, Equalizer700 equalizer...@yahoo.com wrote: How could this be modified to allow summing multiple sets of textboxes (using each set using a different class name) into multiple total textboxes (again using different class names)?  Can this somehow be converted to a function,

[jQuery] Re: Using jQuery to total multiple sets of textboxes?

2009-12-01 Thread Scott Sauyet
On Dec 1, 1:03 pm, Scott Sauyet scott.sau...@gmail.com wrote: [ ... ]             var additional = [ ... ] Hey, where'd that come from? Obviously this is unnecessary...

[jQuery] Re: Problem with plugins

2009-12-01 Thread Scott Sauyet
On Dec 1, 6:30 am, Paulodemoc paulode...@gmail.com wrote: [ ... ] I have a test page here:http://jquery.creandi.eu [ ... ] I've spent a fair bit of time looking at this with no luck. I think the thing to do is to make some test pages from this, progressively stripping out parts until you find

[jQuery] Re: get random record?

2009-12-01 Thread Scott Sauyet
On Dec 1, 4:27 pm, Michel Belleville michel.bellevi...@gmail.com wrote: setTimeout(), which is a plain JavaScript function, should be perfect for the job then. ... although managing the timeout alongside the next button might get a little trickier. You might want to introduce a function which

[jQuery] Re: Problem with plugins

2009-12-01 Thread Scott Sauyet
On Dec 1, 5:31 pm, Michael Geary m...@mg.to wrote: Paulo, you're loading jQuery twice. First you load jQuery, then you load your plugins, then you load jQuery again. That second load of jQuery wipes out the original jQuery and all its plugins. Do a View Source on your page with the sort

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-12-01 Thread Scott Sauyet
On Nov 30, 6:39 pm, RobG rg...@iinet.net.au wrote: On Dec 1, 12:41 am, ScottSauyetscott.sau...@gmail.com wrote:  If JavaScript is used unobtrusively, then JS is never plain data, but always metadata.  And the head is the place for metadata. Javascript is not metadata, it is program code:

[jQuery] Re: Hide chat content

2009-11-30 Thread Scott Sauyet
On Nov 29, 3:26 pm, Jerry Johnson jerryhost@gmail.com wrote: ok, that worked, but now I need to make an ajax call... So go ahead and make one. :-) Or were you looking for more specific help? -- Scott

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Scott Sauyet
On Nov 29, 8:21 pm, breadwild breadw...@gmail.com wrote: I have seen several examples on jQuery plugin sites that have the script tag and Javascript within the body and not the head where I thought it was supposed to go. Supposed to go is a subjective consideration. The rationale for putting

[jQuery] Re: How to text inside caption Tag of a Table?

2009-11-30 Thread Scott Sauyet
On Nov 30, 6:43 am, SharepointMag [yb] sharepoint...@googlemail.com wrote: var $elements = $('table'); $elements.each(function(){ // here i want to get the text inside the caption tag inside THIS element ...  } var captionText = $(caption, this).text(); The second parameter to the $

[jQuery] Re: jquery problems - please help - not a CODER - just an USER

2009-11-30 Thread Scott Sauyet
On Nov 30, 6:48 am, Escu dl.e...@gmail.com wrote: i got an wordpress theme (paid one) and it uses jquery. I got a plugin (WP Ajax Edit Comments 3.1) that uses jquery too. The problem is that both jquerys doesn't work together. When i disable one, the other one is working. Any ideeas? Although

[jQuery] Re: Problem with plugins

2009-11-30 Thread Scott Sauyet
On Nov 30, 10:48 am, Paulodemoc paulode...@gmail.com wrote: The plugins are being loaded. When I open the source code and click on the js url, it opens alright But when I call the command: $(selector).pluginFunction({options}); An error message appears saying that pluginFunction is not

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Scott Sauyet
On Nov 30, 10:32 am, Andre Polykanine an...@arthaelon.net wrote: I prefer to put JS in header, also. But I read somewhere that there is a bug dealing with an interference of PHP's $variables and jQuery $-notation, so it's suggested to put the jQuery functions into the body and not into the

[jQuery] Re: Hide chat content

2009-11-30 Thread Scott Sauyet
On Nov 30, 11:00 am, Jerry Johnson jerryhost@gmail.com wrote: Ya, here is my problem. I know how to make the ajax call, and it all works, but, I need to somehow connect the msg id from the mysql database to the ajax call, so I need another div, that has the id. There are many ways to do

  1   2   3   4   >