[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-12 Thread mofle
Thanks, you're a genius. But it didn't work in IE6, where I need it. Any solution? On Feb 12, 12:32 am, tres treshug...@gmail.com wrote: Oh and also Safari 3.1.2 Windows. -Trey

[jQuery] Join me on Bebo

2009-02-12 Thread Yasantha Thushara
I think you will like it. Click to find out why http://www.bebo.com/in/8643502756a306595716b135 .. This email was sent to you at the direct request of Yasantha Thushara thusharaweerasin...@gmail.com. You have not been

[jQuery] Re: How to find the biggest value?

2009-02-12 Thread Stephan Veigl
Hi David, var max = null; $(#box div).each(function() { if ( !max || max.height() $(this).height() ) max = $(this); }); // flash max div max.fadeOut().fadeIn(); by(e) Stephan 2009/2/12 David .Wu chan1...@gmail.com: for example, how to find biggest div height under box. div id=box

[jQuery] Working with identical objects

2009-02-12 Thread ShurikAg
Hi, I have a form with dynamically added fields in it. The plugin that works with those fields have several private fields and functions. What is the right way of grabbing the data from from the right object. For example: I'm using drop downs as generated dynamically fields. If I there is only

[jQuery] Re: possible jQuery ui icon bug

2009-02-12 Thread Richard D. Worth
I've forwarded your question over to the jQuery UI Dev list: http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/4c52d350224505cd We're not able to reproduce it over there. Perhaps you could add some more detail (maybe a code sample) to that thread. Thanks. - Richard On Wed, Feb

[jQuery] Re: Working with identical objects

2009-02-12 Thread ShurikAg
Here is my code: /** * Page template part setup div */ (function(jQ){ /** * form state */ var STATE = new; /** * Request URL */ var RequestUrl = rootUrl+/aranAjx.php?mod=pages; /** * indicator if there is one

[jQuery] Re: how to fade in image after the site loads?

2009-02-12 Thread Paul Mills
Hi, Try something like this: $('#photo img').load(function() { $('.pic').fadeIn(); $('div.position').fadeOut(); $('.site').fadeIn(); }); The .load() event should fire when the images has loaded. You don't need to remove the classes pic and site to get the fades in/out to work. Paul On Feb

[jQuery] Re: Encoding characters using load(some_file.html)

2009-02-12 Thread Leonardo
http://www.w3schools.com/XML/xml_encoding.asp On 2 fev, 07:34, Hilmar Kolbe hko...@googlemail.com wrote: I have the same problem with german characters (Umlaute) - each umlaut comes in with a charCode of 65533. Is there really no way to get an 8859-page via Ajax with unencoded characters?

[jQuery] Re: Dynamic form - adding new input element doesnt work in IE

2009-02-12 Thread Paul Mills
Hi Alex, I haven't tested this so might be a red herring. When you add the clonedRow you append it to the table. When you scan for last row you look for last tr in the form. It could be that IE adds the new row after the /form tag. Try changing the append command to: $(#dmsProductTable

[jQuery] Upgraded from 1.2.1 to 1.3.1 and jquery.flash has stopped working.

2009-02-12 Thread Dan
Hello! I have just upgraded from jQuery 1.2.1 to 1.3.1 however this has broken the jQuery.flash plugin. (I'm also using jquploader in the page but I think it's jquery.flash that's causing the problem. I'm getting this error in fireBug [Exception... 'Syntax error, unrecognized expression:

[jQuery] Re: Is there a problem with Child selectors in Safari with 1.3?

2009-02-12 Thread Markus Peter
On 22.01.2009, at 21:23, andrew wrote: Hi I've got an application that has a pop up div which has controls that submit an ajax post before which I'm getting some hidden variables from within the popup div, I'm using 'live' with the popup div controls. I'm referencing the elements by their

[jQuery] jquery doesn't work, when loaded with ajax

2009-02-12 Thread s4crifi...@gmail.com
Hello. I'm building a wab page with ajax. Well, everything was fine, before i needed to create a form for file uploading. Basicaly it works this way: User loads webpage (www.exmpl.com) click upload - a form is placed into div, using ajax. That form contains jquery code for form handling/file

[jQuery] ClueTip Tooltips only appear on PageLoad, but not after partial page postback in ASP.Net web application

2009-02-12 Thread aaran76
Apologies if this post appears twice, but I posted it at approx 9am GMT, but it never appeared. When using ClueTip within and Ajax UpdatePanel, the tooltip appears on initial page load. Then clicking on an 'edit button' hides one panel and displays another. Upon returning to the initial page

[jQuery] loading jquery functions for a form, loaded with ajax

2009-02-12 Thread s4crifi...@gmail.com
Hi. In my application, i need to load a page with ajax. Loaded page contains jquery functions, to handle form submitting. The problem is that when i load that form with ajax, none of the functions works and when i push submit it opens target url, not reloads itself with ajax.. when i open the

[jQuery] jQuery conflict with mootools

2009-02-12 Thread Miko
Hi. I'm currently developing a website and want to use jCarousel from sorgala.com (http://sorgalla.com/jcarousel/). It use jQuery ver. 1.2.3. But on same page, I use accordion menu that use mootools ver. 1.2. At first, there is a conflict and the accordion menu didn't work. After some searching

[jQuery] Looking for a JQuery Validation Control

2009-02-12 Thread expresso
I'm looking for a JQuery Validation control that will allow us to show a small image if a form field is valid. So for instance a user is filling out a form..tabs to the next form field. The previous form field will show to the right of the field a little icon signifying that it's a valid entry.

[jQuery] Sortables and .live

2009-02-12 Thread conspirator
Hello, group! I'm using jQuery 1.3.1, UI Core 1.6rc6, and UI Sortable 1.6rc6 on a page. I couldn't find any documentation on how to use the new .live event with the sortables. It's got to be possible, right? Here's my sortable code: $(#the_list).sortable({ handle :

[jQuery] Lightbox/ThickBox Accessibility

2009-02-12 Thread WC
HAs anyone come accross a lightbox/thickbox plugin for jquery, that they would class as accessible? Using perhaps ARIA, i have tried using .focus() but i am having no luck with my testing to ensure it does move the user to the lightboxed content. Thanks John

[jQuery] Using clueTip in a ASP.Net website

2009-02-12 Thread aaran76
I've managed to set up the clueTip plugin to display extended information for a datarow in a grid. The tooltip works fine on initial page load, but I use AJAX to perform partial page postbacks for editing the records in the grid. When returning from edit mode back to grid mode, the clueTip no

[jQuery] [treeview] unique: true - possible error

2009-02-12 Thread Mariusz
Based on async demo and jquery 1.3.1: $(document).ready(function(){ $(#black).treeview({ collapsed: true, unique: true, persist: cookie, url: source.php }) }); Page loading

[jQuery] Re: Content called using $().load() isn't displaying in IE (content contains an Iframe)

2009-02-12 Thread scottg...@gmail.com
I'm not 100% clear on what you are asking here but, looking at your code: Looks like if you click on the anchor with class ajax you are loading the href into the #content object. Is the iframe that you are messing with on the same domain? There are a ton of funky security permissions with

[jQuery] Google Chrome and jQuery 1.3.1 selector issue

2009-02-12 Thread dzoo
Hi I am having trouble with jQuery and Google Chrome (and I guess webkit) selector Basically I have a bit of code than does a wrapInner of my .bannergroup classes (wraps it's children with a div.carouselBelt) OK when I use Firefox I can do this

[jQuery] Re: Finding the last sibling.

2009-02-12 Thread scottg...@gmail.com
Last child method, definitely better. :-) On Feb 11, 10:13 pm, Nic Luciano adaptive...@gmail.com wrote: $(div :last-child); (or this wacky way I tried before I learned CSS selectors $(div).children()[$(div).children().size() - 1])...) Nic

[jQuery] double popup using blockUI?

2009-02-12 Thread dan
Hi I have a requirement to display a modal dialog and then show a further informational popup - does blockUI support a 'double popup' - when I call blockUI from the first popup the second displays but the first is removed, how do I override this behaviour to keep both displayed? Thanks, dan

[jQuery] $.getScript - passing the response.

2009-02-12 Thread brian.overl...@gmail.com
I'm using $.getScript to get XML from a remote server. How do I pass the response text from that request to another function? Here's the pseudocode: $.getScript(getURL, function(){ processXML(); }); How do I pass the response text to processXML? Thanks!

[jQuery] Looking for a certain JQuery Plug-in

2009-02-12 Thread expresso
I'm looking for a JQuery Validation control that will allow us to show a small image if a form field is valid. So for instance a user is filling out a form..tabs to the next form field. The previous form field will show to the right of the field a little icon signifying that it's a valid entry.

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Mike Alsup
I would be grateful if someone could point me to documentation on status codes. Example: $post() expects a callback function whose second argument would be status. What statuses should I expect and what datatype for statuses should I expect. Links to docs would be more than adequate.

[jQuery] Re: jquery doesn't work, when loaded with ajax

2009-02-12 Thread Mike Alsup
I'm building a wab page with ajax. Well, everything was fine, before i needed to create a form for file uploading. Basicaly it works this way: User loads webpage (www.exmpl.com) click upload - a form is placed into div, using ajax. That form contains jquery code for form handling/file

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Rick Faircloth
Ideas, anyone? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Wednesday, February 11, 2009 6:56 PM To: jquery-en@googlegroups.com Subject: [jQuery] Is there a way to make a textarea that auto expands as

[jQuery] Re: double popup using blockUI?

2009-02-12 Thread Mike Alsup
I have a requirement to display a modal dialog and then show a further informational popup - does blockUI support a 'double popup' - when I call blockUI from the first popup the second displays but the first is removed, how do I override this behaviour to keep both displayed? BlockUI doesn't

[jQuery] Re: $.getScript - passing the response.

2009-02-12 Thread Nic Luciano
Close but You should be using .get() for this, with an onsuccess callback (also see datatype). .getscript is solely for loading javascript files to execute. Sent from my iPhone On Feb 11, 2009, at 11:13 PM, brian.overl...@gmail.com brian.overl...@gmail.com wrote: I'm using

[jQuery] Re: Removing all styles from an element-

2009-02-12 Thread Nic Luciano
I considered it, but because of the ambiguity I run into I just need to specify every single Css property... Thought there might be something clever I could do with jquery but pobably not... Thanks Sent from my iPhone On Feb 12, 2009, at 12:08 AM, Ricardo Tomasi ricardob...@gmail.com

[jQuery] Re: Looking for a JQuery Validation Control

2009-02-12 Thread Jörn Zaefferer
This plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ This demo has icons: http://jquery.bassistance.de/validate/demo/milk/ Jörn On Thu, Feb 12, 2009 at 4:40 AM, expresso dschin...@gmail.com wrote: I'm looking for a JQuery Validation control that will allow us to show a

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Ricardo Tomasi
Did you skip my previous message? On Feb 12, 11:02 am, Rick Faircloth r...@whitestonemedia.com wrote: Ideas, anyone? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Wednesday, February 11, 2009 6:56 PM

[jQuery] Re: Content called using $().load() isn't displaying in IE (content contains an Iframe)

2009-02-12 Thread mumbojumbo
You got my code down, that's what it does. The iframe is loading different domain, and I'm testing in IE7. I just need to figure this out by the end of the day. This is the problem though, When I load giftcards.html ( the page with the iframe) into my browser it works, but when I ajax load the

[jQuery] Re: Removing all styles from an element-

2009-02-12 Thread Ricardo Tomasi
Even redeclaring all properties in CSS will be much better than using javascript to fix it. Something like #myModule * { margin:0; padding:0; font-family:Arial; color:#000; height:auto; width:auto; font-size:10px; letter-spacing:1; line-height: 1; text-indent:0; overflow:visible; border:0 none;

[jQuery] Re: Finding the last sibling.

2009-02-12 Thread Ricardo Tomasi
If the input doesn`t exist nothing will be returned with nextAll. Same with jQuery Lover's approach. That's we need to get all the children: $('input').parent().children(':last') or alternatively $('input').siblings().andSelf().filter(':last-child') // I'd bet the other one is faster As Mike

[jQuery] Re: IE7 Zoom and the cluetip plugin

2009-02-12 Thread astr
Well, thank you for the quick answer nevertheless. Anatoli On Feb 11, 6:07 pm, Karl Swedberg k...@englishrules.com wrote: On Feb 11, 2009, at 3:27 AM, astr wrote: Hi, everybody, I have a problem with IE7/Cluetip plugin. IE7 Currupts the tooltips in the jQuery ClueTip plugin if you

[jQuery] Re: Tablesorter in Tabs

2009-02-12 Thread black.horizons
MorningZ - can you show me any of your pages online, so I can compare code? TIA - Alex On Feb 10, 8:31 pm, MorningZ morni...@gmail.com wrote: Got a public-facing example page? I've got the tablsorter plugin inside ui.tabs on a bunch of pages and have zero problems with them conflicting with

[jQuery] Re: Content called using $().load() isn't displaying in IE (content contains an Iframe)

2009-02-12 Thread mumbojumbo
I also tried using an object tag, as that is strict compliant, It still works in FF Safari Opera but It won't load when called through jquery in IE. IS there a force reload? On Feb 12, 8:18 am, mumbojumbo madmediabl...@gmail.com wrote: You got my code down, that's what it does. The iframe is

[jQuery] Need help to understand jQuery

2009-02-12 Thread shapo
Hi Guys I am having a tough time getting the hang of jQuery so the best of learning for me is to see my current code in jQuery so I can understand it better. Here is an GET ajax request I make in JS: function GET(link) { // -- Enable Loader Tag

[jQuery] New to JQuery, silly question.

2009-02-12 Thread Alexandru Dinulescu
Why does this : $(document).ready(function(){ if($(.leftNav ul li:last).height() 32){ $(.leftNav ul li.last).addClass(lastWithItems); } }) work in 1.3.1 but not this $(document).ready(function(){ if($(.leftNav ul li.last).height() 32){ $(.leftNav ul

[jQuery] gettng value from radio buttons

2009-02-12 Thread angelochen...@gmail.com
Hi, I have two radio buttons, when user click I'd like to know what is value selected now inside updateoptns, but the code below always return '0', any idea how to do this? Thanks, Angelo label for=optns /label input checked=checked class=rb_optns id=rd1 name=optns

[jQuery] Re: Tablesorter in Tabs

2009-02-12 Thread MorningZ
There isn't really anything special to show but looking at your code, i certainly can offer a suggestion: start simple and work your way to complex... in other words, drop the accordian stuff and all that and start off with a basic tabs page, then sort the tables, then add the accordions.

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Liam Potter
$.ajax({ type: GET, url: some.php, data: name=Johnlocation=Boston, success: function(msg){ alert( Success ); } }); this isn't a direct translation of your js to jquery but this shows the principle. shapo wrote: Hi Guys I am having a tough time getting the hang of jQuery so

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Jack Mack
But how would I handle the error messages ? I have custom errors for each of the server errors. Then I have a functionality error handler if the server code prints out an exception in XML. On Thu, Feb 12, 2009 at 2:25 PM, Liam Potter radioactiv...@gmail.comwrote: $.ajax({ type: GET, url:

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Liam Potter
$.ajax({ type: GET, url: some.php, data: name=Johnlocation=Boston, success: function(msg){ alert( Success ); } error: function(emsg){ |alert(xhr.statusText); }| }); | | Jack Mack wrote: But how would I handle the error messages ? I have custom errors for each of the server

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Jack Mack
Ok, but what would the statusText print out ? And is there any way I can customise the message ? On Thu, Feb 12, 2009 at 2:35 PM, Liam Potter radioactiv...@gmail.comwrote: $.ajax({ type: GET, url: some.php, data: name=Johnlocation=Boston, success: function(msg){ alert( Success );

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Liam Potter
My knowledge of the ajax functions of jquery are rather limited to be honest, I deal with the frontend aspects mainly. I don't know if this would work, I assume it would. There are a few regulars on this list who could help you with this a lot better then I can. $.ajax({ type: GET,

[jQuery] jquery / ajax

2009-02-12 Thread weidc
Hi, i got a radio button. if this radio button is checked it shell send the value of the button to a .php document. didn't used ajax at all so i don't know how to do this. at the moment i tried something like this: $(:radio).click(function() {

[jQuery] Re: how to differentiate between click and dragend events?

2009-02-12 Thread legofish
Thank you peter, that's very helpful. Thank u nic as well. On Feb 12, 2:54 am, Peter Edwards p...@bjorsq.net wrote: the event order is mousedown-mouseup-click the 'dragend' event is triggered by mouseup, which happens before the click event, so if you put logic in your function dragged() to

[jQuery] Re: jquery / ajax

2009-02-12 Thread Liam Potter
you can test if it would work using firebug, just check the net tab for activity from the page to some.php weidc wrote: Hi, i got a radio button. if this radio button is checked it shell send the value of the button to a .php document. didn't used ajax at all so i don't know how to do this.

[jQuery] Re: gettng value from radio buttons

2009-02-12 Thread Frederik Ring
Hi! You could do it like this: $(document).ready(function(){ $('input:radio[name=\'optns\']').click(function() { var optns = $(this).val(); alert (optns); }); }); You'll have to remove your onclick-s then. On Feb 12, 3:22 pm,

[jQuery] jquery s3slider and Magento

2009-02-12 Thread Anatalsceo
I've been trying to use the great s3slider on a magento web site. It almost works. When I say almost, it means that I managed to add the jquery library and make it work. On my page I get the first slide but not the others. It seems that it's stuck on the first one. When I look at the code of the

[jQuery] Re: Access tabs from an iframe to another.

2009-02-12 Thread m.ugues
I made an example that simulate the strange behaviour. It is possible to download it here http://m4zi.ucoz.com/tabs.zip I made a test case that works: it's possible run it opening containerTabs.htm indexContainer.html contains the test case that does not work. It seems that accessing from an

[jQuery] Re: jquery s3slider and Magento

2009-02-12 Thread Liam Potter
put div class=clear sliderImage/div before the /ul Anatalsceo wrote: I've been trying to use the great s3slider on a magento web site. It almost works. When I say almost, it means that I managed to add the jquery library and make it work. On my page I get the first slide but not the others.

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread MorningZ
For the first part of your post li:last gets the last li in the given ul li.last gets any li with the class of last For the second part of your post, your syntax is wrong $(document).ready(blabla) (note the lack of () after the function name) On Feb 12, 8:59 am, Alexandru Dinulescu

[jQuery] Re: jquery s3slider and Magento

2009-02-12 Thread Anatalsceo
thanks. On 12 fév, 16:37, Liam Potter radioactiv...@gmail.com wrote: put div class=clear sliderImage/div before the /ul Anatalsceo wrote: I've been trying to use the great s3slider on a magento web site. It almost works. When I say almost, it means that I managed to add the jquery

[jQuery] Re: jeditable addition of checkboxes, doubleclick to select.

2009-02-12 Thread Brian Loomis
I'm trying to keep from having a check box need a double click to become selected. It seems the base behavior in jeditable is that one click opens an item for editing, and one click (or typing) allows the edits to occur. In the case of a checkbox a double click is not an expected

[jQuery] uncheck specific checkbox

2009-02-12 Thread Andy
Hey guys, I'm trying to uncheck a checkbox that is inside my flexigrid. I have a checkbox in the header and the column has all checkboxes. What I'm trying to do is if I select the top checkbox (so all of the checkboxes below are selected), I would like to uncheck that checkbox if any of the

[jQuery] (SOLVED) Re: Superfish - Entire menu flickers on hover

2009-02-12 Thread TimA
This javascript fixes this problem with IE6 background image caching: try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}

[jQuery] Re: Finding the last sibling.

2009-02-12 Thread mkmanning
If the input doesn't exist, then wouldn't nothing be returned with $ ('input').parent().children(':last') either? It seems to presume the existence of the input :) Maybe you meant if the input doesn't have siblings, then nothing is returned, which is true using nextAll(). Using 'input' with no

[jQuery] Re: jeditable addition of checkboxes, doubleclick to select.

2009-02-12 Thread Brian Loomis
Mika, I tried adding this to the latest jeditable build from github @ line 237 where the plugin settings were included. This had the effect of breaking jeditable as a whole. I then tried it near the bottom where I have added in the new plugin feature for checkboxes:

[jQuery] Re: Looking for a certain JQuery Plug-in

2009-02-12 Thread Leonardo K
Look this example http://jquery.bassistance.de/validate/demo/milk/ http://plugins.jquery.com/project/validate On Thu, Feb 12, 2009 at 01:36, expresso dschin...@gmail.com wrote: I'm looking for a JQuery Validation control that will allow us to show a small image if a form field is valid. So

[jQuery] Chrome and rending dimensions differently?

2009-02-12 Thread Han
Not strictly jQuery...but has anyone else noticed that Chrome renders some dimensions different from Firefox and IE? For example, a positioned DIV overlay (positioned using jQuery) will be offset by a certain amount in Chrome from Firefox. Or a DIV is not as wide as it is in Firefox, causing

[jQuery] Re: uncheck specific checkbox

2009-02-12 Thread Frederik Ring
Hi! The thing is that somwhow (don't ask me why) the unchecked attribute of a checkbox is '' instead of 'false'. This worked fine with me: HTML: input class=parentcheckbox type=checkbox checked=true name=cb01/input input class=childcheckbox type=checkbox checked=true name=cb02/input input

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Alexandru Dinulescu
Yes but in that case the last element is the one with the .last classname so they are identical in meaning (they both refer to the same element) so why it's not working ? --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML:

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Alexandru Dinulescu
Also i didnt say this I said function blabla() { } $(document).ready(blabla()) ? So all the parantheses are where they belong... --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML:

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread MorningZ
So all the parantheses are where they belong.. you should not use () in the document.ready line $(document).ready(blabla()) won't work $(document).ready(blabla) will work On Feb 12, 11:32 am, Alexandru Dinulescu alex.d.a...@gmail.com wrote: Also i didnt say this I said function

[jQuery] Re: uncheck specific checkbox

2009-02-12 Thread mkmanning
In HTML checked is a boolean (of sorts), its presence is sufficient, you don't need to set it to anything; if you want something unchecked you should remove the 'checked' attribute. In XHTML, attribute minimization is forbidden (i.e. attributes can't be empty), so the proper syntax is

[jQuery] Re: add a child node using jQuery

2009-02-12 Thread Paul Mills
Hi Alain, I assume you want to wrap the thead node around the first table row. $('table tr:first').wrap('thead/thead'); If that doesn't do it then post your table html and where exactly you want to add thead Paul On Feb 11, 5:58 pm, Alain Roger raf.n...@gmail.com wrote: Hi, i have a table

[jQuery] Ben Nadel jQuery Presentation

2009-02-12 Thread Glen Lipka
http://www.bennadel.com/blog/1492-An-Intensive-Exploration-Of-jQuery-With-Ben-Nadel-Video-Presentation-.htm Very interesting presentation, especially what he talks about in Slide 4 about his initial fears using jQuery and slide5 about the developer point of view. This is very much a backend

[jQuery] Getting data from the corresponding column. (HTML Table with thead and tbody section.)

2009-02-12 Thread Dygear
In this code, I would like to edit the function to get not only the value of the item clicked, I would also like to get information from the thead section for the corresponding column. For example when I click on tBody-1B I would like it to get the value of tHead-1B or if I click on tBody-3C I

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Tim Johnson
On Wednesday 11 February 2009, Nic Luciano wrote: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Something like this? I might be misunderstanding your question, but I don't think statuses and datatypes are related if that's what you mean. Status codes (linked) are the status of the

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Alexandru Dinulescu
So this should work right? function blabla() { } $(document).ready(blabla); --- Any info why the li:last and li.last do not work? the html was something like this ul liTest Test Test /li liTest Test Test /li li class=lastTest Test Test /li /ul so li.last and li:last equal the same thing

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Liam Potter
Hi Alexandru, I cannot see any reason why li.last would not work, as it would be no different then selecting any li with any class. Alexandru Dinulescu wrote: So this should work right? function blabla() { } $(document).ready(blabla); --- Any info why the li:last and li.last do not

[jQuery] [validate] url checking doesn't allow localhost

2009-02-12 Thread Seb Duggan
The validation rule for URLs seems not to like single-part domain names. For instance: http://localhost/whatever.htm will fail...

[jQuery] Re: uncheck specific checkbox

2009-02-12 Thread Frederik Ring
Well thanks for that, I didn't know and it seems to work perfectly But why is it then when I do something like an alert($(mycheckbox).attr ('checked')); on an unckecked checkbox it returns false? On Feb 12, 5:46 pm, mkmanning michaell...@gmail.com wrote: In HTML checked is a boolean (of sorts),

[jQuery] Re: how to fade in image after the site loads?

2009-02-12 Thread surreal5335
Thanks a lot for the help, unfortunately it didnt take. One more thing, how could I go about getting the $('.site').fadeIn(); to execute after the other two have finished? I wish I could offer some suggestions to help spark an idea on your end, but I am drawing a complete blank...Which is why I

[jQuery] Re: Getting data from the corresponding column. (HTML Table with thead and tbody section.)

2009-02-12 Thread Mark Tomlin
To make this example more readable, and to better convey my goal, I've restructured the CSS and HTML. Only the green area is click able (as it should be, the red area does not have a bound click even for a reason). When I click any part of the green area, I would like to get the value from the

[jQuery] Re: [validate] url checking doesn't allow localhost

2009-02-12 Thread Jörn Zaefferer
Right. Take a look at the bundled additionalMethods.js, it conains url2 to is more accurate in terms of the specification, and accepts localhost etc. Jörn On Thu, Feb 12, 2009 at 6:16 PM, Seb Duggan seb.dug...@gmail.com wrote: The validation rule for URLs seems not to like single-part domain

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Ricardo Tomasi
I guess it's something else in your code that is going wrong. I just copied and pasted your JS and HTML and it works fine: http://jsbin.com/ibete http://jsbin.com/ibete/edit Can you post a test page like the one your working, showing this issue? Then I'm sure someone will spot the problem.

[jQuery] Re: uncheck specific checkbox

2009-02-12 Thread mkmanning
Unfortunately all is not simple in browser-land. You can use checked with no values, or checked=checked or checked=true|false and get what you want/expect given a particular doctype. Even coding to XHTML standards doesn't mean the browser will follow the standards, since most XHTML is rendered as

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Karl Swedberg
If Ricardo's solution doesn't work for you, you could try Brandon Aaron's plugin. http://github.com/brandonaaron/jquery-expandable/tree/master --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 12, 2009, at 8:14 AM, Ricardo Tomasi wrote: Did you skip

[jQuery] Re: how to fade in image after the site loads?

2009-02-12 Thread Paul Mills
Hi again, Sorry that didn't work. It might be interacting with something else in your HTML or JS. You can chain effects together by using a callback function so to chain all three you would do this: $(document).ready(function(){ $('#photo img').load(function() { $('.pic').fadeIn(4000,

[jQuery] Re: [validate] url checking doesn't allow localhost

2009-02-12 Thread Seb Duggan
Thanks Jörn - sorry, didn't see them... On Feb 12, 5:47 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Right. Take a look at the bundled additionalMethods.js, it conains url2 to is more accurate in terms of the specification, and accepts localhost etc. Jörn On Thu, Feb 12, 2009

[jQuery] Re: Jquery slideDown confusion

2009-02-12 Thread James
I don't know if it'll fix your issue, but you cannot have two elements on the same page with the same ID. (In this case, two id=menu) On Feb 12, 7:37 am, surreal5335 surrea...@hotmail.com wrote: I have made this slide Down function for my navigation menu with some help. Firefox no longer spits

[jQuery] Re: [validate] url checking doesn't allow localhost

2009-02-12 Thread Jörn Zaefferer
No problem, they aren't discoverable anyway. You're the first to ask for them since we added them. Jörn On Thu, Feb 12, 2009 at 7:26 PM, Seb Duggan seb.dug...@gmail.com wrote: Thanks Jörn - sorry, didn't see them... On Feb 12, 5:47 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote:

[jQuery] Re: Upgraded from 1.2.1 to 1.3.1 and jquery.flash has stopped working.

2009-02-12 Thread aschmid
Not sure about the plugin, but the problem is with the @ character in the selector. The expression should be [type='file'] and not [...@type='file'] On Feb 12, 7:35 am, Dan dan.ashd...@gmail.com wrote: Hello! I have just upgraded from jQuery 1.2.1 to 1.3.1 however this has broken the

[jQuery] Re: gettng value from radio buttons

2009-02-12 Thread James
function updateoptns() { var val = $(input[name='optns']:checked); alert(val); } On Feb 12, 5:22 am, Frederik Ring frederik.r...@gmail.com wrote: Hi! You could do it like this: $(document).ready(function(){         $('input:radio[name=\'optns\']').click(function() {            

[jQuery] Re: ClueTip Tooltips only appear on PageLoad, but not after partial page postback in ASP.Net web application

2009-02-12 Thread aschmid
You'll need to rebind cluetip after partial page updates. I prefer to use the livquery plugin to do this, as it keeps the event bindings through dom updates, or in your case updatepanel partial page loads. With livequery you could do the following $(document).ready(function() {

[jQuery] Re: jquery / ajax

2009-02-12 Thread James
The data part of ajax should be some pair, for example: data: {myVar:value} myVar will then become your POST variable with the value 'value' (not the literal string) in your PHP script. To extend on the comment using Firebug, you should use it for Firefox. The Firebug console will show you

[jQuery] Re: Safe Ajax Calls?

2009-02-12 Thread SoulRush
Thanks, the idea would be like this: $(document).ready(function(){ $('a.aj_link').click(function(){ var link=$(this).attr(href); link = link.split('?'); var url = link[0]; var sendVars = link[1]; var layer =

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Alexandru Dinulescu
Here is the Link of the page in question. THIS WORKS: http://alexd.adore.ro/projects/threadsmith/getIdeas.html $(document).ready(function(){ if($(.leftNav ul li:last).height() 32){ $(.leftNav ul li.last).addClass(lastWithItems); } }) THIS DOESNT;

[jQuery] How to make a secured login form

2009-02-12 Thread phicarre
How to secure this jquery+php+ajax login procedure ? $('#myform').submit( function() { $(this).ajaxSubmit( { type:'POST', url:'login.php', success: function(msg) { login ok : how to call the welcome.php

[jQuery] Re: How to make a secured login form

2009-02-12 Thread James
Well... if your module properly checks that the user is logged in then there shouldn't really be a problem, provided you're making sessions properly and not easy to crack. Other than that, if all the checking is done server-side, then your login method is really no different whether you're doing

[jQuery] Get contents of first child tr, td with class

2009-02-12 Thread Mark Steudel
I have a table like so: table id=recent_activity thead tr tht1/th tht2/th /tr /thead tbody tr tdvalue/td td class=date2008-09-01/td --- want this content /tr tr tdvalue/td td class=date2008-09-01/td /tr /tbody /table And I want to try and get the first td with class date, I've tried the

[jQuery] Re: Get contents of first child tr, td with class

2009-02-12 Thread James
$(#recent_activity tbody tr td.date:first).text(); On Feb 12, 9:13 am, Mark Steudel msteu...@gmail.com wrote: I have a table like so: table id=recent_activity thead tr tht1/th tht2/th /tr /thead tbody tr tdvalue/td td class=date2008-09-01/td --- want this content /tr tr

[jQuery] Re: Get contents of first child tr, td with class

2009-02-12 Thread Mark Steudel
Thanks, though that didn't work for me, though it could be more my page doesn't match my example totally. Though I did just come up with this, and this seems to work: $('.activity_date:first').html() ; On Feb 12, 11:21 am, James james.gp@gmail.com wrote: $(#recent_activity tbody tr

[jQuery] onClick event on content loaded by ajax

2009-02-12 Thread oli
Hi there, I couldn't find any solutions for my problem, so I'm asking here. I have a form that was previously loaded by ajax and which I want to submit also with ajax. unfortunately, the jQuery(document).ready function has been executet before the form was loaded, and so the event handler

  1   2   >