[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Steffan A. Cline
on 8/31/09 5:27 PM, Eric Martin at emarti...@gmail.com wrote: If you are referring to the known issues I mentioned - since they are browser issues, Eric, thanks for the response. What issues did you mention that I missed? you'd need to implement something that woul keep track of state in

[jQuery] Re: $.ajax() issue

2009-09-01 Thread g...@iec
Hi, I installed fiddler and analyised the traffic but i am not able to find the result. So, can you help me out to find whats going wrong? On Aug 29, 7:13 pm, MorningZ morni...@gmail.com wrote: I do not understand did you not ask in the original post: So i need help to figure out whether

[jQuery] Re: Https mixed content error with ajax

2009-09-01 Thread Jonathan Vanherpe (T T NV)
Watch the 'net' tab in Firebug, make sure everything that pops up there is https:// . If everything /is/ https:// , post the url here (either of your site or just a limited test case). Jonathan UglySkinnyGuy wrote: Yes thats all fine. Like I said it only occures when I make an ajax call

[jQuery] Re: Jquery at Sears

2009-09-01 Thread Jonathan Vanherpe (T T NV)
Erik Reppen wrote: I should specify. It's not the little guy in the upper left although it might be worth plugging it into that. It's all the silly ones down below. On Aug 31, 11:58 pm, Erik Reppen erik.rep...@gmail.com wrote: What do you guys think of my precious. I'm not sure how many other

[jQuery] Re: jQuery accordion menus flickering in IE 6 and 7

2009-09-01 Thread Jörn Zaefferer
This should be fixed in trunk. Give the latest stylesheet a try: http://jquery-ui.googlecode.com/svn/trunk/themes/base/ui.accordion.css Jörn On Mon, Aug 31, 2009 at 8:54 PM, Moose1rcob...@gmail.com wrote: I've seen several threads about this online but haven't not seen a solution that has

[jQuery] Re: Strange problem with ui.datepicker.js

2009-09-01 Thread Lee Mc
Does anyone have any ideas atall on this? Is it a ui.datepicker bug? Any thoughts/pointers/things to check would be greatly appreciated. Regards, Lee On Aug 28, 4:02 pm, Lee Mc lee.mcmul...@gmail.com wrote: Hi all, Getting a very strange issue with the datepicker component.  It seems

[jQuery] Re: $.ajax() issue

2009-09-01 Thread g...@iec
Hi MorningZ, I found the problem. In ie, 'contentType' changed from 'application/xml' to 'text/xml' and on server-side we are expecting 'application/xml'.And in firefox,contentType is application/xml. But don't know how it got changed? Any idea is welcomed. On Sep 1, 11:22 am, g...@iec

[jQuery] Effects: problem with slideToggle() and IE7

2009-09-01 Thread nordic_dev
Hi, I use slideToggle() to slide a DIV up and down. The section (DIV) should be closed on load. Works fine in Firefox. The problem is IE7. If I use display: none; the section opens on load. Is there a way to use display: inline (or leave it out since it's default value) and slideToggle to be

[jQuery] Re: not returning a JSON object

2009-09-01 Thread defdev
Hi, sorry - what is json.d? On Aug 27, 6:43 pm, W. Young wayland.yo...@docupak.com wrote: have you tried json.d ? On Aug 27, 9:38 am, defdev sp...@definitivedevelopment.co.uk wrote: Hi, i have a form defined as follows: $(document).ready(function(){        

[jQuery] Re: save to pdf

2009-09-01 Thread Liam Potter
That's not possible. David .Wu wrote: Is there any plugin can let me save the part of pag as pdf?

[jQuery] Re: not returning a JSON object

2009-09-01 Thread Nick Fitzsimons
2009/8/27 defdev sp...@definitivedevelopment.co.uk: from the server side:  echo '{ message: why wont this work }'; That isn't valid JSON. According to the JSON spec http://json.org/, the name part of a name: value pair needs to be quoted with double quotes, and a strict JSON parser will

[jQuery] Re: not returning a JSON object

2009-09-01 Thread defdev
Nick, thanks, but that didnt solve it either. return from the ajax/form submit: # alert(json); { message: why wont this work } # alert(json.message); undefined in firebug, the headers are correct (application/json) - im struggling to see whats wrong? On Sep 1, 11:55 am, Nick Fitzsimons

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread Namir
Well its for a chat box and I want to remove old messages as new messages come in, so that there are 20 messages being shown at any one time, using = works perfectly if you add 1 new message because it selects the last message ID and subtracts 20, but if you add 2 messages then the first message

[jQuery] Re: Hover does not stop

2009-09-01 Thread Mario
ok, i tried this and this works fairly. but another question is: can i change the state AFTER the animate() is finished? (there are still some problem when i touch certain points while sliding) $(function(){ var state = 0; $('#navigation').mouseover( function() {

[jQuery] Feedback on site, contents, enquiries, information

2009-09-01 Thread bharathbhooshan ambati
Hi Can any body suggest me a best jquery examples of FeedBack on Site,Contents,Enquiries,Information of a site -- Regards, Bharath

[jQuery] How to Do This

2009-09-01 Thread bharathbhooshan ambati
Hi I have seen one site which consists of share/Email in a single tab. Can any body tell me hw to do this FYI.. site: http://www.networkworld.com/news/2009/083109-vmworld-xen-cloud-initiative.html?ts0hbstory=vmworld Please find the attachment -- భరత్ భూషణ్ అంబటి attachment: imp.JPG

[jQuery] Ajax Auto Updating in Modal Popup in jQuery

2009-09-01 Thread Anindya Roy Chowdhury
Hello, I am doing software engineering in bangladesh. Right now i am doing Screenshot development of my current project. I am gonna using jQuery as Javascript framework in my project. For this i need some help as i dont know jQuery very well. Is it possible to make Modal popup which is

[jQuery] [Autocomplete] Autofill Comma Seperator Issues

2009-09-01 Thread Mil
Hi, I am trying to use this autocomplete http://docs.jquery.com/Plugins/Autocomplete but I'm having some issues with it. I'm trying to create a simple tag autocomplete feature. This is what I want to type (Example 1) TextArea: Cake, Ca, Caldren, Calimari, This is what I get (Example 2)

[jQuery] Re: save to pdf

2009-09-01 Thread sanjib dhar
achua.com On Tue, Sep 1, 2009 at 11:23 AM, David .Wu chan1...@gmail.com wrote: Is there any plugin can let me save the part of pag as pdf?

[jQuery] How to detect window is scroll or not using window.scrollTo()

2009-09-01 Thread Rupak
Hi all, Is there a way to detect whether window is scroll or not .I am using window.scrollTo() function. Thanks Rupak

[jQuery] circular autoscrolling

2009-09-01 Thread Daniel
Is it possible in jCarousel to have circular autoscrolling? I tried setting the circular scrolling example to autoscroll and it wouldn't work. However, when I took all the content out of the container it worked somehow. Is this a bug? The only thing I changed in the example was:

[jQuery] [validate] [ajax]

2009-09-01 Thread HairyJim
Hi all, Still green with JQ. I have the following code which does work to a point except the validation runs but the form submits (via ajax) regardless. I know I need to change the code round, ajax in the the validate call - I think. Could do with help on this! $(document).ready(function() {

[jQuery] Table TableRow Selector String Formator

2009-09-01 Thread gBurgur
I am a newbie to jQuery and I posted a question a couple of days ago and it was swiftyly answer. The results of which helped me create a couple of functions which I am posting. Initially, I was searching for rows of a table with wildcard search parameter. Example: id*=\IndividualsExisting

[jQuery] Ajax error response text

2009-09-01 Thread Reggie Santos
Hi, I want to ask if there is a way to get the response body of an AJAX request that resulted in error (406 Not Acceptable). I've been looking for the response body in the XMLHttpRequest object that is returned with the error callback but the responseText only contains an empty string and the

[jQuery] Re: [validate] [ajax]

2009-09-01 Thread Jörn Zaefferer
You need to use ajaxSubmit and the submitHandler option. Here is an example: http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html Jörn On Tue, Sep 1, 2009 at 12:25 PM, HairyJimjames.d...@gmail.com wrote: Hi all, Still green with JQ. I have the following code which

[jQuery] Re: How to Do This

2009-09-01 Thread Glazz
Hi.. I don't see what you want to do... please be more specific :) On Sep 1, 1:23 pm, bharathbhooshan ambati bharathbhooshan.amb...@gmail.com wrote: Hi I have seen one site which consists of share/Email in a single tab. Can any body tell me hw to do this FYI..

[jQuery] Re: Hover does not stop

2009-09-01 Thread amuhlou
Looking at the API the animate does have a callback function that you can use to do the stuff after the animation completes, for example $('#navigation').mouseout( function() { if(state == 1) { $(this).animate({left: '-210'},'slow', 'easein',function(){

[jQuery] Re: How to detect window is scroll or not using window.scrollTo()

2009-09-01 Thread Karl Swedberg
Hi Rupak, Not sure what what you mean by window is scroll and the question seems like more related to general JavaScript than jQuery in particular, but if you're trying to determine whether the window has been scrolled down, you can use the scrollTop property. For Firefox and IE, you'd

[jQuery] Re: and [tooltip] integration

2009-09-01 Thread theosoft
I too was having the same problem, but just solved it. Something you said about needing to call it after the element was created sparked the solution. You need to specify the function inside a document.ready, however I use the shortcut. $(function(){ $('img').tooltip(); }); That should

[jQuery] Re: Cycle: replace slide in running slideshow?

2009-09-01 Thread engineerachu
All these are Okay. But how will it work if there are huge contents in a div? Example, 100 rows in a DataGrid? -- View this message in context: http://www.nabble.com/Cycle%3A-replace-slide-in-running-slideshow--tp25213947s27240p25240553.html Sent from the jQuery General Discussion mailing

[jQuery] image slide show with vertical thumbnail rotation

2009-09-01 Thread vinny
Hi All, Please help me out from this.i want a jquery image slide show with thumbnail rotator. Example for this is:--- http://demo.gavick.com/ something like this example Thanks vaneet

[jQuery] jQuery Validation Submitting without Validation in Firefox (validate)

2009-09-01 Thread jake.d.hol...@googlemail.com
Hi Guys, I've put together a pretty simple competition script - it's commented out below and you can find the demo at http://www.jakeisonline.com/stackoverflow/jqueryvalidation/page/ (you'll find the code at the bottom of the page) I am using a jquery plugin to achieve the validation:

[jQuery] Re: How to detect window is scroll or not using window.scrollTo()

2009-09-01 Thread KeeganWatkins
@Rupak, I'm not sure if this answers your question, but all wrapped sets have a scrollTop() method that can be used to retrieve or set the scrollTop value. For example, to determine how far down the page has been scrolled, you can use: var top = jQuery(window).scrollTop(); The same method can

[jQuery] Re: How to detect window is scroll or not using window.scrollTo()

2009-09-01 Thread KeeganWatkins
Here's the docs: http://docs.jquery.com/CSS/scrollTop On Sep 1, 9:34 am, KeeganWatkins mkeeganwatk...@gmail.com wrote: @Rupak, I'm not sure if this answers your question, but all wrapped sets have a scrollTop() method that can be used to retrieve or set the scrollTop value. For example, to

[jQuery] Professional Training

2009-09-01 Thread Jeff
Does anyone know of college-level jQuery training/certification courses? I'm looking for something like Zend's PHP certification, but for jQuery. Thanks!

[jQuery] Port Prototype Code to jQuery?

2009-09-01 Thread Jermaine
Hi All, I want to refactor (port) the following PrototypeJS code to jQuery. I'm in the process of learning jQuery and currently stuck with porting this piece of code... Any idea's? [code] var total = 0; // For each fieldpair that has a child with a checked input // we get the sibling with a

[jQuery] Re: jQuery Validation Submitting without Validation in Firefox (validate)

2009-09-01 Thread Jörn Zaefferer
You've got a script error on submit. Set debug:true to stop the submit and look at the error. Jörn On Tue, Sep 1, 2009 at 3:45 PM, jake.d.hol...@googlemail.comjake.d.hol...@googlemail.com wrote: Hi Guys, I've put together a pretty simple competition script - it's commented out below and

[jQuery] text without backspace get error in cluetip

2009-09-01 Thread khin
Hi all, When i have: title=test|contentwithoutspacehover/a if the width of the text is more bigger than the configuration of cluetip, the text continues out of cluetip box. Have one way to solve that? Rly Thx

[jQuery] Re: text without backspace get error in cluetip

2009-09-01 Thread Liam Potter
There is no simple, perfect way to combat this and keep the text and this happens in all browsers (as far as I know). You could look into javascript hyphenation or just hiding the overflow of the tooltip. khin wrote: Hi all, When i have: title=test|contentwithoutspacehover/a if

[jQuery] Re: text without backspace get error in cluetip

2009-09-01 Thread khin
Thx for the reply! I will look for javascript hyphenation, and thx for the good tip (overflow). I will try this two ways. See ya

[jQuery] Looking to sell a jQuery Conference (Boston) ticket

2009-09-01 Thread Eric
Hello, I have a ticket for the jQuery conference in Boston in two weeks that I'm not going to be able to use. I'm looking to sell it for $150 (original ticket price). Please contact me if you're intersted. Thanks.

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Eric Martin
If you are referring to the known issues I mentioned - since they are browser issues, Eric, thanks for the response. What issues did you mention that I missed? http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes [under Known Issues] you'd need to implement something that

[jQuery] Validate Text Field onblur (Bassistance Validation Plugin)

2009-09-01 Thread I-CRE8
Anyone have an example on how to get the Bassistance Validation Plugin to validate text inputs onblur, I thought it did this by default but it is not happening for me. Thanks, Dave Buchholz.

[jQuery] Re: Validate Text Field onblur (Bassistance Validation Plugin)

2009-09-01 Thread Dave Buchholz - I-CRE8
To be clearer on what I am trying to achieve if nothing is entered I want to trigger an error Thanks, Dave Buchholz

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Steffan A. Cline
on 9/1/09 8:33 AM, Eric Martin at emarti...@gmail.com wrote: If you are referring to the known issues I mentioned - since they are browser issues, Eric, thanks for the response. What issues did you mention that I missed? http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes

[jQuery] Unsubscribe

2009-09-01 Thread Peter Stulzer
How do I unsubscribe this Newsgroup? Von meinem iPhone gesendet

[jQuery] Re: App like hangman

2009-09-01 Thread Boris Trivic
Problem fixed with: helper: clone in draggable element... On Aug 26, 8:19 pm, Boris Trivic trivu...@gmail.com wrote: Well, maybe you don't understand whats the problem, so here is screenshot: http://caraudio-rs.info/snapshot1.png Do you think it's the bug or my mistake? On Aug 25, 1:08

[jQuery] Re: Validate Text Field onblur (Bassistance Validation Plugin)

2009-09-01 Thread Dave Buchholz - I-CRE8
Got it, this code onfocusout: function(element) { this.element (element); }, gives me what I am looking for Dave Buchholz

[jQuery] Is there a more efficient Method.

2009-09-01 Thread Keo
Hello, I use Jquery on a web page that serves constant updates to the User. I'm wondering if there is a more efficient method for updating the content divs. A simplified view of the layout I use is this. DIV ID = C1 class=content DIV Class=A/DIV DIV Class=B/DIV DIV Class=C/DIV

[jQuery] Re: couple of Cycle questions

2009-09-01 Thread Mike Alsup
Firstly, the images are different sizes and I'd really like to be able to centre them in the container div. Can't do it with CSS, so I'm guessing Cycle calculates positions from the top-left. Can this be overcome? The way to do that is to wrap your images in divs and center the images within

[jQuery] Re: jQuery accordion menus flickering in IE 6 and 7

2009-09-01 Thread Moose1
Thanks for the help. Turns out it has to do with the other cold (Coldfusion) on our ancient website somehow not playing well with jquery in IE. Cheers. On Sep 1, 3:27 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: This should be fixed in trunk. Give the latest stylesheet a

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread aquaone
Then use indexes from the parent and :lt ( http://docs.jquery.com/Selectors/lt#index) aquaone On Tue, Sep 1, 2009 at 04:07, Namir namiras...@hotmail.com wrote: Well its for a chat box and I want to remove old messages as new messages come in, so that there are 20 messages being shown at any

[jQuery] Re: Is there a more efficient Method.

2009-09-01 Thread MorningZ
maybe: $(#C2 div).each(function() { $(this).html( + data[Data + this.className]); } untested, but it seems like it would work fine *as long* as the only class applied to those children div's is that single letter or what not On Sep 1, 11:52 am, Keo kenneth.d.far...@gmail.com wrote: Hello,  

[jQuery] First Plugin Help

2009-09-01 Thread IAmCorbin
Could someone help me with the following, I'm just learning jquery and I had this working with a global variable (I know, bad, but I'm just learning). I have 4 draggable elements and $this.html(topZIndex); is only incrementing and displaying in the last one when I mouse over any of the 4 elements

[jQuery] Re: Scrolling problem

2009-09-01 Thread Kevin
Nevermind. After much trial and error, I pieced together some 'dirty' code to make it work. You can see it at the link above if you are having the same issues. Thanks! Kevin

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-01 Thread Alan
Got it. $('#form1').ajaxForm(function() { alert(It helps to enter the correct form name.); });

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-01 Thread Mike Alsup
        $('#form1').ajaxForm(function() {                 alert(It helps to enter the correct form name.);         }); :-) By the way, you don't need to guard against accidentally invoking ajaxForm more than once on the same form. ajaxForm won't bind the submit event multiple times. Just

[jQuery] Re: Is there a more efficient Method.

2009-09-01 Thread Kenneth Farmer
That might work. You could bind each child div with a custom event that would have it update itself from the passed in data. Then you could just trigger the event for that parent element. It would be interesting to see if it's faster since it doesn't have to search for the child selectors each

[jQuery] Re: not returning a JSON object

2009-09-01 Thread James
What happens if you change the type to text/html? (or not force any types.) On Sep 1, 1:03 am, defdev sp...@definitivedevelopment.co.uk wrote: Nick, thanks, but that didnt solve it either. return from the ajax/form submit: # alert(json); { message: why wont this work } #

[jQuery] Re: Jquery at Sears

2009-09-01 Thread Erik Reppen
Yeah, that's one way to discover you're not supposed to put stuff like that in your URLs. Another might be to listen to the only actual web- specific developers you have. There were a few smiles about that. I'm not saying that I was smiling. I'm also not saying that seeing that happen made my

[jQuery] Re: Looking to sell a jQuery Conference (Boston) ticket

2009-09-01 Thread Eric S.
The ticket has been spoken for. On Sep 1, 11:19 am, Eric estrathme...@gmail.com wrote: Hello, I have a ticket for the jQuery conference in Boston in two weeks that I'm not going to be able to use.  I'm looking to sell it for $150 (original ticket price).  Please contact me if you're

[jQuery] Re: Port Prototype Code to jQuery?

2009-09-01 Thread Josh Powell
can you send the html too?

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread Namir
I tried using this $(span.message[id=+old_messages+]:lt(100)).hide (slide, {direction: up}, 2000); but it doesnt seem to be working correctly On Sep 1, 7:07 pm, aquaone aqua...@gmail.com wrote: Then use indexes from the parent and :lt (http://docs.jquery.com/Selectors/lt#index) aquaone

[jQuery] All Elements Except 2

2009-09-01 Thread a1anm
Hi, I'd like to select all elments on my page except 2. How would I do this? The elements I don't want to select are .bar6 and .homelink. Thanks.

[jQuery] Re: All Elements Except 2

2009-09-01 Thread amuhlou
Try the .not() method http://docs.jquery.com/Traversing/not On Sep 1, 8:28 pm, a1anm alanmoor...@gmail.com wrote: Hi, I'd like to select all elments on my page except 2.  How would I do this? The elements I don't want to select are .bar6 and .homelink. Thanks.

[jQuery] Re: Unsubscribe

2009-09-01 Thread amuhlou
On the right side of the page, choose Edit my Membership There, you will be able to choose the No Email option. On Sep 1, 4:52 pm, Peter Stulzer pstul...@mac.com wrote: How do I unsubscribe this Newsgroup? Von meinem iPhone gesendet

[jQuery] Re: Unsubscribe

2009-09-01 Thread Peter Stulzer
Thank you amuhlou. That's what I tried first but I still get all the mails. Is there another way to unsubscribe or can some moderator just kick me out of all the jQuery groups I'm in right now maybe? Thanks for any help. Peter Von meinem iPhone gesendet Am 01.09.2009 um 22:44 schrieb

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread Namir
wouldnt work, even if I set the index to count the number of messages and subtract 20 and index those as sometimes there may be missing ID's as they may have been deleted. On Sep 1, 9:59 pm, James james.gp@gmail.com wrote: Try using just: $(span.message:lt(100)) If you want to remove

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread James
It doesn't matter if they're missing IDs. You don't need the IDs. (Also, IDs cannot begin with a number. It's not valid.) All you need to know is how many new messages you received on your latest update (to determine how many old ones to remove), and your maximum number of messages to display at

[jQuery] changing source of image, on click, first time size is wrong

2009-09-01 Thread Andy
I've got an image in a page that is hidden. When someone clicks on a link somewhere else in the page, I swap in a new source for: attr(src) Then I show() the container surrounding the image so it displays. Then I set some other elements near it to the same width. It's a popup and I don't

[jQuery] setting height of popup multiple times, background image still shows in IE6

2009-09-01 Thread Andy
I have a hidden popup that I populate with content and it dynamically expands to the size of the content. I then show the popup. When a user clicks on another link, it populates the popup with longer or shorter content. When the content is SHORTER, it seems to show the background image that

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread James
Try using just: $(span.message:lt(100)) If you want to remove elements that are on the bottom, you may want to use gt() instead of lt(). For example, suppose your code looks like: span class=message id=msg5test/span // index 0 span class=message id=msg4test/span // index 1 span class=message

[jQuery] Re: Unsubscribe

2009-09-01 Thread amuhlou
oh, looks like there's also an Unsubscribe button on that same Edit my Membership page. Have you tried that? On Sep 1, 8:52 pm, Peter Stulzer pstul...@mac.com wrote: Thank you amuhlou. That's what I tried first but I still get all the   mails. Is there another way to unsubscribe or can some

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread Namir
Thats a very smart way of doing it. Thanks a lot. Also why is it invalid to start an ID as a number? I'm not receiving any errors by doing it. Should I instead set a custom attribute called msg_id and use that? On Sep 1, 10:21 pm, James james.gp@gmail.com wrote: It doesn't matter if they're

[jQuery] Re: code not working

2009-09-01 Thread Andre Essak
Hi Mike thank you for your interesting about my email and I wish If you accept my apologies for my mistakes in my first mail I have sent to group so my question finally I want create function fired after changed in textbox asp.net to validate the data type that inserted in this textbox as

[jQuery] Howto: replace the current webpage with content from another webpage.

2009-09-01 Thread lihao
I am trying to define an onclick event to a form button, so that when I click this button, content from another webpage will overwrite this page (not open a new webpage). I've tried the below code (sample) which is not working. form action=/script method=post ..other elements../ input

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread aquaone
*http://www.w3.org/TR/html4/types.html#type-id ID* and *NAME* tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (-), underscores (_), colons (:), and periods (.). On Tue, Sep 1, 2009 at 14:44, Namir namiras...@hotmail.com wrote:

[jQuery] Re: couple of Cycle questions

2009-09-01 Thread cherry.aus...@gmail.com
Mike, thank you for taking the trouble to reply :) I should have thought of the extra divs ... and am doing it now. Firefox is giving me the eq error under the CSS tab (your demo doesn't get it) but, as it doesn't seem to do anything, I won't worry about it! Cheers, Cherry. On Sep 1, 7:46 pm,

[jQuery] Re: Port Prototype Code to jQuery?

2009-09-01 Thread Ricardo
This should work, at least the logic is transposed: $('.fieldpair').each(function(){ var self = $(this); if (self.find('input:checked').length){ total += +self.find('input:text').val(); } }); On Sep 1, 10:08 am, Jermaine jermaine2...@gmail.com wrote: Hi All, I want to

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread Ricardo
Just for the record, ignoring performance and the invalid IDs, this could be done with filter(): $('span.class').filter(function(){ return this.id y; }); cheers, - ricardo On Aug 31, 6:57 pm, aquaone aqua...@gmail.com wrote: indeed. there's gotta be a better solution than this. if you

[jQuery] Clickable autocomplete, like google

2009-09-01 Thread ladksak
Hello I'm looking for an autocomplete that have no submit button, but that when the user click on the autocomplete keyword he would be redirected to another URL, that i will choose i'm using http://dyve.net/jquery/?autocomplete but even the author dont know how to make this example: user type

[jQuery] Why am I getting the error missing ) after argument list with this code?

2009-09-01 Thread Rick Faircloth
Here's the code: beforeSend: function() { if( $('input[name='authorization']:checked').val() == 0) { $('#agree').fadeIn(500); return false; } else { $('#rentalAppLoader,

[jQuery] [blockUI] - issue closing element modal

2009-09-01 Thread hburgund
Hi- I need a modal window within an element on my page and the BlockUI plugin works great for this. The problem is that I want a button on the blockUI message that will close the block. I can't seem to get this to work. If I put the button elsewhere on the page, it works to close the block, but

[jQuery] inconsistency in closest()

2009-09-01 Thread Jeremy Ross
I've noticed inconsistent behavior with closest(). In my use case, it finds the expected ancestor initially. However, after a bit of DOM manipulation, it fails to find the expected ancestor even though the structure of DOM elements have not been modified in a way that should cause it not to

[jQuery] Form built by ajax doesn't submit

2009-09-01 Thread Reynolds Design Studio
Hello, I'm making a utility where you can upload multiple files at once then one by one write up a description for them as they display on the screen. This works for the first file. I send the request to a php file through ajax and the php file will respond with the next file and form. I can

[jQuery] Re: - issue closing element modal

2009-09-01 Thread Mike Alsup
I need a modal window within an element on my page and the BlockUI plugin works great for this.  The problem is that I want a button on the blockUI message that will close the block.  I can't seem to get this to work. If I put the button elsewhere on the page, it works to close the block,

[jQuery] Re: Why am I getting the error missing ) after argument list with this code?

2009-09-01 Thread Mike Alsup
  if    (   $('input[name='authorization']:checked').val() Clean up those quotes!

[jQuery] Re: Form built by ajax doesn't submit

2009-09-01 Thread Mike Alsup
what i get back from ajax looks exactly the same as the form above just with updated values. Instead of doing this: $(.button).click(function() { ... do this: $(.button).live('click', function() { ... http://docs.jquery.com/Events/live

[jQuery] Re: Howto: replace the current webpage with content from another webpage.

2009-09-01 Thread Mike Alsup
I am trying to define an onclick event to a form button, so that when I click this button, content from another webpage will overwrite this page (not open a new webpage). I've tried the below code (sample) which is not working. form action=/script method=post   ..other elements../   input

[jQuery] Re: Why am I getting the error missing ) after argument list with this code?

2009-09-01 Thread Rick Faircloth
Thanks, Mike...you're right, the quotes were the problem. Changing 'authorization' to authorization removed the error, but I didn't think single quotes within single quotes were a problem as long as they are paired correctly...guess I was wrong. (Not the first or last time!) Rick

[jQuery] Do events remain is memory when element is removed from DOM?

2009-09-01 Thread roydukkey
Is it necessary to unbind events from elements before removing them. As like the following: $(#list).find(li).unbind(hover).remove(); $(#list).html(List of New LI's); I'm building a plugin, and I want to know if the events listners will remain in memory, as code similar to the above will run

[jQuery] Re: First Plugin Help

2009-09-01 Thread IAmCorbin
I fixed it, if anyone has any tips for doing this more efficiently I would appreciate them. Also, I still need to learn how to add additional methods to my functions. For this one I'm trying to create a destroy method that will destroy the draggable and unbind the mouseenter zIndexing

[jQuery] Re: Do events remain is memory when element is removed from DOM?

2009-09-01 Thread James
Correct me if I'm wrong, but I think Firefox does cleanup those events, but IE (v6 at least, I know) doesn't, so it creates memory leaks. It's probably good practice to unbind them. On Sep 1, 1:18 pm, roydukkey royduk...@gmail.com wrote: Is it necessary to unbind events from elements before

[jQuery] Get the element that I bind to live()

2009-09-01 Thread Ami
This is my Html: I am trying to get the element that I binded to live(), but always i am getting it's children. For example, this is my code: div id=div1 class=theClassbHye/b/div div id=div2 class=theClasspHello/p/div div id=div3 class=theClassdivbHello World/b/div/div /div script

[jQuery] Re: Get the element that I bind to live()

2009-09-01 Thread Amina
I don't want to use $(this).parents() My question is, if there is something like event.target that give me the element, that I attach the event to? (live event) On 2 ספטמבר, 03:42, Ami aminad...@gmail.com wrote: This is my Html: I am trying to get the element that I binded  to live(), but

[jQuery] Joining values in ajax load

2009-09-01 Thread robert...@gmail.com
Newbie here - Whenever I try to join variables I get results for first item (CustNum) only...PartNum returns as 'undefined'. Can someone tell me the problem with this code: $(document).ready(function() { $(.mybutton).click(function(event) { $(#myDiv).load(Test.asp?CustNum=+ $('#CustNum').val()

[jQuery] Re: Joining values in ajax load

2009-09-01 Thread James
The code looks correct as far as I can see. You're going to have to provide some HTML of your #CustNum and #PartNum. On Sep 1, 2:54 pm, robert...@gmail.com robert...@gmail.com wrote: Newbie here - Whenever I try to join variables I get results for first item (CustNum) only...PartNum returns as

[jQuery] Re: Port Prototype Code to jQuery?

2009-09-01 Thread Dave Methvin
I think you can let the selector do all the work: var sum = 0; $(.fieldpair :checked + :text).each(function(){ sum += +this.value; }); It's rare I ever find a use for the sibling selector!

[jQuery] Re: Do events remain is memory when element is removed from DOM?

2009-09-01 Thread mkmanning
.remove() will also remove all event handlers and internally cached data http://docs.jquery.com/Manipulation/remove#expr On Sep 1, 4:18 pm, roydukkey royduk...@gmail.com wrote: Is it necessary to unbind events from elements before removing them. As like the following:

[jQuery] Re: Do events remain is memory when element is removed from DOM?

2009-09-01 Thread roydukkey
Sorry, I can't verify your claim. But, you know for sure that ie6 leaks, then it's important that I unbind them. Thanks, James. On Sep 1, 8:20 pm, James james.gp@gmail.com wrote: Correct me if I'm wrong, but I think Firefox does cleanup those events, but IE (v6 at least, I know) doesn't,

  1   2   >