[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-05 Thread Wizzud
Any good for you ... ? $(document).ready(function(){ var hasFocus = $(':text:first').focus(); $(document).bind('click', function(event){ var ev = $(event.target); if(ev != hasFocus){ if (ev.is(':text')){ hasFocus = ev; } hasFocus.focus(); } }); });

[jQuery] Re: UI sortables problem

2008-06-05 Thread Arun Kumar
That is why I have posted a question here... On Jun 3, 9:19 pm, Sid [EMAIL PROTECTED] wrote: Nope, nothing happening on dragging anything On Jun 3, 5:35 pm, Arun Kumar [EMAIL PROTECTED] wrote: Not that, Drag that gadget DnD is not working... View source... On Jun 3, 5:24

[jQuery] How to replace one word with another when it's not alone in a cell?

2008-06-05 Thread squint
I want to simply replace the word comment wherever it is in a particular table. Here's my jQuery attempt: $(document).ready(function(){ $(td:contains('comment')).text(vote); }); What this does though is replace all of the text in every cell that has the word comment in it with the word vote.

[jQuery] superfish animation (yet another )

2008-06-05 Thread justrox420
I have recently ripped the nav down to attempt to get it to work for my own site. applying only the nav into a raw page, I still can't seem to get the animation to work in either FF or IE7. I've scoured this message group, but nothing seems to be working. Is there anything you can see in it

[jQuery] [validate]

2008-06-05 Thread mpgjunky
Hi, Is it possible for Validate to stop on the first error it encounters? I would like to display one error at a time, rather than all errors found. Thanks, Michael

[jQuery] Re: strange error with plugin validation

2008-06-05 Thread k8
This is the error that comes when i put text in the field password. jQuery.validator.methods[method] has no properties http://localhost:9090/youminiweb/js/jquery-validate/jquery.validate.js Line 467 On 4 Giu, 17:19, Jörn Zaefferer [EMAIL PROTECTED] wrote: What is thestrangeerroryou see? Please

[jQuery] Can jQuery compare 2 ul and remove li's that are duplicates?

2008-06-05 Thread jfaulky
Can jQuery compare 2 ul and remove li's that are duplicates? Essentially I use jQuery to populate an unordered list with new values, and I have an existing unordered list already on the screen. I'd like to remove any elements in the newly loaded list that already exist in the current list. I

[jQuery] Re: Drag and Drop of Gadgets

2008-06-05 Thread Arun Kumar
Already asked... But got no useful response. On Jun 4, 6:42 am, Richard D. Worth [EMAIL PROTECTED] wrote: Please ask on the jQuery UI list: http://groups.google.com/group/jquery-ui - Richard On Tue, Jun 3, 2008 at 3:54 AM, Arun Kumar [EMAIL PROTECTED] wrote: Can I use sortables

[jQuery] Re: strange error with plugin validation

2008-06-05 Thread k8
This is the error that comes when i put text in the field password: jQuery.validator.methods[method] has no properties http://localhost:9090/youminiweb/js/jquery-validate/jquery.validate.js Line 467 On 4 Giu, 17:19, Jörn Zaefferer [EMAIL PROTECTED] wrote: What is thestrangeerroryou see? Please

[jQuery] Reflesh page after change DOM

2008-06-05 Thread xiaohc.net
dear one, I'm from China,i have a question about jQuery. When i add some elements to page,example add some li to ul,the new li don't have event that initiatory li had. I means that how to reflesh the page let all li has same event when dom changed? sorry,My poor English skills! Chinese:

[jQuery] Calling ajax onload and image problems in IE6

2008-06-05 Thread [EMAIL PROTECTED]
I am using this technique for the onload problem specified here: http://blog.outofhanwell.com/2006/06/08/the-windowonload-problem-revisited/ I have an script element defined like this: script defer src=/js/ie_onload.js/script The script file simply calls an method called init. In the init

[jQuery] markReadOnly

2008-06-05 Thread [EMAIL PROTECTED]
Hello. I'm trying to make inputs readonly on click event. At the moment I'm using the inelegant onClick=markReadOnly('name') Does anyone know how I can implement this with in jQuery?

[jQuery] Re: Refactoring Functions

2008-06-05 Thread Javier Martínez
I think that position:fixed is not supported on IE6. Klaus Hartl escribió: On 5 Jun., 06:22, Karl Swedberg [EMAIL PROTECTED] wrote: or this ... $(document).ready(function() { stickyFooter(); $(window).resize(stickyFooter); }); How about: $(function() {

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Seth - TA
Something along the lines of this: div class=hotel pHotel 1br / Hotel 1 Addressbr / Hotel 1 Phone br / Distance: span class=distance5/spanmi br / Room Rate: $span class=rate125.50/span /p /div div class=hotel pHotel 2br / Hotel 2 Addressbr / Hotel 2 Phone br / Distance: span

[jQuery] Re: Creating and manually firing events

2008-06-05 Thread KayakingJoe
Hi Richard, thanks a lot for that. I've only just started using Jquery. I've just copied http://ui.jquery.com/bugs/browser/trunk/ui/tests/jquery.simulate.js and added it to my project, is that what i was supposed to do?? It works anyway. Cheers Mike On Jun 4, 1:59 pm, Richard D. Worth [EMAIL

[jQuery] Re: superfish animation (yet another )

2008-06-05 Thread Joel Birch
Firebug shows errors - the first one is the problem. It seems that at some point the ampersands in the Superfish code have been encoded as $amp; which is breaking the script. Please search for this:amp;amp; and change it to this: Then it will work perfectly. Joel Birch.

[jQuery] Re: Superfish issue: statusbar URL won't show when hovering second tier links

2008-06-05 Thread Joel Birch
Hi Ruud, This is interesting. I do see that behaviour in Mac Firefox although when you mouseout from a submenu and then back onto it before it disappears the status bar then does show the correct link. In Safari (also Mac) the problem you does not exist at all. I haven't checked what IE does

[jQuery] Re: Creating and manually firing events

2008-06-05 Thread Richard D. Worth
Glad it works for you. If you have any issues or ideas for improvements, just let us know. - Richard On Thu, Jun 5, 2008 at 4:50 AM, KayakingJoe [EMAIL PROTECTED] wrote: Hi Richard, thanks a lot for that. I've only just started using Jquery. I've just copied

[jQuery] Re: jQuery 1.2.6, jqModal, IE6

2008-06-05 Thread Matthieu BARBE
I confirm this bug with ie 7 ! 2008/6/5 Stamen Georgiev [EMAIL PROTECTED]: Hi there. I'm using jqModal and the IE ActiveX started bleeding when I switched to the latest jQuery (1.2.6) It was ok with 1.2.3. Any ideas or confirmations?

[jQuery] Event propagation and anchors

2008-06-05 Thread Argasek
This is my first post here, so hello to all subscribers! I have googled a bit for my problem, but didn't find exact answer to my problem, or I do not understand event propagation enough. The situation looks like this: I have a nested list: ul class=someclass li1 Position... a

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle errors on the server side. By errors I mean both actual bugs, and business rule violations

[jQuery] Add/remove class in Collapsor

2008-06-05 Thread vneal
Hi can anyone help? I've just downloaded the jQuery Collapsor demo (http:// plugins.jquery.com/project/collapsor) for use on a navigation system. I'm still a newbie with js and was wondering if anyone can point me in the right direction of how to add/remove a class to the trigger element (in

[jQuery] Re: jQuery + jCarousel Picture Gallery working fine in Firefox but not in IE

2008-06-05 Thread Naveen
Solved. Thanks. Naveen On Jun 4, 11:54 pm, Naveen [EMAIL PROTECTED] wrote: Hi, I'm trying to make a picture gallery using jCarousel (http://sorgalla.com/projects/jcarousel/) and other jQuery features, powered by Perl/CGI and XML at the backend. The initial version of the gallery

[jQuery] $ cycle plugin crash: IE7.0.5730.13 crash - dxtrans.dll

2008-06-05 Thread [EMAIL PROTECTED]
I have a portfolio page with multiple slideshows (there are four tabs and each tab displays a different slideshow). All is well in Mozilla, but after a couple of clicks to change the tabs in IE, it chrashes. I have tried placing the code in the body of HTML, but still get the same crash!! Would

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread Argasek
Of course, I meant $('ul li a) instead of $('.someclass ul li a')

[jQuery] jQuery cycle plugin crash in IE7

2008-06-05 Thread [EMAIL PROTECTED]
I have a portfolio page with multiple slideshows (there are four tabs and each tab displays a different slideshow). All is well in Mozilla, but after a couple of clicks to change the tabs in IE, it chrashes. I have tried placing the code in the body of HTML, but still get the same crash!! Would

[jQuery] Tooltip

2008-06-05 Thread casavecchio
Hello, I am using tooltip 1.2. There is one strange behaviour. And since now i didn't find out how to avoid. Moving over a input-field the tooltip is shown as wanted. But when the mouse is dragged accidently into the input field the tooltip remains highlighted and follows the mouse over the

[jQuery] Re: Refactoring Functions

2008-06-05 Thread Klaus Hartl
PS: The thing is with fixed positioning you get a *much better* experience in browsers that support it, e.g. smoother, no jumping elements/flickering. Using a resize handler is just clumsy. IE6 can be hacked away to support it, see link above. --Klaus On 5 Jun., 08:52, Javier Martínez [EMAIL

[jQuery] Re: Refactoring Functions

2008-06-05 Thread Klaus Hartl
http://www.howtocreate.co.uk/fixedPosition.html On 5 Jun., 08:52, Javier Martínez [EMAIL PROTECTED] wrote: I think that position:fixed is not supported on IE6. Klaus Hartl escribió: On 5 Jun., 06:22, Karl Swedberg [EMAIL PROTECTED] wrote: or this ... $(document).ready(function() {

[jQuery] [autocomplete] JSON response

2008-06-05 Thread Arun Kumar
I am getting JSON response(string format) from the URL to which I am sending request. I want to use the methods formatResult to format the result. $(#month).autocomplete(Search.php, { minChars: 0, max: 12, autoFill: true, mustMatch: true, matchContains: false,

[jQuery] date picker date range and overall minDate and maxDate

2008-06-05 Thread FSan
How can I set an overall min and max date having 2 dates fields as date range? That is, not only the fields should restrict each other regarding the selected dates but also BOTH FIELDS respect a min and max date. Any ideas? Thanks

[jQuery] [validate] Validating against a combination of fields

2008-06-05 Thread kapowaz
I'm trying to create a custom validation rule which works based on a pair of form fields (specifically, two select elements representing month and year, which must be a date in the future). I couldn't see any examples of this pattern in use, and wanted to ask if it was even possible? How might

[jQuery] Re: Collecting info on sites using jquery.

2008-06-05 Thread [EMAIL PROTECTED]
Hi, I know the list, there is a big problem with it, It is nice looking but not filtered at all. Even the featured sites. some of them hardly uses jQuery. I was hoping that we could create a list where, we have the super featured sites, where you can see that this is how you use jQuery

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread jggube
Hi, Not quite sure if I understood the problem - but if you mean that you only want the certain event triggered when you click on 1st-level a tags (same level as 1 Position), what you can do is use a next selector similar to: $(ul.someclass ul + li a).click({}); This way, the .click() event

[jQuery] get Request doesnt work in IE7

2008-06-05 Thread Jan S
All of a sudden, xmlhttprequests don't work no more in IE7. FF perfect, no problems. Here the simple code: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head titlesome title/title

[jQuery] Re: pausing a link and resuming its normal behavior

2008-06-05 Thread Shelane Enos
I actually found that in this case I'm using jqModal, it stops the click of the a. however, in order to make it go to where the link would be after they have done their login through jqModal, I have a form on the page that I'm submitting. Not the most elegant, but it gets the job done. On

[jQuery] Re: Problem when trying to copy the home page design of Msn Video site

2008-06-05 Thread Jiawei
Thank you! You are really a good guy! On 6月3日, 上午1时15分, Karl Swedberg [EMAIL PROTECTED] wrote: Hi there, I'm just getting back to this list after being away for a few days, so forgive me if this has been answered already (though I didn't see a reply yet). I think you will find the

[jQuery] Re: markReadOnly

2008-06-05 Thread Karl Swedberg
Hi there, You can probably just set the disabled attribute to true. $('someElement').click(function() { $('someInput').attr('disabled', true); }); Hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2008, at 6:32 AM, [EMAIL

[jQuery] Some problems with jQuery BlockUI Plugin

2008-06-05 Thread Kane Gong
I found some problems in jquery blockui plugin, I don't know whether it is my fault or the plugin's. You see the code below: html script type=text/javascript src=js/jquery-nightly.js/script script type=text/javascript src=js/jquery.blockUI.js/script script type=text/javascript function

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-06-05 Thread vincent voyer
Hello, for those wondering, if you want to know whenever you click outside a div and byt outside i mean everywhere but the div like you want to display an error message : html head titletest error click outside/title style type=text/css p.error { position:absolute; top:40%; left:30%; width:40%;

[jQuery] Re: Some problems with jQuery BlockUI Plugin

2008-06-05 Thread Mike Alsup
I found some problems in jquery blockui plugin, I don't know whether it is my fault or the plugin's. You see the code below: html script type=text/javascript src=js/jquery-nightly.js/script script type=text/javascript src=js/jquery.blockUI.js/script script type=text/javascript    

[jQuery] Re: jQuery cycle plugin crash in IE7

2008-06-05 Thread Mike Alsup
I have a portfolio page with multiple slideshows (there are four tabs and each tab displays a different slideshow). All is well in Mozilla, but after a couple of clicks to change the tabs in IE, it chrashes. I have tried placing the code in the body of HTML, but still get the same crash!!

[jQuery] Re: Mike Alsup: media plugin question

2008-06-05 Thread Mike Alsup
I have a suggestion and a question. The question is: Any plans for supporting the new swfobject 2.0 anytime soon? swfobject v2 support is now available: http://malsup.com/jquery/media/jquery.media.js?v.81 The following demo pages show the same markup using swfobject v1.5 and swfobject v2:

[jQuery] Re: Tooltip

2008-06-05 Thread Jörn Zaefferer
I'm unable to reproduce the issue you describe - could you try to describe the steps necessary in a different way? Thanks Jörn On Thu, Jun 5, 2008 at 3:01 PM, casavecchio [EMAIL PROTECTED] wrote: Hello, I am using tooltip 1.2. There is one strange behaviour. And since now i didn't find out

[jQuery] Re: [autocomplete] JSON response

2008-06-05 Thread Giovanni Battista Lenoci
Arun Kumar ha scritto: Where can I convert to a JSON object using eval and use it as a local JSON data? I've solved this way: In the server side I create a string separated by \n chars that contains N json objects : foreach($list as $c) { $record = array(); $record['id']

[jQuery] Re: Tooltip

2008-06-05 Thread Karl Swedberg
Hi Emmanuel, Sorry for the delay in replying. If you include the hoverIntent plugin, then you can easily have the tooltip display after a small, configurable delay About the tooltip hiding on input focus, I wasn't aware that the tooltip got the focus when it was shown. Also, the default

[jQuery] Re: [validate] Validating against a combination of fields

2008-06-05 Thread Jörn Zaefferer
I've added a short explanation and an example here: http://docs.jquery.com/Plugins/Validation#Validating_multiple_fields_with_one_method Currently the example has an issue where the submitHandler is called too early/often. I'll look into it. Jörn On Thu, Jun 5, 2008 at 4:04 PM, kapowaz [EMAIL

[jQuery] Troubles with tablesorter plugin using custom parser and colspanned headers

2008-06-05 Thread Cadwallion
Greetings, I'm working on a reporting system for a financial institution, so my first thought was to use tablesorter. However, one of the columns consist of img tags that show stars, and the column needs to be sorted by the number of 'stars' being shown. Since I doubt there's a custom 'stars'

[jQuery] Photoshop to CSS code generator uses jQuery

2008-06-05 Thread Shaun
Hi All - I've implemented an online tool that takes PSD files from Photoshop or Gimp and generates CSS/XHTML web pages automatically. It takes hints from the layer names in the PSD file and generates jQuery code to make all sorts of dynamic things happen (image roll overs, drop down and fly out

[jQuery] Re: Some problems with jQuery BlockUI Plugin

2008-06-05 Thread Mike Alsup
You need to remove this line: $('#waitting').show(); You don't need this line either: $('#waitting').hide();

[jQuery] Re: jQuery 1.2.6, jqModal, IE6

2008-06-05 Thread Tony
Please see this http://groups.google.com/group/jquery-en/browse_thread/thread/219d28208e58b85b/d8187cf1bd5104ae?lnk=gstq=jqModal#d8187cf1bd5104ae On Jun 5, 3:17 pm, Matthieu BARBE [EMAIL PROTECTED] wrote: I confirm this bug with ie 7 ! 2008/6/5 Stamen Georgiev [EMAIL PROTECTED]: Hi

[jQuery] Re: Tooltip

2008-06-05 Thread casavecchio
Hallo Jörn, mmh, strange, right now i cannot reproduce it myself. I will check it tomorrow again. When i recognize that effect again, i will sent a link. But it wasn't imagination. Thanks for the fast reply. Boris On 5 Jun., 17:50, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'm unable to

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
[Apologies if this shows up twice; didn't see it after 5 hours+, sending again] I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle errors on

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote: From a quick Google search I found (http://www.hunlock.com/blogs/AJAX_for_n00bs): # AJAX.getAllResponseHeaders() -- returns as a string all current headers

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread Ariel Flesler
That's THE solution. It's (nearly) the same as using e.stopPropagation(). -- Ariel Flesler http://flesler.blogspot.com On 5 jun, 09:24, Argasek [EMAIL PROTECTED] wrote: This is my first post here, so hello to all subscribers! I have googled a bit for my problem, but didn't find exact answer

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-05 Thread paulj
Wizzud, thank you for your help. Your code worked perfectly if the user had entered the text box by *clicking* on it. But, if the user has *tabbed* to the text box (and then clicks on another element) the focus is returned to the text box that was last *clicked* on. This can be seen in my

[jQuery] Re: get Request doesnt work in IE7

2008-06-05 Thread Carl Von Stetten
Don't know if this is the problem, but you're missing a semicolon (;) after the end of your $.get function call. Carl Jan S wrote: All of a sudden, xmlhttprequests don't work no more in IE7. FF perfect, no problems. Here the simple code: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-05 Thread George Adamson
Ever more impressive. Well done you lot, you make us proud! George

[jQuery] Calendar Over Dialog

2008-06-05 Thread Tim Scott
Does anyone know if there is any combination of plugins that would allow me to use a calendar control from inside a dialog? I have tried all combinations of jQuery UI dialog and calendar, BlockUI, and jQuery datePicker. The problem is, I guess, these calendars actually *are* modal dialogs too,

[jQuery] Re: Calendar Over Dialog

2008-06-05 Thread Carl Von Stetten
Tim, Are you using the css file that comes with the ui.datepicker? If so, make sure the section near the top looks like this: #datepicker_div { display: none; border: 1px solid #777; z-index: ; /*must have*/ } Note the z-index set to . Compare this to the z-index of

[jQuery] IE6 secure nonsecure warning

2008-06-05 Thread cfdvlpr
Has anyone else noticed this on a site that uses jQuery or a jQuery plugin? IE7 and Firefox don't seem to complain, but IE6 does.

[jQuery] Re: superfish help

2008-06-05 Thread warren
Hi Joel-! ok - found another problem. http://lhc.lucidcrew.com/ministries the first and last menu items have no sub-nav, so on rollover, it highlights the active tab and pops its subnav open. how do I avoid this from happening?

[jQuery] clueTip issue with jqueryUI

2008-06-05 Thread moazzamk
Hi, clueTips don't work with dialogs in jQueryUI. I just get regular title when I hover over the links. The code I am using for this is : HTML div id=new_a_poll class=flora title=Edit Attendance Survey Settings ?php print T_('seconds');?* a href=#

[jQuery] Re: IE6 secure nonsecure warning

2008-06-05 Thread cfdvlpr
I just figured out that jquery.history_remote.pack.js is the file that seems to cause the warning message for me. When I take this jQuery plugin include file out, the message goes away. Any idea on how to fix this? I think it might have something to do with the iframe part of this plugin.

[jQuery] Trying to write a MacFF2 Transparency Fix - Need help with .version

2008-06-05 Thread [EMAIL PROTECTED]
Here is my code: // Mac FireFox 2 Transparent Background Fix if ($.browser.mozilla (browser.version 3.0)) { $(function(){ alert('This is FireFox 2!'); $('body').css('background', 'red'); }); } I think that .version is blowing up the

[jQuery] Re: help with array for flot

2008-06-05 Thread aquaone
$('#plot').click(function() { var d1 = []; $('#curveData tbody tr').each(function() { tr = $(this); pair = []; tr.find('input.qty').val() tr.find('input.price').val() pair.push( tr.find('input.qty').val(), tr.find('input.price').val() ) d1.push( pair ); });

[jQuery] Re: help with array for flot

2008-06-05 Thread rolfsf
aquaone thank you! I need to do a little reading up on what .push does rolf On Jun 5, 2008, at 3:09 PM, aquaone wrote: $('#plot').click(function() { var d1 = []; $('#curveData tbody tr').each(function() { tr = $(this); pair = []; tr.find('input.qty').val()

[jQuery] JSON and each loop

2008-06-05 Thread Gorelog
This is a working sample, but I would like to use a dynamic variable selected_country within the each loop at the end. Like: data.selected_country. However, if I use this it takes it literally and thus does not find selected_country in the JSON. It would be nice to find and only return US, UK,

[jQuery] Making normal functions work with jQuery

2008-06-05 Thread hubbs
I have two functions that convert an ISO date into whatever date format I want. Currently I am using a document.write statement to write out each date, but I don't want to do that anymore. I want to make it unobtrusive, and have jquery find a class selector, and replace the content. So, my

[jQuery] click function doesn't work on dynamic content?

2008-06-05 Thread [EMAIL PROTECTED]
Hi there, Please see my example here: http://www.hellobenlau.net/jquery/test.htm So basically, I want to select a list item from Group A, and when the transfer button is clicked, it gets transfered to Group B. However, once transferred, the list items in Group B doesn't respond to any click

[jQuery] String Manipulation

2008-06-05 Thread Mike
Is there a good string manipulation library plugin? Something that might have .split()

[jQuery] Re: Trying to write a MacFF2 Transparency Fix - Need help with .version

2008-06-05 Thread Josh Nathanson
You need that dollar sign, a la if ($.browser.mozilla $.browser.version 3.0) -- Josh - Original Message - From: [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, June 05, 2008 2:38 PM Subject: [jQuery] Trying to write a MacFF2 Transparency Fix -

[jQuery] jQuery allow encoding into json?

2008-06-05 Thread Mark
could not find a function for it. Will be creating a complicated js object on client side. Want to encode that object into json, and stuff the value into a hidden form field for POST. anybody help a nubie?

[jQuery] Thickbox on 1.2.6 or best alternative?

2008-06-05 Thread Shane Graber
What are people using today to create effects like thickbox or lightbox on jQuery 1.2.6? Thickbox is broken on the 1.2.x release and I'm stuck with an old version of jQuery until I find a suitable replacement. What are others using? -- Shane ∞ http://liquid.homelinux.org - I'm so cool

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Dave Methvin
Wrap that html in a div id=hotels /div and try this code triggered by a button or link. function reorder(sortby, direction) { Array.prototype.sort.call($(div.hotel), function(a,b){ var av = $(a).find(span.+sortby).text(); var bv =

[jQuery] Re: String Manipulation

2008-06-05 Thread Karl Rudd
Errr JavaScript has a string split function: http://www.w3schools.com/jsref/jsref_split.asp Karl Rudd On Fri, Jun 6, 2008 at 9:50 AM, Mike [EMAIL PROTECTED] wrote: Is there a good string manipulation library plugin? Something that might have .split()

[jQuery] Re: click function doesn't work on dynamic content?

2008-06-05 Thread Richard D. Worth
Take a look at: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F If I've understood you're problem, it's a fairly common one that stems from the fact that you're adding a new element (with append('li ...) that has no click event bound to

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Karl Rudd
You want: http://docs.jquery.com/Ajax/serializeArray Karl Rudd On Fri, Jun 6, 2008 at 10:15 AM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be creating a complicated js object on client side. Want to encode that object into json, and stuff the value into a

[jQuery] jquery-1.2.6.pack.js broken?

2008-06-05 Thread boermans
Attempting to use jquery-1.2.6.pack.js linked from http://docs.jquery.com/Downloading_jQuery resulted in a lot of $ is not defined errors for me. The good news is using http://dean.edwards.name/packer/ to pack the uncompressed version ( jquery-1.2.6.js ) worked nicely. Perhaps a problem with

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-05 Thread Rey Bango
Shane, Check out this one: http://leandrovieira.com/projects/jquery/lightbox/ Rey Shane Graber wrote: What are people using today to create effects like thickbox or lightbox on jQuery 1.2.6? Thickbox is broken on the 1.2.x release and I'm stuck with an old version of jQuery until I find a

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Mike Alsup
could not find a function for it. Will be creating a complicated js object on client side.  Want to encode that object into json, and stuff the value into a hidden form field for POST. anybody help a nubie? Here's some links: http://jollytoad.googlepages.com/json.js

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Morgan Allen
*http://mg.to/2006/01/25/json-for-jquery http://www.mail-archive.com/[EMAIL PROTECTED]/msg06247.html the second is a port of the original from json.org, I use that for my JSON requests. * On Thu, Jun 5, 2008 at 5:15 PM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Karl Rudd
Woops, sorry, wrong direction. You want to produce a string version to stuff into the field. The method I suggested pulls it's data from a form into a JSON form (but not the string you're looking for). Try the stringify method from here: http://www.json.org/js.html Karl Rudd On Fri, Jun 6,

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Um, just for the record, I did actually google various things, on more than one occasion.. On Thu, Jun 5, 2008 at 1:28 PM, sparkpool [EMAIL PROTECTED] wrote: Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote:

[jQuery] Re: Making normal functions work with jQuery

2008-06-05 Thread Dave Methvin
So, my question is, how can I combine my functions that I already have created, and have it work with jQuery, so that it can look for a specific class, which contains the ISO date, and replace that? If you used markup like this: span class=ISODate2008-06-05T20:35Z/span You could replace the

[jQuery] Re: JSON and each loop

2008-06-05 Thread Dave Methvin
This is a working sample, but I would like to use a dynamic variable selected_country within the each loop at the end. Like: data.selected_country. However, if I use this it takes it literally and thus does not find selected_country in the JSON. It would be nice to find and only return US,

[jQuery] Datepicker: convert date string back to date?

2008-06-05 Thread FSan
Does anyone know if there is a way to convert datepicker's generated date range string back to a suitable date format I can use to provide values for minDate and maxDate? Thanks!

[jQuery] Re: Some problems with jQuery BlockUI Plugin

2008-06-05 Thread Kane Gong
It worked! Now I realized that the plugin can show the hidhen element automatically, so I don't need to show or hide it by myself. Thanks! On Jun 6, 12:34 am, Mike Alsup [EMAIL PROTECTED] wrote: You need to remove this line: $('#waitting').show(); You don't need this line either:

[jQuery] Re: JSON and each loop

2008-06-05 Thread Gorelog
Duh! Thank you. I tried that earlier, but i left the ., data. [selected_country] and it would error out.