[jQuery] IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread hagbardceline
I have the following script (see below), which dynamically adds div between closing and opening h3 tags. The script works fine in Firefox but IE is infinite looping the first while. Does anyone have an idea how to fix the script for IE? Thx! hagbard !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[jQuery] Re: FadeIn Text

2009-11-19 Thread Peter
It seems IE8 inherit the bug on opacity in IE7. Which remove the Bold On Nov 19, 5:21 am, Peter Crymble peter.crym...@gmail.com wrote: Hey - hope you are all well. I have a simply Jquery script which acts as a rollover - on mouseover if fades the opacity, and then back again. Heres the code:

[jQuery] Re: cache = true in $.ajax

2009-11-19 Thread Peter
add code error: function(e,e2,e3){alert(e2);}, before success (in fact you can add anywhere in the ajax object). i think you will got a alert error. if so. that's mean your return is not a well format json. On Nov 19, 5:37 am, Juriy juriy.b...@gmail.com wrote: Hi, I'm

Re: [jQuery] where to start ajax learinig

2009-11-19 Thread Ankur_Patel
can you tell me what is ajax freame work and how to work and how implemetn our code like Gmail,yahoo,facebook thanx Michel Belleville thanx All of memebers of this community On Wed, Nov 18, 2009 at 3:25 PM, Michel Belleville michel.bellevi...@gmail.com wrote: You can start here :

Re: [jQuery] where to start ajax learinig

2009-11-19 Thread Ankur_Patel
*framework On Thu, Nov 19, 2009 at 2:36 PM, Ankur_Patel ankurpate...@gmail.com wrote: can you tell me what is ajax freame work and how to work and how implemetn our code like Gmail,yahoo,facebook thanx Michel Belleville thanx All of memebers of this community On Wed, Nov 18, 2009 at

[jQuery] IDEs of jQuery

2009-11-19 Thread Ankur_Patel
Can any one tell me name of jQuery IDEs... like dreamweaver use of IDE as HTML,PHP,ASP,XML,CSS Any IDE there for jQuery code so we can write codes easy fast Thanx

Re: [jQuery] IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread Michel Belleville
If I may be so bold, perhaps you'd be better off using iterators and avoid nesting while loops based on the same numeric condition. For exemple, let's imagine I'd like to round up all h3 nodes and their immediate following siblings in neat divs here's what I'd do : $(.modAccordion

Re: [jQuery] where to start ajax learinig

2009-11-19 Thread Michel Belleville
So, you may find informations about what AJAX means here : http://en.wikipedia.org/wiki/AJAX In shorts it's a way to use JavaScript client-side to query a server for small bits and act upon it changing part of the page instead of just loading whole pages each time the client has to interact with

Re: [jQuery] where to start ajax learinig

2009-11-19 Thread Ankur_Patel
thanx Michel Belleville On Thu, Nov 19, 2009 at 3:03 PM, Michel Belleville michel.bellevi...@gmail.com wrote: So, you may find informations about what AJAX means here : http://en.wikipedia.org/wiki/AJAX In shorts it's a way to use JavaScript client-side to query a server for small bits and

[jQuery] Re: jQuery plugin not working in Firefox?!

2009-11-19 Thread pookeyblow
Think I found out what the problem is! This is how my js code looked: script type=text/javascript $(window).load(function(){ $('body').dragscroll(); }); When I now tried script type=text/javascript $(window).load(function(){ $('#work').dragscroll(); });

Re: [jQuery] Re: Functions

2009-11-19 Thread Vincent Robert
What you are looking for is event delegation. In your last version, you are attaching a click event handler to every a you add to your table. It can be time and resource consuming. A better way is to bind the click event to the container where you will load your dynamic content and wait for the

[jQuery] Re: Simple XML parsing - getting the element tag

2009-11-19 Thread sjames
On Nov 18, 5:17 pm, Bryan Garaventa goo...@gutterstar.net wrote: What happens when you replace       alert (element content is: + $(this).text()); with alert(this.nodeName); ? Perfect! This gives me the exact information I need :) Thanks for the help! Seb

