[jQuery] Re: [validate] phoneUS problem

2009-03-27 Thread Jörn Zaefferer
A phone-method for US numbers is included in addtional-methods.js: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/additional-methods.js Jörn On Fri, Mar 27, 2009 at 2:18 AM, stegel ritp...@gmail.com wrote: When I am using the phoneUS rule in my validate options I get the following

[jQuery] Re: Ajax call with XML Response

2009-03-27 Thread moocher
Thanks, the text2xml function works well, however i've managed to sort what was causing the problem. My ajax .ASP page was missing response.ContentType = text/xml. Setting this enabled me to get the result as an xml document. I'm going to keep hold of text2xml as it will definately be useful.

[jQuery] Re: looping through json

2009-03-27 Thread iceangel89
oh, i understand now, thanks for explaining mkmanning On Mar 27, 12:01 pm, mkmanning michaell...@gmail.com wrote: Sorry, that should have read can't: which is basically my example. You CAN'T have elements in an array like this: [  department: {ID: 1, Name: Physics} ] On Mar 26, 8:59 pm,

[jQuery] Re: Callback functions

2009-03-27 Thread Ricardo
When using a second object for the options, the callback must be defined in it, like this: .animate({ top : '1038px', left : '247px' }, { duration: 1400, easing:'easeInOutQuad', complete: function() { $('#anim_talkBubble') .fadeIn(1000)

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-27 Thread delphilynx
The solution is posted here: http://groups.google.com/group/jquery-ui/browse_thread/thread/bec7dba6705040fc/f52e524f230b93e0?lnk=gstq=delphilynx#f52e524f230b93e0 On 16 mrt, 07:35, delphilynx delphil...@gmail.com wrote: Also not the solution requested, I should post in the jQuery-UI group.

[jQuery] Re: Callback functions

2009-03-27 Thread weidc
for me it works like this: $('#anim_flipper').animate({top: '1130px'}, { duration: 1100}) .animate({left: '335px'}, {duration: 1400}, {easing:'easeInOutQuad'}) .animate({top: '1126px', left: '339px'}, { duration: 600}, {easing:'easeOutQuad'}) .animate({top: '1142px', left: '330px'},

[jQuery] Re: Removing Single Option from Select

2009-03-27 Thread Pierre Bellan
Hi, you select your select : $('#myselect'); then u find the option with the value -1 : $('#myselect').find('option[value=-1]') or $('#myselect option[value=-1]'); finally you removed it $('#myselect option[value=-1]').remove(); Pierre 2009/3/27 iceangel89 iceange...@gmail.com How can i

[jQuery] Re: Executing javascript that comes inside an AJAX response

2009-03-27 Thread Amit Shah
thanks mkmanning, but i do not using jquery now, i using prototype now. anyway i have moved the script to main page. will try another time. On Mar 27, 1:42 am, mkmanning michaell...@gmail.com wrote: Did you try my suggestion? --

[jQuery] jQuery and !important

2009-03-27 Thread Martijn Houtman
Hello, I know I should actually avoid using !important, but nonetheless I'd like to set it using jQuery's css(), but it seems to ignore setting this property completely. Anyone knows if this is supposed to work or why it does not? Regards, -- Martijn.

[jQuery] Re: jQuery and !important

2009-03-27 Thread Martijn Houtman
On Mar 27, 2009, at 1:49 PM, weidc wrote: as far as i know it doesn't work with .css(). Thanks, but after some googling (I was unable to find it before), I found: http://dev.jquery.com/ticket/2066 It shows a solution as well. Regards, -- Martijn.

[jQuery] Re: Timing of 1.3.3 release

2009-03-27 Thread dberthia
It seems a nightly build is not something we'd want to deploy in a production environment. Any thoughts on this? What does a daily build actually represent? On Mar 26, 8:26 am, John Resig jere...@gmail.com wrote: Why not just use a nightly build? No need to wait for a full

[jQuery] $this.filter('.myclass').myplugin() OR $this.is('.myclass') $this.myplugin()

2009-03-27 Thread Enrique Meléndez Estrada
I have a curiosity question, Imagine I want to apply a function (myplugin()) to a jquery object if this has a particular className. Imagine that NO jquery object has 'myclass' associated and myplugin() NOT exist. so $this.filter('.myclass').length == 0 and $this.is('.myclass') == false 1.

[jQuery] Plugin to display large image of thumbnail on hover

2009-03-27 Thread banacan
As the subject says, I'm looking for a plugin that will display a larger image of the thumbnail when the mouse is hovered; something similar to iStockPhoto or Fotolia. Anyone know of such a plugin?

[jQuery] Re: cluetip retrieving parts of ajaxfile and noncaching in IE7

2009-03-27 Thread Karl Swedberg
Hi Geert, I replied to you offlist, too, but here it is again: Passing in cache: false for jQuery's $.ajax() function, as well: $(document).ready(function() { $('a').each(function() { var thisHash = this.hash; $(this).cluetip({ ajaxCache: false, ajaxSettings: {

[jQuery] bind to front of event stack

2009-03-27 Thread sliver
Purpose: You have a number of bound events of a specific type to an element that are applied depending on specific user interactions. However, when one of them is bound, it needs to be fired first and then prevent the others from being fired until it has been unbound and then return normal

[jQuery] Retrieving values from elements of the same class

2009-03-27 Thread Thierry
For the following code: script src=jquery-1.3.2.js type=text/javascript/script script typetext/javascript $(document).ready(function() { $('.approve').click(function() { alert($('.approve').prev().val()); }); }); /script div input type=hidden value=1 / input type=button

[jQuery] Re: Retrieving values from elements of the same class

2009-03-27 Thread sliver
alert($('.approve').prev().val()); == alert($(this).prev().val()); On Mar 27, 1:23 pm, Thierry lamthie...@gmail.com wrote: For the following code: script src=jquery-1.3.2.js type=text/javascript/script script typetext/javascript $(document).ready(function() {    

[jQuery] Re: Plugin to display large image of thumbnail on hover

2009-03-27 Thread Jack Killpatrick
this isn't quite the same, but FYI: http://james.padolsey.com/demos/imgPreview/full/ there's also this: http://www.mind-projects.it/projects/jqzoom/demos.php#demo1 - Jack banacan wrote: As the subject says, I'm looking for a plugin that will display a larger image of the thumbnail when

[jQuery] OT: AIR sync?

2009-03-27 Thread Jack Killpatrick
Sorry for the slightly off topic post, but I know there are some AIR devs on this list and someone might have a tip for me. I'm planning an Adobe AIR app that will be written with HTML/jQuery and needs to do offline sync (using SQLite db on AIR side, mysql on server side and json web

[jQuery] Re: Plugin to display large image of thumbnail on hover

2009-03-27 Thread sliver
You could easily go to http://plugins.jquery.com/ and search thumbnail in the search box... first entry for me was Thumbnail hover popup. On Mar 27, 9:39 am, banacan banaca...@gmail.com wrote: As the subject says, I'm looking for a plugin that will display a larger image of the thumbnail when

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Andy Matthews
It sounds like you've already made up your mind about using HTML/JS (my personal choice), but have you considered Flex in conjunction with LiveCycle Data Services? LCDS makes syncing and managing conflicts SUPER simple. andy -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Validation Success Callback

2009-03-27 Thread James
Javascript is case-sensitive: 'setTimeOut' should be 'setTimeout' On Mar 26, 5:08 pm, MonkeyBall2010 hughes.timo...@gmail.com wrote: I am using the validation plugin and the form plugin to validate my form and then submit the information via ajaxSubmit. I have everything working with the

[jQuery] Re: How to safely pass XML string as a param in Ajax Post?

2009-03-27 Thread James
Is the myXML part also considered data that's part of your XML? I think by setting 'processData' to false means it is. If you set it to true (default), myXML will be the name set for the variable (your XML). Try setting processData to true (or just removing that line). Also, what happens if you

[jQuery] Re: bind to front of event stack

2009-03-27 Thread Eric Garside
I'm not sure if there's an easy method to alter the event stack in jQuery, but I can think of a pretty straightforward workaround, providing you bind the forcestop function as the first event handler. $('#myTestEl').bind('click.forcestop', function(e){ var el = $(this), force =

[jQuery] Re: Jquery validation plugin question

2009-03-27 Thread markstegg...@googlemail.com
Thanks. It gives me an error saying element.attr is not a function What is wrong with this: highlight: function(element, errorClass) { if (element.attr(name) == aupairLanguageList) $(#multiSelect-aupairLanguageList-title).addClass(error); }, unhighlight: function(element,

[jQuery] 1.3.2 fadeOut and floating child elements

2009-03-27 Thread Chad
Hi, I recently upgraded my web project from 1.2.6. (I love the speed improvements!) The HTML in the project has a lot of floating elements. And when I call the fadeOut effect on the parent div. The child elements aren't hiding like they used to. (Side Note: fadeIn does work) Example: div

[jQuery] Re: Executing javascript that comes inside an AJAX response

2009-03-27 Thread sveisvei
Hi, If its just an event(mouseover) you dont have to do this inline and shouldnt, just set up the eventlistener against the id/position in the dom. On Mar 27, 1:14 pm, Amit Shah amitsh...@gmail.com wrote: thanks mkmanning, but i do not using jquery now, i using prototype now. anyway i have

[jQuery] Re: Trigger Problem? (tablesorter)

2009-03-27 Thread Symphony
Try to add #: $(#table).trigger('stripe'); On Jan 31, 10:57 pm, Eric e...@ericmaicon.com.br wrote: Hello everyone!! i'm learning and doing a control panel in PHP + Ajax.. i used some plugins: script type=text/javascript src=../er.extra/jquery-latest.js/ script script

[jQuery] fadeOut, fadeIn and ClearType on IE browser

2009-03-27 Thread jgarcia
Hi, I using fadeOut and fadeIn to show/hide a selected TR from a TABLE. With this code: if ( toggleSrc == toggleMinus ) {$(this).attr('src', togglePlus).parents ('tr').siblings().fadeOut('slow'); } else {$(this).attr('src', toggleMinus).parents('tr').siblings

[jQuery] Collect all IDs in a DOM then act on specific ones

2009-03-27 Thread NapkinLinks
Hi all. Hopefully this question is not so dumb that it will be ignored completely. I would like to collect all IDs that start with a specific string (say #edit-field-*) and then apply the spin() plugin function to each of the matches. Thanks in advanced, Dan

[jQuery] UI Slider Tearing in Firefox

2009-03-27 Thread twiivoid
Ok, this is really bothering me. In IE7 and IE8, Opera 9 and 10a, Safari 3 and 4b, the jqueryUI slider works beautifully. However in Firefox (3.1b3), the slider handle tears while being dragged. I can't figure out what is causing it. Does firefox have a really slow refresh rate causing this

[jQuery] UI Slider Tearing in Firefox

2009-03-27 Thread twiivoid
Ok, this is really bothering me. In IE7 and IE8, Opera 9 and 10a, Safari 3 and 4b, the jqueryUI slider works beautifully. However in Firefox (3.1b3), the slider handle tears while being dragged. I can't figure out what is causing it. Does firefox have a really slow refresh rate causing this

[jQuery] Error with autocomplete

2009-03-27 Thread Dave
This is the http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ plugin Hi, I've encountered an error with the autocomplete plugin. We have 2 textboxes, both with different sources of data to populate the autocomplete. Only 1 textbox is visible at one time, both appearing in the same

[jQuery] Submenus above horizontal Navbar ?

2009-03-27 Thread Ronald
Hi there, is there any possibility to change the javascript und css code, so that my submenus open above my main horizontal navigation ? I have the horizontal navigation-bar right under my header picture in wordpress and i want the dropdown menus to open above, not underneath, since this would

[jQuery] Error with autocomplete

2009-03-27 Thread Dave
This is the http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ plugin Hi, I've encountered an error with the autocomplete plugin. We have 2 textboxes, both with different sources of data to populate the autocomplete. Only 1 textbox is visible at one time, both appearing in the same

[jQuery] How to keep a dialog open after browser refresh or click a action on the dialog

2009-03-27 Thread Sheng-He Gu
Hi there, When I tried to use a dialog, I had a problem. When I clicked an action button/link on a dialog, the dialog disappeared immediately. I don't know how to keep it open until I click close button. Thanks a lot.

[jQuery] slightly ot: image appended to href wraps to next line

2009-03-27 Thread Ken Post
Hi all- I'm looking to do something that I'd think has been done many times before, I'm just not finding it... After all email links on an intranet site we have, we show an envelope icon. Simple enough. pThis is a topic here If you are looking for help on this, please contact a

[jQuery] Submenus above horizontal Navbar ?

2009-03-27 Thread Ronald
Hi there, is there any possibility to display my submenus above my horizontal main menu ? I have the main menu under my header (picture) and I want the submenus to displayed up there, not underneath my menu bar, where it interferes with my content section. Does anyone of you what I have to

[jQuery] Help using click event on looped LIs for two functions with stopPropagation and .live

2009-03-27 Thread seamusjr
Hello, I am having some difficulty using the click event between two functions. Either it bubbles like crazy or it only works for one function then stopPropagation kills it altogther for the other. Using jquery 1.3.2 for this and .live. Please if you have suggestions let me know. Working on

[jQuery] Submenus above horizontal Navbar ?

2009-03-27 Thread Ronald
Hi there, is there any possibility to display my submenus above my horizontal main menu ? I have the main menu under my header (picture) and I want the submenus to displayed up there, not underneath my menu bar, where it interferes with my content section. Does anyone of you what I have to change

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-27 Thread Zachariah
Michael, I am incredibly impressed with the speed of this grid. Last month I began a search for the right grid, and I didn't find it. For my application, I needed formatting flexibility that tables could not offer, and large data-set handling that make most other grids studder. I've been using

[jQuery] text not right with fade

2009-03-27 Thread simon
I have noticed that when i fade my text in to 100% its not just right at all it looks pixelated any suggestions. I am using the following: ???.fadeIn('slow'); method many thanks Si

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Jack Killpatrick
We've looked at LCDS, but aren't too keen on using Flex for the UI. Maybe there's some minimal way we could use it just for the sync aspect (ie as more of an internal thing)? That would be fine. - Jack Andy Matthews wrote: It sounds like you've already made up your mind about using HTML/JS

[jQuery] Re: Jquery.Carousel -- need help understanding loading content via ajax

2009-03-27 Thread D A
I've implemented the Jquery.Carousel on our site. I'm stumped on how to load content dynamically, however. Well, this is what I've hacked together. It's mess, and I'm sure incorrect in many ways. It also doesn't QUITE work how I want it to. I'd love it if anyone would be willing to jump in and

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Andy Matthews
It's possible I suppose. The problem is that the cost for LCDS (to get the data syncing) might be prohibitive for your project. You could also work with BlazeDS which has much of the same functionality of LCDS (a little brother of sorts). I've not personally done any data snycing so I'm not

[jQuery] iframe ang jQuery

2009-03-27 Thread themba
Hi Guys is it possible to embed a php website on an asp website using jQuey or is possible to create a dynamic height iframe for embedding another website running a different technology? Thank you.

[jQuery] Re: Collect all IDs in a DOM then act on specific ones

2009-03-27 Thread James
var editIDs = $([id^=edit-field-]); This will have a set of elements (regardless of type: div, span, etc.) that have id's that begin with 'edit-field-' On Mar 26, 8:35 pm, NapkinLinks d...@napkinlinks.com wrote: Hi all. Hopefully this question is not so dumb that it will be ignored

[jQuery] Re: text not right with fade

2009-03-27 Thread James
I believe this only happens in Internet Explorer. Most of the time setting a CSS background-color to the element your text sits on will solve the issue. On Mar 27, 2:29 am, simon si...@uvfx.tv wrote: I have noticed that when i fade my text in to 100% its not just right at all it looks

[jQuery] Re: fadeOut, fadeIn and ClearType on IE browser

2009-03-27 Thread James
I believe this only happens in Internet Explorer. Most of the time setting a CSS background-color to the element your text sits on will solve the issue. On Mar 26, 10:45 pm, jgarcia sebast...@garcia-valenciano.net wrote: Hi, I using  fadeOut and fadeIn to show/hide a selected TR from a

[jQuery] Array of all checked checkboxes

2009-03-27 Thread Thierry
I have a series of checkboxes with class=the_checkbox. I can get all checkboxes by classname and manually loop through each to find out the checked ones. I'm wondering if I can get an array of checkboxes that have been checked with one line of jQuery?

[jQuery] Re: Array of all checked checkboxes

2009-03-27 Thread James
Yes, $(.the_checkbox:checked) Documentation: http://docs.jquery.com/Selectors On Mar 27, 9:55 am, Thierry lamthie...@gmail.com wrote: I have a series of checkboxes with class=the_checkbox.  I can get all checkboxes by classname and manually loop through each to find out the checked ones.  

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Jack Killpatrick
Thanks, Andy. I haven't been able to find pricing for LCDS, which makes it hard to consider (without a ballpark, at least). Looks like it's an enterprise-sale kind of thing, but if you know otherwise, do tell ;-) The client-server sync, conflict resolution and offline data cache *does* sound

[jQuery] Re: Help using click event on looped LIs for two functions with stopPropagation and .live

2009-03-27 Thread James
I didn't look into it that deeply, but one issue I see is that when you click on the school choices, you're using the same ID from that LI to create a new LI in the schools selected with the same LI. You can only have one unique ID per HTML document. One suggestion is to just parse the LI's ID

[jQuery] Re: iframe ang jQuery

2009-03-27 Thread jay
It doesn't matter what is used to generate the (x)html/css. Just set the src of the iframe to the URL and it should work. On Mar 27, 3:47 pm, themba themba.ntl...@gmail.com wrote: Hi Guys is it possible to embed a php website on an asp website using jQuey or is possible to create a dynamic

[jQuery] Re: Array of all checked checkboxes

2009-03-27 Thread jay
Simple example: body script src=jquery.js/script input class=cbx id=cbx1 type=checkbox / input class=cbx id=cbx2 type=checkbox checked=true / input class=cbx id=cbx3 type=checkbox checked=true / input class=cbx id=cbx4 type=checkbox / input class=cbx id=cbx5 type=checkbox / script var

[jQuery] Collect all IDs in a DOM then act on specific ones

2009-03-27 Thread NapkinLinks
Hi all. Forgive my simplistic question, but how would one go about applying a jQuery plugin function to IDs that start with a specific string (say edit-field-*). For example, instead of applying spin() to the field specified below, how do I traverse the DOM and apply it to all IDs that start

[jQuery] Re: Collect all IDs in a DOM then act on specific ones

2009-03-27 Thread NapkinLinks
Thanks James! On Mar 27, 12:49 pm, James james.gp@gmail.com wrote: var editIDs = $([id^=edit-field-]); This will have a set of elements (regardless of type: div, span, etc.) that have id's that begin with 'edit-field-' On Mar 26, 8:35 pm, NapkinLinks d...@napkinlinks.com wrote: Hi

[jQuery] How to load redirected content in dialog?

2009-03-27 Thread Adam
I have some content that loads in a dialog popup via ajax. For some reason when the URL redirects (i.e. 301, 302, etc.), the content never loads in the dialog. Is this normal behavior for ajax, or should the redirected content load? Thanks. a href=url_that_redirects class=myDialogdo

[jQuery] Re: iframe ang jQuery

2009-03-27 Thread themba
Thank you, my problem is that a normal iframe cannot have an auto height, I don't want any scroll bars shown, the iframe should be resized according to contents. I was hoping maybe there is a solution to this using jQuery. Thank you. On Mar 27, 10:05 pm, jay jay.ab...@gmail.com wrote: It

[jQuery] Re: Collect all IDs in a DOM then act on specific ones

2009-03-27 Thread Eric Garside
You would probably have better luck assigning non-styling classes to the elements to search on instead of doing the regex check. So instead of finding all tags with id=edit-field-*, find all tags with the edit-field class On Mar 27, 4:30 pm, NapkinLinks d...@napkinlinks.com wrote: Thanks

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Andy Matthews
I don't know the current version, but my company was willing to put the initial release into production for using in a broadcasting application AIR app that I wrote in jQuery/HTML, sort of a one way instant messenger. It seemed very stable at the time, and that was almost a year ago. It's a

[jQuery] Re: Array of all checked checkboxes

2009-03-27 Thread deltaf
How about: var checkedBoxes = $('input.the_checkbox:checked'); FYI -- http://docs.jquery.com/Selectors/checked On Mar 27, 3:55 pm, Thierry lamthie...@gmail.com wrote: I have a series of checkboxes with class=the_checkbox.  I can get all checkboxes by classname and manually loop through each

[jQuery] [validate] email validation problem

2009-03-27 Thread emeade
I am trying to validate emails in the format n...@chs.k12.oh.us. This format fails using the email method of the validate plugin. It appears to fail on the length because n...@chs.k.oh.us works but n...@chs.ka.oh.us does not (basically anything longer than one character fails). I'm using this on

[jQuery] How to remove elements from the page efficiently.

2009-03-27 Thread deltron
Hi Guys ! Situation is the following, I display a list of entries ~60 inside div. Each entry is a div too. When I try to clear this list using either jQuery(#list).empty() or $('#list').html('') it's terrible slow especially on firefox. Any suggestion how the list should be emptied? Best

[jQuery] Re: bind to front of event stack

2009-03-27 Thread deltaf
It's potentially a pain, but if you know all of the events bound to it, you could unbind, add your event, then add all of the others. I too wish there was an easy way to view/modify the event stack... Best of luck.

[jQuery] JQuery and PS3?

2009-03-27 Thread superaktieboy
Hi I was just wondering whether Jquery works on the PS3 natively (even if limited) and if not, how to do so? thanks

[jQuery] JQuery and PS3?

2009-03-27 Thread superaktieboy
Is there anyway to make the following functions of jquery work on the PS3's web browser or does it work at all with the latest firmware installed? Thanks..

[jQuery] Re: How to remove elements from the page efficiently.

2009-03-27 Thread James
Try giving this a read: http://blog.stevenlevithan.com/archives/faster-than-innerhtml when I've tried it on table rows it worked extremely fast for me. On Mar 27, 11:08 am, deltron pawel.le...@gmail.com wrote: Hi Guys ! Situation is the following, I display a list of entries ~60 inside div.  

[jQuery] Re: JQuery and PS3?

2009-03-27 Thread Richard D. Worth
Looks like no: http://groups.google.com/group/jquery-en/browse_thread/thread/739175c128a6f633 - Richard On Fri, Mar 27, 2009 at 4:33 PM, superaktieboy superaktie...@gmail.comwrote: Hi I was just wondering whether Jquery works on the PS3 natively (even if limited) and if not, how to do so?

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Jack Killpatrick
Thanks for the info. I took a look a BlazeDS and it looks like it's just a messaging system for Flex-to-Java/services messaging (or js-to-flex-to-java via js bridge), not anything specific for db manipulation or sync. Did I read it right? - Jack Andy Matthews wrote: I don't know the current

[jQuery] Using .live between 2 ULs without bubbling or premature stopProp

2009-03-27 Thread seamusjr
I am having some difficulty using the click event between two functions. Either it bubbles like crazy or it only works for one function then stopPropagation kills it altogther for the other. Using jquery 1.3.2 for this and .live. Please if you have suggestions let me know. Working on a script

[jQuery] Can I use JQuery to receive multipart data?

2009-03-27 Thread cindy
I need to receive a multipart message from server, how can I use jquery to do that? Thanks! Cindy

[jQuery] Re: OT: AIR sync?

2009-03-27 Thread Andy Matthews
Mostly. Using Blaze allows you to communicate via remoting, which is a binary protocol. It's faster and lighterweight. However, the data sync is where LCDS really gets it's muscle. andy _ From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jack

[jQuery] Re: Using .live between 2 ULs without bubbling or premature stopProp

2009-03-27 Thread James
I've responded to your first posting already: http://groups.google.com/group/jquery-en/browse_thread/thread/93d1491c0890fe55# On Mar 27, 11:27 am, seamusjr seamu...@hotmail.com wrote: I am having some difficulty using the click event between two functions.  Either it bubbles like crazy or it

[jQuery] Selecting dynamic elements

2009-03-27 Thread schickb
Is it possible to select an element from dynamically created elements before the tree is attached to the document? Given: $elems = $('div id=outerdiv id=innerhello/div/div'); Is there any way to select and operate on the inner div before attaching these element to anything?

[jQuery] Re: Selecting dynamic elements

2009-03-27 Thread James
Try it out: $inner = $elems.find(#inner); alert( $inner.text() ); On Mar 27, 11:55 am, schickb schi...@gmail.com wrote: Is it possible to select an element from dynamically created elements before the tree is attached to the document? Given:   $elems = $('div id=outerdiv

[jQuery] Re: How to remove elements from the page efficiently.

2009-03-27 Thread deltron
thanks, I will give a try and get back with the results. /Pawel On 27 Mar, 22:21, James james.gp@gmail.com wrote: Try giving this a read:http://blog.stevenlevithan.com/archives/faster-than-innerhtml when I've tried it on table rows it worked extremely fast for me. On Mar 27, 11:08 

[jQuery] Re: [validate] email validation problem

2009-03-27 Thread Jörn Zaefferer
That's an odd problem. I'm looking into it! Jörn On Fri, Mar 27, 2009 at 9:03 PM, emeade em.me...@gmail.com wrote: I am trying to validate emails in the format n...@chs.k12.oh.us. This format fails using the email method of the validate plugin. It appears to fail on the length because

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-27 Thread Tin
Zachariah, Thanks for the word of encouragement! Do you have any feedback/ lessons learned from your application? I've made a lot of progress recently in terms of adding a DataView to drive the grid and optimizing the core loop, but formalizing the API and writing the documentation haven't been

[jQuery] Re: How to remove elements from the page efficiently.

2009-03-27 Thread deltron
first tests make me impressed, it's extremely fast definitely works for me. thanks again for your support /pl On 27 Mar, 23:05, deltron pawel.le...@gmail.com wrote: thanks, I will give a try and get back with the results. /Pawel On 27 Mar, 22:21, James james.gp@gmail.com wrote:

[jQuery] Re: Can I use JQuery to receive multipart data?

2009-03-27 Thread cindy
More information, I need to use multipart to keep connect alive to server push. I use the save technology using java, but I don't know how to use JQuery to do that. Your help is great appreciated. On Mar 27, 1:29 pm, cindy ypu01...@yahoo.com wrote: I need to receive a multipart message from

[jQuery] jQuery + PHP Form Validation

2009-03-27 Thread Link
So I am working on an AJAX call to a PHP script which validates the data submitted in a form. My question concerns the best way to get the data from PHP back to the jQuery script. Should the dataType field be html or script? I tried html and I know I could parse out what I need, but in the

[jQuery] jQuery + PHP Form Validation

2009-03-27 Thread Link
So I am working on an AJAX call to a PHP script which validates the data submitted in a form. My question concerns the best way to get the data from PHP back to the jQuery script. Should the dataType field be html or script? I tried html and I know I could parse out what I need, but in the

[jQuery] Re: bind to front of event stack

2009-03-27 Thread Eric Garside
I've come up with a little plugin that will allow you to bind any event (including custom ones) into a specified position in the event stack. http://snipplr.com/view/13515/jstack--jquery-event-stack-management/ The plugin is currently very basic and only allows you to insert a new event into a

[jQuery] Re: jQuery + PHP Form Validation

2009-03-27 Thread James
The best way is to use JSON as the dataType. In PHP, all you need to use is the json_encode() function to convert a PHP array to JSON. It's like an easy way to pass back an array full of data back to the client that you can manipulate as regular Javascript variables. For example, your PHP code

[jQuery] Re: Cycle plugin adds white background in ie6 and ie7

2009-03-27 Thread Merindol
Hi. Thanks for the tip. Removing the cleartype solves the issue but indeed the text is ugly (I'm using Cycle on paragraphs of text). Actually, instead of removing cleartype, I just added the CSS rule background: transparent !important; on paragraphs, because I discovered that on IE7/8 a

[jQuery] Re: Cycle plugin adds white background in ie6 and ie7

2009-03-27 Thread Mike Alsup
Thanks for the tip. Removing the cleartype solves the issue but indeed the text is ugly (I'm using Cycle on paragraphs of text). Actually, instead of removing cleartype, I just added the CSS rule background: transparent !important; on paragraphs, because I discovered that on IE7/8 a

[jQuery] Re: JQuery and PS3?

2009-03-27 Thread superaktieboy
Richard D. Worth wrote: Looks like no: http://groups.google.com/group/jquery-en/browse_thread/thread/739175c128a6f633 - Richard On Fri, Mar 27, 2009 at 4:33 PM, superaktieboy superaktie...@gmail.comwrote: Hi I was just wondering whether Jquery works on the PS3 natively (even if

[jQuery] Re: bind to front of event stack

2009-03-27 Thread mkmanning
Eric, Nice work! I just did a quick test and it appears that once the override event is inserted into the stack, it bumps the event it's replacing to the end. That is, if I insert it at position 0, and then unbind it, the event firing order is now 2,3,4,1. Same if I insert it into position one,

[jQuery] IDE for JQuery?

2009-03-27 Thread iceangel89
which IDE is best for JQuery? i mean like has code completion for JQuery, at least HTML, CSS, JavaScript. best if it can also code complete PHP/Zend Framework. or your custom classes. Aptana can code complete for all except Zend Framework isit? but i saw a video i can add zend framework as a

[jQuery] Re: [autocomplete] - Request

2009-03-27 Thread freeav8r
Hi Brian, I created ticket number 4407 if you want to add comments to it: http://dev.jqueryui.com/ticket/4407 On Mar 26, 7:39 pm, brian bally.z...@gmail.com wrote: Adding to that, it might be nice to have the option to specify a callback that would fire when no further results are possible.

[jQuery] Re: jQuery + PHP Form Validation

2009-03-27 Thread Link
Just out of curiosity, is this typically the best way? On Mar 27, 7:46 pm, James james.gp@gmail.com wrote: The best way is to use JSON as the dataType. In PHP, all you need to use is the json_encode() function to convert a PHP array to JSON. It's like an easy way to pass back an array

[jQuery] Re: bind to front of event stack

2009-03-27 Thread Eric Garside
Yea, it swaps positions and the latest element will always move to the end of the stack, so you have knowledge of its position. On Mar 27, 9:12 pm, mkmanning michaell...@gmail.com wrote: Eric, Nice work! I just did a quick test and it appears that once the override event is inserted into

[jQuery] Re: jQuery + PHP Form Validation

2009-03-27 Thread James
Currently, I believe so. Prior to that was probably using XML (the intent of AJAX's XMLHttpRequest), but it required a lot of work needing to drill down to reading the content, and the response size of XML was fairly large due to all the XML tags required. JSON doesn't use such structural tags,