Re: [jQuery] delete / remove $.ajax() object ???

2009-12-14 Thread Wendi Turner
Thank you Mike & Brian!! This worked beautifully!! On Mon, Dec 14, 2009 at 5:45 PM, Michael Geary wrote: > That sounds right on the money, Brian. > > Wendi, to give an example, suppose your code is something like this: > > $(document).ready( function() { > $.ajax({ > ... > }); >

[jQuery] JQuery - CSS - style unordered list

2009-12-14 Thread huntspointer2009
Does anyone know how to create the following CSS styling effect using JQuery: I have several unordered lists in one webpage: text 01 text 02 text 03 text 04 text 05 text 06 text 07 text 08 text 01 text 02 text 03 text 04 text 05 text 06 text 07 text 08 I would like to convert my previous co

Re: [jQuery] beginner help with using custom jquery ui objects.

2009-12-14 Thread Richard D. Worth
We'd love to help answer these questions over here: http://groups.google.com/group/jquery-ui Thanks. - Richard On Mon, Dec 14, 2009 at 7:02 PM, David_ca wrote: > Hi, > > With help from this tutorial > http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/ > I started to create my

Re: [jQuery] Re: .focus() and non-IE browsers.

2009-12-14 Thread T.J. Simmons
Appreciate it. My digging around online brought up old posts from 2007- ish, so I wasn't sure if this was just due to the implementation across different browsers or an actual bug. Thanks. T.J. Simmons Sent from my iPhone On Dec 14, 2009, at 9:49 PM, Dave Methvin wrote: For some reason,

[jQuery] Re: .focus() and non-IE browsers.

2009-12-14 Thread Dave Methvin
> For some reason, it seems that the .focus() method (at least how I'm > using it) isn't properly setting the focus to what I'm specifying. Yeah, I think that may be broken, it's already been reported. http://dev.jquery.com/ticket/5652

Re: [jQuery] validate australian date

2009-12-14 Thread Dhruva Sagar
Check out www.datejs.com it's a great library to deal with any kinds of dates Thanks & Regards, Dhruva Sagar. On Tue, Dec 15, 2009 at 8:49 AM, buRn wrote: > Hi does anyone know how to validate australian date? I only have the > normal date validation and want to have the month and day switc

[jQuery] validate australian date

2009-12-14 Thread buRn
Hi does anyone know how to validate australian date? I only have the normal date validation and want to have the month and day switch around. cheers bUrn

[jQuery] Scrolling plugin from LearningJquery.com

2009-12-14 Thread juan-i
This is the plugin i'm referring to: http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links I was wondering if there was any way to get the script to scroll to the section, minus 125px. If this wasn't clear enough, http://juan-i.com.ar/clientitos/smee is the t

Re: [jQuery] How To Upload Video File Using JQuery

2009-12-14 Thread Andras Kende
Mark, you might want to checkout: http://swfupload.org/ Andras On Dec 14, 2009, at 10:04 PM, Mark Phillips wrote: > Hi, > > I am looking for a way to use JQuery to upload video files. Since > these files are so large it is important to provide a cue to the user > when the download is in prog

[jQuery] How To Upload Video File Using JQuery

2009-12-14 Thread Mark Phillips
Hi, I am looking for a way to use JQuery to upload video files. Since these files are so large it is important to provide a cue to the user when the download is in progress and when it ends. Thanks, Mark

[jQuery] Sub-menus not working in IE

2009-12-14 Thread slflinders
Hi. I just installed Superfish Dropdown Menu for Joomla 1.5 today from extensions.joomla.org and have a couple of questions. First, the version on extensions.joomla.org is 1.2. Is this the best version to be using or is there something more recent? If so, how do I get it? Second, I configured my

[jQuery] beginner help with using custom jquery ui objects.

2009-12-14 Thread David_ca
Hi, With help from this tutorial http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/ I started to create my own custom ui objects based on the ui widget factory I am hoping somebody could help me with the object syntax. //

[jQuery] Superfish sub-menus not working in IE

2009-12-14 Thread slflinders
Hi. I just installed Superfish Dropdown Menu for Joomla 1.5 today from extensions.joomla.org and have a couple of questions. First, the version on extensions.joomla.org is 1.2. Is this the best version to be using or is there something more recent? If so, how do I get it? Second, I configured my

[jQuery] Couple of Questions on JQuery calling and usage

2009-12-14 Thread dshah
Hi, I am new to JQuery so apologies if these questions are basic/stupid.. We are currently using raw javascript in most of our webapp and are trying to use JQuery to do some dynamic form loading.. So here's my scenario: 1. I have a select group (a group of select objects) where each select object

Re: [jQuery] delete / remove $.ajax() object ???

2009-12-14 Thread Michael Geary
That sounds right on the money, Brian. Wendi, to give an example, suppose your code is something like this: $(document).ready( function() { $.ajax({ ... }); }); Let's say you want to make that $.ajax call both at load time and also later in response to a click event on some div.

[jQuery] AUTO: Michael Lawson is out of the office (returning 12/16/2009)

2009-12-14 Thread Michael Lawson
I am out of the office until 12/16/2009. I will be unavailable on 12/15/2009 due to travel. Please contact Dianne Spillers for any issues with Blue Direct, or Alexandre Antabi or Brian Grier for any issues with IBM Press Room. For all else you may contact Leena Paulose. Thanks (it's Tha

Re: [jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread Charlie
you'll have to do some more to reset the visibility to visible on the up move of course. Was just steering you into one possible way to find the limits Charlie wrote: any tests on .arrowdown will not be of benefit , you need to check for position of it's parent .pane since you are inserting

Re: [jQuery] delete / remove $.ajax() object ???

2009-12-14 Thread brian
Put your $.ajax() call inside a function and call that on load and whatever other event. On Mon, Dec 14, 2009 at 8:18 PM, Wendi Turner wrote: > Thank you Mike ! > > Repost Question: "How can you remove/delete the active $(document).ready() > script, re-write and re-register then re-trigger the re

[jQuery] delete / remove $.ajax() object ???

2009-12-14 Thread Wendi Turner
Thank you Mike ! Repost Question: "*How can you remove/delete the active $(document).ready() script, re-write and re-register then re-trigger the ready script?? Without reloading the page?*" I have an anonymous $.ajax( function ( blah blah) ) created in the $document.ready() object. I want to

Re: [jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread Charlie
any tests on .arrowdown will not be of benefit , you need to check for position of it's parent .pane since you are inserting after "p" tags in this case try this: $(".pane .arrowdown").click(function() {     $(this).parents(".pane").slideUp("slow",function(){             $(this).insertAfter($

Re: [jQuery] how to get value between brackets in a string

2009-12-14 Thread Karl Swedberg
to elaborate a bit, you could store the result of that line in a variable and then use it. I'd do the replace a bit differently. var n = $('#pageCount').text().replace(/[)(]/g,''); or use .match instead: var n = $('#pageCount').text().match(/\d+/)[0] Now you can do something with n. --Karl _

Re: [jQuery] Re: load() function and IE8

2009-12-14 Thread Karl Swedberg
I'm not familiar with the Admintasia template. If #AP_PONum is in the DOM when you bind the event handler, then you shouldn't need live. It's only one element, so there shouldn't be a performance hit either if you just use bind. The only reason .bind() wouldn't work is if #AP_PONum isn't in

Re: [jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread Michael Geary
Good point, thanks for noticing that, Brian. This is a good example of why it's always helpful to post a link to a live test page instead of just a code snippet. Then we know what the actual code looks like and can see it run in the browser. -Mike On Mon, Dec 14, 2009 at 4:20 PM, brian wrote:

Re: [jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread Michael Geary
Wendi, just a tip to help you get the assistance you're looking for: Since your question doesn't seem to relate to the topic of this particular thread, people may not notice it. Could you re-post your question as a new post with its own title that summarizes the question? That will help people fin

[jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread robert...@gmail.com
Abbey - Here you go - this works for me in IE http://www.greenearthcrew.com/jquery/moverows.htm On Dec 14, 5:43 pm, Abbey wrote: > @Robert The code didn't work for me. > > @Charlie I tried length=0 and length=1 and the pane always goes past > the footer div. > > $(".pane .arrowdown").click(fun

Re: [jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread Wendi Turner
*How can you remove/delete the active $(document).ready() script, re-write and re-register then re-trigger the ready script?? Without reloading the page?*

Re: [jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread brian
$('#somediv').append(html); You're appending to the div with ID 'someDiv'. But you say that this is the content: Name: Note the class="somediv". I'm wondering if that's a typo and it's actually id="somediv", in which case y

[jQuery] alter document ready

2009-12-14 Thread Wendi Turner
I have a asp.net #c SlideShowControl in a default.aspx page. The SlideShowControl uses jQuery to set the xml file of image urls that the control displays with a $(document).ready( ...) function. How can I re-wrte this on client callback so that the xml image file referenced can change on the clie

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread MorningZ
Since you have two topics going on the same exact topic, i'll repeat what i suggested in topic # 2: Stop using the minified version for debugging purposes if your code doesn't work, you should be using the "full" version of jQuery, as the minified version adds a LOT of complexity when trying

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Henjo
Hi Scott, thanks very much for your elaborate writing. This should give me enough to work on it and get it done. I am rather new to jQuery and ajax altogether - so that my code wouldn't get a 10 I understand ;-) Thanks for your evaluation on this. I did install Fiddler & Firebug Lite and got som

[jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread Abbey
@Robert The code didn't work for me. @Charlie I tried length=0 and length=1 and the pane always goes past the footer div. $(".pane .arrowdown").click(function() { if($(this).next().length==1) { // charlie: will return true if at bottom, would have to test after the animation, or use length==1

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Scott Sauyet
On Dec 14, 4:33 pm, Henjo 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. The first thing I found

[jQuery] Re: Can't get a block of HTML added to the DOM

2009-12-14 Thread T.J. Simmons
That's the part that had me a little confused, that it's showing up at all; as far as I can tell, the way .append() is used is correct. A page, like Mike said, that shows what you're using and the context in which you're using it would definitely go a long way towards figuring this out. - T.J. On

[jQuery] Re: Debugging in IE

2009-12-14 Thread MorningZ
I would *definitely* start by using the non-minified version of jQuery, as it's 1000x easier to get an idea of what's going on (i see in the source of the page you are using the min-ed version) On Dec 14, 4:31 pm, Henjo wrote: > Hey Scott, > > thanks for posting. I will check this out and see i

Re: [jQuery] Re: Can't get a block of HTML added to the DOM

2009-12-14 Thread Michael Geary
Oh, wait a minute. You said the content *does* show up in the div. I think you need to post a link to a test page, so we can see what is actually happening. That would make it a lot easier to help troubleshoot. -Mike On Mon, Dec 14, 2009 at 2:15 PM, Michael Geary wrote: > T.J., I think you're

Re: [jQuery] Re: Can't get a block of HTML added to the DOM

2009-12-14 Thread Michael Geary
T.J., I think you're right on the money. Joseph, no need to wonder whether you've run into an issue with the .append() method. Instead, verify whether you actually have the right data on hand or not. Where you had this code: $('#somediv').append(html); Change it to: alert( html ); and see wha

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Henjo
The form is loaded on pageload. After that it is possible to make 1 call to the script again. After that it somehow renders no result in IE. I do not know how to get more details on what is missing and why - which drives me crazy 'cause it means I do not know how to fix it... I am quite lost here

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Gian-ava
Leonardo, I see. Firebug' error console says: Error: missing ) after argument list Line: 8, Column: 12 Source Code: } Strange, since I don't think this is correct. Also, it says: Error: syntax error Line: 7, Column: 30 Source Code: errorPlacement: function(error, element) {

[jQuery] Re: Can't get a block of HTML added to the DOM

2009-12-14 Thread T.J. Simmons
Have you tried it without the data.content? IE: var html = data; that should get you all of the HTML you're pulling in via AJAX. I haven't ever seen the .content method before, and a quick Google search came up with nothing for it.. maybe that's the problem? I'm sure someone who knows more will c

[jQuery] Extending JQuery auto complete code

2009-12-14 Thread AndrewM
Hi, Your jQuery examples really good thanks. However I have a couple of questions: 1. Can you advise which part of the code I need to extend so that the auto complete code does not call on the first page load. The field I am using it for needs some information text to appear when the page firs

[jQuery] Problem with show function and onmouseout

2009-12-14 Thread JacobDK
Hey all Im pretty new to JQuery, but got some things working, but now I came across somthing I cant get to work, even after Googling for some time. In an XSL file I have set an onmouseover event to a function which sets different things on a div, and then displays it accordingly to where the elemen

[jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread joseph7
Hi, So, I'm attempting to add HTML to a document via Ajax, but when I get back the content, I'm finding that no matter what I try, I can't get it added to the DOM correctly. Basically I'm doing this: $.post('ajax.php', function (data) { var html = data.content; $('#somedi

[jQuery] additional methods: minDate

2009-12-14 Thread dnagirl
In case anyone is using the .datepicker plugin along with .validate, here is a useful rule for dependant dates. ` jQuery.validator.addMethod("minDate", function(value, element, param) { try { var afterdate=$.datepicker.parseDate($(element).datepicker ('opti

[jQuery] Looking for image slider like this for jQuery

2009-12-14 Thread vs
I am trying to find a jQuery (or even any javascript) equivalent for this kind of slideshow: http://www.flashcomponents.net/upload/samples/2860/index.html?full=true Any suggestions?

[jQuery] validate (help with plugin)

2009-12-14 Thread Scott Phillips
I am trying to get the validate plugin (http://docs.jquery.com/Plugins/ Validation) to work with my forms, but all I seem to be able to produce is errors My code looks like this (I've commented out where I was trying to add it): $(function () { //$("#loginForm").validate({ $("#loginForm")

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Henjo
Hi Scott, first of all thanks for your help, I appreciate that! Here's the link to the website, it is the product wizard form: http://bit.ly/7v8pHu Henjo On Dec 14, 9:30 pm, Scott Sauyet wrote: > On Dec 13, 1:52 pm, Henjo wrote: > > > It works flawlessly in FF, Safari, Chrome... But IE is bei

[jQuery] Re: Debugging in IE

2009-12-14 Thread Henjo
Hey Scott, thanks for posting. I will check this out and see if I can find something here... Henjo On Dec 14, 8:51 pm, "Scott Stewart" wrote: > There is a Firebug Lite which runs in IE, it's not nearly as good as > Firebug, but it's better than nothing (or the "developer tools" in IE8 > > > > -

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Scott Sauyet
On Dec 13, 1:52 pm, Henjo 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? -- Scott

Re: [jQuery] Position()

2009-12-14 Thread Karl Swedberg
On Dec 10, 2009, at 12:39 PM, Paulodemoc wrote: Hello guys, i started another thread about the FullCalendar plugin, and I've noticed what's happening. The css 'top' and 'left' properties from the css aren't being calculated properly... The functions to calculate that uses the 'position()' fun

[jQuery] .focus() and non-IE browsers.

2009-12-14 Thread T.J. Simmons
Hi all, For some reason, it seems that the .focus() method (at least how I'm using it) isn't properly setting the focus to what I'm specifying. Here's the code I'm using.. maybe someone can help me with this. $(".blNum").bind("blur", function(){ if (a != b) { alert('Thing! Please f

RE: [jQuery] Debugging in IE

2009-12-14 Thread Scott Stewart
There is a Firebug Lite which runs in IE, it's not nearly as good as Firebug, but it's better than nothing (or the "developer tools" in IE8 -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Henjo Sent: Monday, December 14, 2009 2:46 PM To:

Re: [jQuery] Trying to select the first visible child in each group.

2009-12-14 Thread Andrei Eftimie
See here http://jsbin.com/osepu/edit On Mon, Dec 14, 2009 at 9:28 PM, wandrian wrote: > Hey folks. > > I am having a selector issue. Wondering if anyone might want to offer > their advice. > > I have a set of container divs. For each of the containers I am trying > to select the *first visible ch

[jQuery] Re: Trying to select the first visible child in each group.

2009-12-14 Thread MorningZ
oops.. too late with my reply... your selector and my "find then filter" are doing the same thing. the key point you figured out is "in each group", which means you had to start at "div.location" and loop through those

[jQuery] Debugging in IE

2009-12-14 Thread Henjo
Hi list, I am wondering how to do debugging in IE the best way. I installed fiddler and work with ie8's dev tools. The problem is I have a script that runs perfectly in FF, Chrome, Safari but not in IE. There the dynamic form wizard. stops after 2 loads... This is the site I am talking about htt

[jQuery] Re: Trying to select the first visible child in each group.

2009-12-14 Thread MorningZ
there *more than likely* is a quicker all in one selector to do this, but this http://jsbin.com/ijana/edit works as you asked plus might be easier to follow :-) On Dec 14, 2:28 pm, wandrian wrote: > Hey folks. > > I am having a selector issue. Wondering if anyone might want to offer > their ad

[jQuery] Re: Trying to select the first visible child in each group.

2009-12-14 Thread wandrian
You can see it in action at: http://jsbin.com/uzezi3/edit

[jQuery] Re: Trying to select the first visible child in each group.

2009-12-14 Thread wandrian
So this works: $('.location').each(function(){ $('div.trip:visible:first', this).addClass('first'); }); but it seems a little verbose. Is there a way of making it more efficient?

[jQuery] Re: Return values

2009-12-14 Thread Jojje
Oh i looked for a built in function for that but i must have missed it haha, Thank you so much, worked like a charm and really easy to setup to :) Thanks again :) On 14 Dec, 19:11, Michael Geary wrote: > OK, so the real question here is a bit different from the question I've been > trying to answ

[jQuery] Trying to select the first visible child in each group.

2009-12-14 Thread wandrian
Hey folks. I am having a selector issue. Wondering if anyone might want to offer their advice. I have a set of container divs. For each of the containers I am trying to select the *first visible child element* and add a class to it of first. I have built out an example in jsbin. At the moment my

[jQuery] Re: (Jquery Validate) Keep getting an error in IE8

2009-12-14 Thread snobo
I stumbled upon the same shit, and this is how IE8 reacts on OPTION tags without value specified (like, blahblah). Until jQuery is fixed to support it (and in my case I must stick to old version 1.2.6, so fix is impossible) the workaround is to always use blahblah notation, if possible. Of course i

Re: [jQuery]

2009-12-14 Thread waseem sabjee
go to google groups homepage to unsubscribe. On Mon, Dec 14, 2009 at 7:32 PM, Lord Gustavo Miguel Angel < goosfanc...@gmail.com> wrote: > unsuscribe >

Re: [jQuery] Re: Return values

2009-12-14 Thread Michael Geary
OK, so the real question here is a bit different from the question I've been trying to answer. :-) In general JavaScript coding, what I've been saying is true: If you want to write code that uses data downloaded by a $.ajax call, you need to put that code in a function called from the $.ajax succe

[jQuery] Re: how to get value between brackets in a string

2009-12-14 Thread MorningZ
like instead of saying ".text()" say something like ".getnumber()" ?? there is no built in way method to do so.. if there was a plugin programmed to exist for that, it would be just like the line of code Leonardo provided On Dec 14, 1:03 pm, tony stamp wrote: > thanks, but out of interest,

Re: [jQuery] how to get value between brackets in a string

2009-12-14 Thread tony stamp
thanks, but out of interest, how do i just get the number value? Leonardo K wrote: > > $('#pageCount').text().replace(')','').replace('(','') > > On Mon, Dec 14, 2009 at 10:41, tony stamp wrote: > >> >> I have a simple span element with the id of pageCount, which has a value >> of >> "(5)", f

[jQuery] Re: Return values

2009-12-14 Thread Jojje
Oh and you type "jojje" to see how it behaves with an existing username :) On 14 Dec, 18:33, Jojje wrote: > Ok, yes you can check it out > athttp://www.sonicconnection.se/se/index.php?site=_misc/register > > It´s in swedish but its the first field that uses the code to check if > the username al

[jQuery] Re: Return values

2009-12-14 Thread Jojje
Ok, yes you can check it out at http://www.sonicconnection.se/se/index.php?site=_misc/register It´s in swedish but its the first field that uses the code to check if the username already exists, it makes a call to a php script and the response is equal to the username if it exists in the database

[jQuery]

2009-12-14 Thread Lord Gustavo Miguel Angel
unsuscribe

Re: [jQuery] Re: Return values

2009-12-14 Thread Michael Geary
Looks like we have two threads going on the same topic. :-) To give you a real code example, I'd need to see the code that makes use of that 'result' variable you're setting. Where is that code and what does it look like? The bottom line is simple: whatever the code is that uses the 'result' vari

[jQuery] Re: Need help converting conventional code to jquery

2009-12-14 Thread Ibatex
Thats perfect, I think the eq(0) is what I was missing on my earlier attempts Much thanks, Leonardo!! On Dec 14, 6:52 am, Leonardo K wrote: > function togglePassFail(radioName) { >     var buttonGrp = document.getElementsByName(radioName); >     var radioValue = $(buttonGrp).filter(':checked').v

[jQuery] Re: Getting width of menu outputs incorrect size

2009-12-14 Thread merds
I'm having the same problem. When I get the widths of the LI's in FireFox or IE7/8 they are correct, but IE6 seems to be given me much smaller sizes and repeating a lot of the widths as well. On Dec 7, 8:28 pm, Niels wrote: > Hope someone can help me with this. > > I'm using superfish with the su

[jQuery] Superfish Joomla module: all subs with the same top-value

2009-12-14 Thread joge
hello, I am using the superfish module for Joomla! Now I want to align all sub and sub-sub- and so on-menus on the same vertical position, so they all appear directly underneath the main menu. How can I do that? The top-values in the css are absolute to their parent, so entereing a fix value ther

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Leonardo K
The debug:true only work with firebug (extension for firefox). The messages will appear in console On Mon, Dec 14, 2009 at 11:50, Gian-ava wrote: > > Leonardo, thanks for your interest in my case. > > I've tried out the code with the debug option. I just don't know what the > debug function will

RE: [jQuery] Re: load() function and IE8

2009-12-14 Thread Scott Stewart
"working" and "supported" are two different animals This is true... Back to my particular anomaly... I just replaced the "live" call with a "bind" call, and now there's nothing in Firefox either.. I'm using the Admintasia template (http://www.admintasia.com). Because of the way this is set up

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread ebru...@gmail.com
Then i think the problem is unique fields. Thanks for your reply! On 14 dec, 14:47, MorningZ wrote: > > "For some reason he rembers the old data" > > It's not remembering anything, it's simply reading the values > again...  after you do your save/edit/whatever, use ".val()" and other > things th

[jQuery] Re: load() function and IE8

2009-12-14 Thread MorningZ
"But if it's not supported then why would it work in Firefox? " "working" and "supported" are two different animals And it works because the "change" event does bubble events the way that works with ".live()", and, no surprise here, IE doesn't bubble events the way that works with ".live()" b

RE: [jQuery] Re: load() function and IE8

2009-12-14 Thread Scott Stewart
Thanks Karl, But if it's not supported then why would it work in Firefox? Secondly, would the bind method be a workaround? Thanks sas -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Karl Swedberg Sent: Monday, December 14, 2009 12:33

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Gian-ava
Leonardo, thanks for your interest in my case. I've tried out the code with the debug option. I just don't know what the debug function will generate and where I need to look to see the result. Otherwise, again, your code doesn't get validation to work. This one do work: $(document).ready(func

[jQuery] Re: Return values

2009-12-14 Thread Jojje
Hi! Yeah i got that tip before but i'm not sure i understand this. Could you perhaps give me an example with the code below :) regards George On 14 Dec, 14:27, Rick van Hoeij wrote: > because of the async of javascript I normally use callback functions > to do the value passing. So instead of r

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread MorningZ
> "For some reason he rembers the old data" It's not remembering anything, it's simply reading the values again... after you do your save/edit/whatever, use ".val()" and other things that set form field values and clear out what is there

[jQuery] Re: Why is this demo doesn't work?

2009-12-14 Thread MorningZ
Use one of the links listed on this page instead: http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery

[jQuery] Re: Return values

2009-12-14 Thread Rick van Hoeij
because of the async of javascript I normally use callback functions to do the value passing. So instead of return true or return false in a ajax function, it's better to call a function with the true or false as a parameter. Just my two cents ;) On 12 dec, 20:24, Jojje wrote: > How deep in the

[jQuery] Re: IE stops recurring ajax call

2009-12-14 Thread Henjo
Anyone?

Re: [jQuery] how to get value between brackets in a string

2009-12-14 Thread Leonardo K
$('#pageCount').text().replace(')','').replace('(','') On Mon, Dec 14, 2009 at 10:41, tony stamp wrote: > > I have a simple span element with the id of pageCount, which has a value of > "(5)", for example. I am attempting to get the just number value without > the > brackets, or some way of adju

[jQuery] how to get value between brackets in a string

2009-12-14 Thread tony stamp
I have a simple span element with the id of pageCount, which has a value of "(5)", for example. I am attempting to get the just number value without the brackets, or some way of adjusting the number and leaving the brackets. Any pointers? -- View this message in context: http://old.nabble.com/ho

Re: [jQuery] Code to remove div when h3 is empty

2009-12-14 Thread Charlie
if the empty h3 tag exists in the DOM you can test the length of text within it. using theoretical class of "postDiv" loop through all the postDiv h3's: $(".postDiv h3").each(function() {  // "each" loops through all matching selectors one at a time           if( $(this).text().length==0 ){ 

Re: [jQuery] Need help converting conventional code to jquery

2009-12-14 Thread Leonardo K
function togglePassFail(radioName) { var buttonGrp = document.getElementsByName(radioName); var radioValue = $(buttonGrp).filter(':checked').val(); var detailDiv = $(buttonGrp).eq(0).parent().next(); if ( radioValue == 'p' ){ detailDiv.hide(); }else{ detailDiv.sh

Re: [jQuery] validation plugin. errorplacement and onblur

2009-12-14 Thread Leonardo K
You can use the errorLabelContainer to put all your label in a div, and the plugin will handle this. errorLabelContainer: "#messageBox", On Sun, Dec 13, 2009 at 09:33, Droy wrote: > Greetings! I had a small problem: all errors received in plugin > validation I take out in div the block with id

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Leonardo K
Try to use the debug:true option to find what's going on. Check if the form has the id=actionform. $('#actionform').validate({ debug:true, submitHandler: function(form) { $(form).ajaxSubmit({ success: function() { $('#actionform').hide();

[jQuery] [tooltip] Tooltip plugin not behaving in IE7

2009-12-14 Thread fredriley
Hi It looks like the 'quirkiness' of IE is rearing its ugly little head again, unless I'm doing something really dopey. If you view the test doc at: http://www.nottingham.ac.uk/~ntzfr/test/ajax/jquery/jquery_tooltip_plugin_test.html in a proper browser such as Firefox or Opera, the Tooltip plugi

[jQuery] Re: validate

2009-12-14 Thread caii
can't reply??!! On Dec 14, 6:04 pm, sucheta wrote: > Rob, > > Thanks . I will try this and get back .. > > Sucheta > > On Dec 12, 1:39 pm, rpinna wrote: > > > I have a similar situation with a timepicker control.  I have a text > > input and an image that displays a popup when selected. > > The

[jQuery] Why is this demo doesn't work?

2009-12-14 Thread zirho
I looked up this page. now i know that the code in demo is not available anymore. somehow this link has gone http://jquery-ui.googlecode.com/svn/trunk/ui/ui.core.js does anyone know about this? how can I make this demo work? thanks

[jQuery] JQuery treeview plugin and async fetches for more tree-data

2009-12-14 Thread gouldtv
I'm trying to create a collapsing/expanding animated treeview in Javascript. I found the JQuery treeview plugin, and it's working great. However, I have one key need that I can seem to figure out with the samples provided: Basically I need the "advanced async feature" they provide (http:// jquer

[jQuery] selector canbe chain.

2009-12-14 Thread caii
THIS WORK: $("li:lt(8):gt(3):even"); but this did not: $("ul:has(li:eq(3))");

[jQuery] Code to remove div when h3 is empty

2009-12-14 Thread mockaccino
Hi, I'm a newbie to the concepts of programming let alone query and I was wondering if this was possible. I've got a Wordpress site that has a h3 tag nested inside a div. The problem is that a post is removed everyday which leaves the h3 empty but the div is still there taking up real estate makin

[jQuery] treeview loads more than 1 subtree with async feature

2009-12-14 Thread gouldtv
I think I may have found a bug with the jQuery treeview plugin: Steps to reproduce: 1) Edit the sample "source.php" file that comes with the plugin to include a "second" lazy-loading sub-tree (see below) 2) Next, run the async demo page. Click the second async link you just added. Go into fir

[jQuery] blockUI after a certain time

2009-12-14 Thread milo
Hi all, I'd like to start the blockUI only after a certain time; this is because I don't want to see the blockUI message it if my request takes 0,3" to be served. Is it possible? thx Danilo

[jQuery] Pierzchalski, Brady is out of the office.

2009-12-14 Thread Brady . Pierzchalski
I will be out of the office starting 12/14/2009 and will not return until 12/28/2009. Please see Cory McCutchin with and urgent issues. ** CONFIDENTIALITY NOTICE: This is a transmission from Kohl's Department Stores, Inc. and

[jQuery] Re: validate

2009-12-14 Thread sucheta
Rob, Thanks . I will try this and get back .. Sucheta On Dec 12, 1:39 pm, rpinna wrote: > I have a similar situation with a timepicker control.  I have a text > input and an image that displays a popup when selected. > The popup fills the input field when a selection is made.  The > timepicker

[jQuery] UI dialog uses old data

2009-12-14 Thread ebru...@gmail.com
Hello, I am using the UI dialog plugin. People can edit there dns data off a domain in this dialog. When i uses it for the first time everything works fine. But when i delete 2 of the three rows from the database he shows just one record, this is oke, but when i submit the data he adds the old da