[jQuery] Problems with quotes

2009-11-19 Thread heohni
Hi, I have databse entries like: CUBE Streamer #039;sloping#039; ULTEGRA 3 x 10 (99euro;/Woche) I use this text with jquery and I am writing this text into a div. When reloading my page, because of a form validation, the text gets automatically like this: CUBE Streamer \'sloping\' ULTEGRA 3 x

[jQuery] Re: Change all CSS background images url

2009-11-19 Thread nomen
Hi All: Definitively the best solution is to use relative URL in CSS. Thank you all for help. On 17 nov, 16:07, Liam Byrne l...@onsight.ie wrote: Why are you using a root-relative URL ? If the entire site is in a folder, and then you move everything into another folder, everything

[jQuery] Can't get the image width

2009-11-19 Thread David .Wu
1. img src=xxx style=display: none; id=img1 alert($('#img1').width()); 2. div style=display: none; img src=xxx style=display: none id=img2 /div alert($('#img2').width()); case 1 can get the width of the image, but case 2 will fail, how to solve this problem?

[jQuery] Slide h4 with jQuery.

2009-11-19 Thread srikanthv
I have to implement slide on each h4 question. by default question will be collapse. when I click on on question it should be slide down (expand). How can I implement this on jQuery? Please forward me solution. h4What is jQuery? /h4 div pjQuery is a lightweight JavaScript library that emphasizes

[jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-19 Thread viperasi
Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got the error.Other browsers without error. Below is the code: $(function(){ $('#username').keydown(function(event){ if(event.keyCode==13){ formLogin(); } }); $('#password').keydown(function(event){ if(event.keyCode==13){ formLogin(); }

[jQuery] Re: superfish navbar - how do I center the whole bar?

2009-11-19 Thread xantof
Go see there : http://css-tricks.com/quick-css-trick-how-to-center-an-object-exactly-in-the-center/ On Oct 20, 4:35 am, Shawn shallway...@gmail.com wrote: I'm using anavbarwith superfish. I simply put my menu list inside a wrapper so the markup looks like this: div class=navbar-wrapper ul

Re: [jQuery] JQuery Dialog, bug when page loading?

2009-11-19 Thread Richard D. Worth
Try this http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content - Richard On Thu, Nov 19, 2009 at 2:48 AM, Nicu Marcu marcu.nico...@gmail.com wrote: Very good solution, working OK. I try to do something like this on tabs, but tabs are hidden permanently. On page

[jQuery] Re: IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread hagbardceline
@Michel Yes, basically you're totally right. Your script is much nicer and does not nest loops. Logic is not exactly as it should be. The idea is: After each closing h3 tag (/h3) inside modAccordion container append an opening div (div) tag. Before every opening h3 tag (h3) but not before the

Re: [jQuery] Re: IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread Michel Belleville
2009/11/19 hagbardceline hagbardcelin...@gmail.com @Michel Yes, basically you're totally right. Your script is much nicer and does not nest loops. Logic is not exactly as it should be. The idea is: After each closing h3 tag (/h3) inside modAccordion container append an opening div (div)

Re: [jQuery] Slide h4 with jQuery.

2009-11-19 Thread Leonardo K
$(h4).click(function(){ $(this).next('div').slideToogle(); }).trigger('click'); On Thu, Nov 19, 2009 at 04:11, srikanthv getur.srika...@gmail.com wrote: I have to implement slide on each h4 question. by default question will be collapse. when I click on on question it should be slide

[jQuery] Wait the function end the post and then do this

2009-11-19 Thread Carlos Santos
Tenho uma função que chama outra função function refreshEstado(estado, cidade){ $.post( '../busca_estados.php',{ UF: $mUF }, function(data){ $('#result-estado').html(data);

[jQuery] jq 1.3.2 in IE6 syntax error line 324

2009-11-19 Thread viperasi
Either jquery-1.2.3.js or jquery-1.3.2.min.js, i got the error in IE6,other browsers without error. the code: $(function(){ $('#username').keydown(function(event){ if(event.keyCode==13){ formLogin(); } });

[jQuery] Re: crossSlide with preloaded images

2009-11-19 Thread Vivek
ANY HELP PLS. On Nov 18, 9:03 pm, Vivek narula.vi...@gmail.com wrote: Hi, I am using CrossSlide plugin (http://www.gruppo4.com/~tobia/cross-slide.shtml ) for my website however the images loads slowly. How can i make my images to preload for CrossSlide. Thanks

[jQuery] No reaction with $('a').click(), OK with dispatchEvent(...)

2009-11-19 Thread Jon
Hi, I have an element like this: a id=a1 href=javascript:doSomething ();#a1/a However, when I do this: $('#a1').click(); ... then my doSomething() do not get called. Why? If I make my own click function, like this: function clickAt(targetElement) { var evt =

[jQuery] superfish navbar issue in Afterburner or JA-Purity Templates

2009-11-19 Thread xantof
Hello, this is a repost of my first post. The Superfish navbar menu reverts to a classic dropdown menu when in NAV module of Afterburner template or HORNAV module of JA-Purity template. It works fine in other module positions and other types of menu displays behave as they should. I tried to

[jQuery] Nested Accordion menu upto 4 levels deep

2009-11-19 Thread Chandan Luthra
Hello All, Is there any site/plugin that provides the accordion menu to be 4 levels deep? I know this could be achieved using treeview plugin but I want an accordion menu. container1 -container1.1 --container1.2 ---container1.3 Menu Item1.3.1 Menu Item1.3.2 container2 -container2.1

[jQuery] re-firing a click event on a link.

2009-11-19 Thread Mick Delaney
hi i've got a page (asp.net) where I trap the click event of a link. i then do some dirty checking and present a dialog to the user, var clickedLink; $('.checkdirty').click(function(event) { if(isDirty == false){ return true; } clickedLink = $(this);

[jQuery] Can't get image's dimension under a hidden object

2009-11-19 Thread David .Wu
1. img src=xxx id=img1 style=display: none; / $(window).load(function() { alert($('#img1').width()); }); 2. div style=display: none; img src=xxx id=img2 style=display: none; / /div $(window).load(function() { alert($('#img2').width()); }); case 1 can get the dimension,

[jQuery] Re: IDEs of jQuery

2009-11-19 Thread devilmike
This isn't specifically for jQuery, but NetBeans handles it extremely well. I use the Early Access for PHP version. Michael On Nov 19, 4:13 am, Ankur_Patel ankurpate...@gmail.com wrote: Can any one tell me name of jQuery IDEs... like dreamweaver use of IDE as HTML,PHP,ASP,XML,CSS Any IDE

Re: [jQuery] Re: validation: how do I call a function to perform after a validation is done?

2009-11-19 Thread Atkinson, Sarah
Ok I'm using this invalidHandler: function(form, validator) { PossitionStuff.possitionErrors(); }, And it works but it doesn't fire till the second validation I need it to fire on the first go around too On 11/18/09 4:06 PM, StephenJacob turnstylecreat...@gmail.com wrote: Hmm, i'm

[jQuery] Re: IDEs of jQuery

2009-11-19 Thread KeeganWatkins
Aptana (built on Eclipse) also has great jQuery support. http://aptana.com/ On Nov 19, 9:28 am, devilmike devilm...@gmail.com wrote: This isn't specifically for jQuery, but NetBeans handles it extremely well. I use the Early Access for PHP version. Michael On Nov 19, 4:13 am, Ankur_Patel

[jQuery] Re: No reaction with $('a').click(), OK with dispatchEvent(...)

2009-11-19 Thread KeeganWatkins
if you have to keep your JavaScript inline, you should use the onclick attribute instead of using the javascript: pseudo-protocol. it was never fully standardized, and is a lingering piece of old-school JavaScript usage. so for your example above, use: a id=a1 onclick=doSomething();#a1/a an even

[jQuery] Re: how to remove jqgrid space at far right of grid

2009-11-19 Thread bertaudmarc
Hi, Did you play with scrollOffset, rows number and records number ? e.g: if record row then scrollOffset = 0 I never tried this. You are right, this space is annoying. I checked the forum of the author. He said that this space is normal. On 13 nov, 21:46, davebrown d...@dbws.net wrote: Should

[jQuery] Problem combining validation plugin and datepicker from ui (validate)

2009-11-19 Thread bobbykjack
OK, my requirement is wildly advanced, but I need to combine the ui datepicker with the validation plugin. Ultimately, I need to ensure a date is at least 1 month in the future. The problem I'm encountering is the exact ordering of events. It appears as if the validator check's the input's data

[jQuery] Problem with plugins

2009-11-19 Thread Paulo Henrique
Can someone help me find any problem with the code attached? I am using it on a website, but its happening a problem with some of my plugins... I use all of them on other websites and they all work fine, but on this one, some aren't working. When I call the editable plugin, it throws an error

[jQuery] Re: Problems with quotes

2009-11-19 Thread MorningZ
Why are you using both .text() and .html() ? On Nov 19, 5:59 am, heohni heidi.anselstet...@consultingteam.de wrote: Hi, I have databse entries like: CUBE Streamer  #039;sloping#039; ULTEGRA 3 x 10 (99euro;/Woche) I use this text with jquery and I am writing this text into a div. When

Re: [jQuery] $.get xml document with xhtml fragments in IE

2009-11-19 Thread ugurlu.b
I had the same problem, where I have to rely on an XHTML+XML output already processed through XSLT, from which I need to extract parts of and insert them into the DOM. I've taken your code and changed it a little to get it more universal. if (!document.ELEMENT_NODE) {

[jQuery] Re: Slide h4 with jQuery.

2009-11-19 Thread srikanthv
How can I make this div section under h4 by default collapsed? On Nov 19, 7:39 am, Leonardo K leo...@gmail.com wrote: $(h4).click(function(){        $(this).next('div').slideToogle(); }).trigger('click'); On Thu, Nov 19, 2009 at 04:11, srikanthv getur.srika...@gmail.com wrote: I have to

[jQuery] InvalidHandler problem for validation

2009-11-19 Thread Atkinson, Sarah
My problem is simple it seems that the invalidHandler function runs first. I need it to either run last or I need to be able to add extra class features to the errors. Or is it possible to alter a style sheet's class on document load?

[jQuery] jqgrid dynamic select option with json

2009-11-19 Thread bertaudmarc
Hi, I tried to build a dynamic string for populating a select but my string seems to have a bad format ! var manufacturers= $.ajax( {url:'abcd.php', async:false }).responseText; {name:'manufacturer', index:'manufacturer', editable:true, edittype:'select', editoptions:{ value:

Re: [jQuery] IE radio button show nothing after click or change

2009-11-19 Thread Jacob Siu
Thanks. I figure it out later On Thu, Nov 12, 2009 at 1:35 PM, Andrei Eftimie k3liu...@gmail.com wrote: I'm not sure about this right now, but from memory, IE will change the value after the element has loses its focus. On Thu, Nov 12, 2009 at 7:54 PM, 2daughtersdad jacob@gmail.com

[jQuery] How to collapse slideToggle sections by default?

2009-11-19 Thread srikanthv
How to collapse slideToggle sections by default?When page loads all h4 sections should be collapsed. When I click it should expand. I have below couple of sections and I am using jQuery $(document).ready(function(){ $('h4').click(function () {

Re: [jQuery] Problem with plugins

2009-11-19 Thread Michael Geary
Can you post a link to a test page? It's impossible to tell what is wrong from the .js file you attached. It's not even JavaScript code: it's PHP code. The browser doesn't ever see your PHP code. All it sees is the *output* of the PHP code. There could be any number of things wrong, but there's

[jQuery] Re: IDEs of jQuery

2009-11-19 Thread MorningZ
More topics like this with lots of replies http://groups.google.com/group/jquery-en/search?hl=engroup=jquery-enq=ideqt_g=Search+this+group

[jQuery] Before/Append/Prepend/After Margin Rendering Bug?

2009-11-19 Thread discern
I have a large div with several divs (they mimic trs). In those are two input type=text fields and two buttons. None of the elements are floating, but the buttons are actually as that are display: inline- block. If I .prepend() or .after() a new div to one of the existing divs (using the function

Re: [jQuery] Can't get image's dimension under a hidden object

2009-11-19 Thread Michael Geary
I don't think even case 1 will work in all browsers. Some browsers won't bother loading the image if it has display:none. But they will all load it if it has visibility:hidden. Here's how I do it: jQuery.imageDimensions = function( src, callback ) { jQuery('img /') .css({

[jQuery] Re: mediocre css skills combined with noob to jquery and .cycle

2009-11-19 Thread Nate Heldman
ok...solved the issue of timing. the system we use is placing br tags in spite of the fact that this was all coded in their html module. i got around it by eliminating all returns and spaces in the code. (the a tags had nothing to do with the timing issues...only the spaces and returns...just in

RE: [jQuery] Can't get image's dimension under a hidden object

2009-11-19 Thread Josh Nathanson
One little trick I've used is to use absolute positioning to move the image way off the page, like left = -5000, then display the image, get the dimensions, then hide it again. This way your layout won't be disturbed. -- Josh From: Michael Geary [mailto:m...@mg.to] Sent: Thursday,

[jQuery] why mouse position inside div is different in Firefox and IE

2009-11-19 Thread Latha
I am having h3 tag containing anchor tag , i want to know the position of the mouse while hover. Why the following works differently in IE and FF. var x = e.pageX - this.offsetLeft; var y = e.pageY - this.offsetTop; Can anyone give me the solution for this issue to fix in IE and

[jQuery] Modifying a CSS class's properties

2009-11-19 Thread Atkinson, Sarah
Can I modify a CSS Class's properties not on an element but on the css class it's self so that and element that is given that class in the future will still have those changes? Perhaps modify a class that is actually in the header?

[jQuery] Re: Modifying a CSS class's properties

2009-11-19 Thread discern
I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if you had a secondary class in your CSS and used addClass('secondary') to the element. It would inherit styles from the original and apply the secondary styles.

Re: [jQuery] Re: Modifying a CSS class's properties

2009-11-19 Thread Atkinson, Sarah
The problem is is that I need to calculate the styles when the page loads. And the calculation results in a couple of hundred different numbers. On 11/19/09 1:33 PM, discern cap...@gmail.com wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery),

Re: [jQuery] Re: Modifying a CSS class's properties SOLVED

2009-11-19 Thread Atkinson, Sarah
It is possible I used this: $('style').text('label.error{left:' + leftOffset +'px;}'); On 11/19/09 1:33 PM, discern cap...@gmail.com wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if you had a secondary class in your CSS

Re: [jQuery] Re: IDEs of jQuery

2009-11-19 Thread Ankur_Patel
to Michael, I am also use NetBeans but how can i get jQuery all library like php functions,properties On Thu, Nov 19, 2009 at 8:58 PM, devilmike devilm...@gmail.com wrote: This isn't specifically for jQuery, but NetBeans handles it extremely well. I use the Early Access for PHP version.

[jQuery] AJAX w/dataType='json', doesn't correctly handle boolean response?

2009-11-19 Thread livefree75
Hi, I'm using the following code on the client side: $.ajax({ dataType : 'json', // other options success : function(json_response) { console.log(typeof response, response); // Using Firefox's firebug } }); And this PHP code on the server side: ?php

[jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
I'm having trouble with IE This code seems to break in IE var cssString= label.error{left:+leftOffset+px;};$('head style').text(cssString);

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
What version of IE? Define break? On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I’m having trouble with IE This code seems to break in IE var cssString= label.error{left:+leftOffset+px;};$('head style').text(cssString); -- Charlie

[jQuery] Load image when they are visible

2009-11-19 Thread CrustyDOD
Hey guys, I've been searching all over if its possible to make the same effect that YouTube has. Loading images when they are visible. If you have no idea what i'm talking about, go to YouTube, do a search for some video and when you scroll down the list of all found videos, thumbnails of each

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
IE 7 haven't tried any others. And it doesn't work it doesn't text and it cause another function that hides and shows a div to not work as well. The only fire bug error I get is Reload to activate window console although IE has a message saying error on page On 11/19/09 2:35 PM, Charlie

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: IE 7 haven’t tried any others. And it doesn’t work it doesn’t text and it cause another function that hides and shows a div to not work as well. The

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Yes In the function that this bit of code resides On 11/19/09 2:43 PM, Charlie Griefer charlie.grie...@gmail.com wrote: leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: IE 7 haven't tried any

[jQuery] Re: Load image when they are visible

2009-11-19 Thread StephenJacob
I think this is what you're looking for. Haven't tested it myself, but this is what i found with a quick search in google for jquery load images on scroll http://www.appelsiini.net/2007/9/lazy-load-images-jquery-plugin On Nov 19, 2:37 pm, CrustyDOD anze.stok...@gmail.com wrote: Hey guys,

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
This may just be another example of IE sucking. I get an error on IE 6, unexpected call to method or property access. Googling that error message (and adding 'style' to the search) suggests that manipulating the style attribute dynamically on IE is somewhat... problematic :\ On Thu, Nov 19,

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Yea I'm kinda figuring it out trying another approch that I found here http://www.quirksmode.org/dom/w3c_css.html On 11/19/09 3:12 PM, Charlie Griefer charlie.grie...@gmail.com wrote: This may just be another example of IE sucking. I get an error on IE 6, unexpected call to method or property

Re: [jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-19 Thread Karl Swedberg
nothing here looks like it would cause a syntax error. Maybe the problem is in your formLogin() function? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2009, at 2:00 AM, viperasi wrote: Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got

[jQuery] What is the opposite of :checked?

2009-11-19 Thread Atkinson, Sarah
What is the opposite of :checked? Is it :unchecked? Or would you use the not (!)

[jQuery] Append to .load() element

2009-11-19 Thread knal
Hi there, I have a (few) jQuery UI's accordions on a single page, ever accordion exists of two elements; one visible, one hidden. Initially the invisible one has no content, but it's loaded with jQuery. My code looks like this: [code] $('.project').each(function(){ var

Re: [jQuery] What is the opposite of :checked?

2009-11-19 Thread Charlie Griefer
http://docs.jquery.com/Selectors/not On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: What is the opposite of :checked? Is it :unchecked? Or would you use the not (!) -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have

[jQuery] HEAD element or ScriptManager

2009-11-19 Thread newroz
Hi, I have used jquery in my web site (.net 3.5 with master pages) the problem is jquery works if it is added as a usual script tag in HEAD element, but if add it as scriptreference in ScriptManger it generate error something like JScript runtime error object required. I am newbie on javascript.

[jQuery] Re: What is the opposite of :checked?

2009-11-19 Thread KeeganWatkins
should also be pretty easy to roll your own :not-checked selector: $.expr[:][not-checked] = function(elem, i , m) { // use === false to avoid undefined checked property // creating false positives return elem.checked === false; } On Nov 19, 3:00 pm, Charlie Griefer

Re: [jQuery] What is the opposite of :checked?

2009-11-19 Thread Atkinson, Sarah
That worked On 11/19/09 4:00 PM, Charlie Griefer charlie.grie...@gmail.com wrote: http://docs.jquery.com/Selectors/not On Thu, Nov 19, 2009 at 12:55 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: What is the opposite of :checked? Is it :unchecked? Or would you use the not (!)

[jQuery] Re: Load image when they are visible

2009-11-19 Thread CrustyDOD
Yes, that's it.. Was so looking for the wrong thing.. Thanks man. On Nov 19, 9:08 pm, StephenJacob turnstylecreat...@gmail.com wrote: I think this is what you're looking for. Haven't tested it myself, but this is what i found with a quick search in google for jquery load images on scroll

[jQuery] Re: Adding some buttons and callbacks

2009-11-19 Thread VANJ
Anyone? Thanks

Re: [jQuery] How to collapse slideToggle sections by default?

2009-11-19 Thread Olaf Bosch
srikanthv schrieb: How to collapse slideToggle sections by default?When page loads all h4 sections should be collapsed. When I click it should expand. I have below couple of sections and I am using jQuery instert this ceil: $(document).ready(function(){ $('h4').next('div').hide();

Re: [jQuery] No reaction with $('a').click(), OK with dispatchEvent(...)

2009-11-19 Thread Olaf Bosch
Jon schrieb: Hi, I have an element like this: a id=a1 href=javascript:doSomething ();#a1/a However, when I do this: $('#a1').click(); ... then my doSomething() do not get called. Why? Try the jQuery-Way: a id=a1 href=##a1/a $('#a1').click( function() { doSomething(); return

[jQuery] Bolding a certain word - string manipulation?

2009-11-19 Thread Rua
Hi I'm trying to select a specific word inside a div and would like to bold it, I can't seem to find how to do this anywhere! $(.tpSurveyQuestion:contains('anything')).css(font-weight,bold); -- View this message in context:

[jQuery] Aborted Javascript Request and Variable Append when trying to insert Javascript via AJAX

2009-11-19 Thread sconn
Hello, I am attempting to insert a piece of javascript into a page using an ajax call. Here are the files testjs.html: SCRIPT language=javascript src=http://www.myurl.com/pixel.track? CID=123456/SCRIPTNOSCRIPTIMG src=http://www.myurl.com/ pixel.track?CID=LALALA width=1 height=1 border=0/NOSCRIPT

[jQuery] jQuery UI: Tabs: No spinner

2009-11-19 Thread dinos
I use UI Tabs with Ajax loading. The spinner is not working. Any ideas?

[jQuery] Re: how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-19 Thread mikko
Greetings, I'm having the same issue with a new line being inserted. Here is the live code: http://www.hotel1000seattle.com/packages.php The text doesn't read correctly when expanded (skipped line). Is there a way to prevent this? thanks, -me On Nov 9, 7:19 pm, Karl Swedberg

[jQuery] Re: jQuery UI: Tabs: No spinner

2009-11-19 Thread MorningZ
add a span tag around the a's text and it should work so a href=http://somesite.com/tabcontent.php;This Tab/a to a href=http://somesite.com/tabcontent.php;spanThis Tab/span/a On Nov 19, 3:39 pm, dinos kbala...@gmail.com wrote: I use UI Tabs with Ajax loading. The spinner is not working.

Re: [jQuery] Bolding a certain word - string manipulation?

2009-11-19 Thread Michael Geary
If the word anything is just part of the text inside the div, then it doesn't have a DOM element (tag) of its own. This means you can't select it with a jQuery selector or any kind of DOM manipulation, and you can't apply a CSS style to it. What you can do is rewrite the HTML content of your DIV

Re: [jQuery] AJAX w/dataType='json', doesn't correctly handle boolean response?

2009-11-19 Thread Michael Geary
You would normally expect that to work. What content-type is your server putting in the header for the JSON data? That could be throwing it off. Also note that a bare primitive value (true, false, null, or a string or number) is not valid JSON. The only valid JSON is either an object enclosed in

Re: [jQuery] What is the opposite of :checked?

2009-11-19 Thread ankit jain
in general the opposite of checked is unchecked but in technical language it may be unselected.. On Fri, Nov 20, 2009 at 2:59 AM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: That worked On 11/19/09 4:00 PM, Charlie Griefer charlie.grie...@gmail.com wrote:

Re: [jQuery] Re: how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-19 Thread Karl Swedberg
Sorry about that. I should have been more specific in the plugin documentation about what it was intended for. I didn't write the plugin to work across multiple block-level elements. It looks like that is how you're trying to use it. If I have some time in the next few days, I'll see if I

[jQuery] JQuery and ColdFusion

2009-11-19 Thread Westside
Hi, I'm trying to use ColdFusion and JQuery but I'm having some problems setting/reading session variables. I have a login box that I use jquery to do the ajax work. In my ajax call I have this snippet $(form).ajaxSubmit({ type: 'POST', dataType: 'json', url: