[jQuery] [validate] Using remote w/ data and ASMX doesn't seem to process the response

2009-03-31 Thread pbarnes
I'm trying to integrate the Validation plug-in with an ASP.NET site using ASMX services. The service is very simple: it takes in two strings and returns a boolean. I can see valid XML response in Firebug, but the plugin doesn't seem to process it properly. Both true and false return values result

[jQuery] Re: Selecting dynamic elements

2009-03-31 Thread schickb
Thanks On Mar 27, 3:02 pm, James james.gp@gmail.com wrote: Try it out: $inner = $elems.find(#inner); alert( $inner.text() );

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread xPheRe
To locate a node with id myId that is a descendant of another one, in a var called myNode, use: $('#myId', myNode) Hope it helps :) On 30 mar, 17:20, tij_dev tijmas...@googlemail.com wrote: Hi guys ! I assume this is a really basic question but I'm a JQuery rookie :) so please be indulgent

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread Steven Yang
do you have a special reason to find an element by id in a specific node?isn't id suppose to be unique in the whole document?

[jQuery] Re: My code which use keydown(fn) don't work on IE?? help

2009-03-31 Thread liec
Thanks, Hector :) On Mar 31, 9:55 am, Hector Virgen djvir...@gmail.com wrote: Try observing window.document instead of window. -Hector On Mon, Mar 30, 2009 at 5:30 PM, liec lie...@gmail.com wrote: $(window).keydown(function(e){       if (e.keyCode == 13)               sendmsg();

[jQuery] Re: [validate] Select box help

2009-03-31 Thread Jörn Zaefferer
Just set a required-rule for the select. See http://jquery.bassistance.de/validate/demo/tabs/ (second tab) Jörn On Mon, Mar 30, 2009 at 10:51 PM, Matt pyrophr...@gmail.com wrote: I have a form that has a few select boxes and have been unsuccessful at getting them to validate on change, or

[jQuery] Re: [validate] Using remote w/ data and ASMX doesn't seem to process the response

2009-03-31 Thread Jörn Zaefferer
The plugin expects a JSON true/false response, which you don't provide. You could set the dataFilter-ajax-option (see http://docs.jquery.com/Ajax/jQuery.ajax#options) to postprocess the response. remote: { url: webservice..., dataFilter: function(data) { return process(data); } } Jörn

[jQuery] Re: Jquery - Weird Issue with Node cannot be inserted at the specified point...

2009-03-31 Thread Michael Geary
I do believe that is more nbsp;'s and quot;'s than I have ever seen at one time. Is there a way to get that more readable? Maybe a link to your test page? -Mike From: ckoeber Hello, I am trying to create a JSON service and everything seems to work well until I am pulling the actual

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread Klaus Hartl
On 31 Mrz., 08:38, Steven Yang kenshin...@gmail.com wrote: do you have a special reason to find an element by id in a specific node?isn't id suppose to be unique in the whole document? Could think of: It may have different behavior depending on wether it's in the main content or the sidebar.

[jQuery] Re: AJAX - ignore mime type

2009-03-31 Thread the_woodsman
Thanks for your responses guys. James - I think I'm trying to do the opposite, my ajax call returns XML, and I want to treat it like plain HTML - but I'll look at your link and see if it helps, thanks! Klaus - the API exists already and is used by other client technology, I don't have free

[jQuery] Re: fastest way to create a million div's?

2009-03-31 Thread Shedokan
And how do i get my hands on one of those? On 31 מרץ, 01:47, Hector Virgen djvir...@gmail.com wrote: IMHO Canvas is still the best choice for pixel editing. Take a look at some of Google's achievements with the canvas tag:http://www.chromeexperiments.com/detail/javascript-canvas-raytracer/

[jQuery] Re: fastest way to create a million div's?

2009-03-31 Thread donb
Just as an aside, 1 million 'divs' would require 11 megabytes of memory just to create them empty: 'div/div' x 10^6 On Mar 31, 5:09 am, Shedokan shedo...@yahoo.com wrote: And how do i get my hands on one of those? On 31 מרץ, 01:47, Hector Virgen djvir...@gmail.com wrote: IMHO Canvas is

[jQuery] SUPERFISH - Possible to Animate LI's within UL?

2009-03-31 Thread Martin Evans
Hi everyone, I've been playing with Joel's fantastic menu plugin and was wondering if anyone knows if it's possible to animate the LI's at the same time the containing UL is being animated? I've got a simple demo running that *almost* does what I want:

[jQuery] captions and jcarousel

2009-03-31 Thread Jason
Forgive my ignorance first of all, but i have a horizontal carousel (not sure of the technical term) with images. Is it possible to include a caption(text) above and below each image? Secondly, is the size of each image only limited to 75x75? Many thanks jason

[jQuery] Display google.com in a Div

2009-03-31 Thread emilien.hum...@gmail.com
Dear all, I am trying to create a sort of slidebar containing a list of links [google.fr/yahoo.fr/facebook.com;...;...;...] The idea is to display in a div the slidebar and in another div the website. The slidebar is ok, but I have not found the way to display the site into the second div.

[jQuery] Re: Form no longer works with upgrade to 1.3.2

2009-03-31 Thread Kathryn
John, Thanks for the tip. Validation did find some errors, but even after I fixed them it didn't work. But by trial and error (after getting some sleep! :) ) I discovered the offending jQuery line. With the upgrade, I had the wrong syntax for the name attribute. In trying to fix it, I found

[jQuery] Re: Display google.com in a Div

2009-03-31 Thread sliver
I think you should read up on what an img tag is http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.2 And then to solve your problem, read up on the iframe tag http://www.w3.org/TR/html401/present/frames.html#h-16.5 Essentially, swap out the img tag with an iframe tag. On Mar 31, 5:15 

[jQuery] How To Extend a jQuery: Plugins versus Other?

2009-03-31 Thread Alan Gutierrez
I've created a first jQuery plugin. I'm working in a project that uses ColdFusion 5, and I'm being lazy about learning ColdFusion. I'm able to spit out simple plain/text of this format from a database using ColdFusion: person.firstName=Alan person.lastName=Gutierrez person.address.city=New

[jQuery] Re: Enable a disabled button by id

2009-03-31 Thread Karthikraj
On Mar 30, 7:44 pm, Thierry lamthie...@gmail.com wrote: I can disable button with specific id with the following code: jQuery(#click_me:button).attr(disabled, true); If I want to re-enable the button, the following doesn't work: jQuery(#click_me:button).attr(disabled, false); Does

[jQuery] Full window carrousel??????

2009-03-31 Thread tom.fur...@googlemail.com
Hi All, I am looking for any help or suggestions in trying to create a full window carrousel like the one this guy uses to display his portfolio http://www.tomhoops.com/fashion.html I have started to use one that i found here http://sorgalla.com/jcarousel/ You can see how far i have got with

[jQuery] sortable serialize doesn't work

2009-03-31 Thread shichuanr
I have a strange problem with sortable serialize ul id=sortable1 li class=ui-state-defaultItem 1/li li class=ui-state-defaultItem 2/li li class=ui-state-defaultItem 3/li li class=ui-state-defaultItem 4/li li class=ui-state-defaultItem 5/li /ul script

[jQuery] Problem getting selected value from drop-down

2009-03-31 Thread LinkGuru
Hi, Can anyone help with the following? With JQuery, I can't successfully grab the selected value from a drop-down. The alert just shows an empty message. At least it is not showing undefined (as it was for my other attempts - you can see what these were from the commented out code), but I would

[jQuery] Re: AJAX - ignore mime type

2009-03-31 Thread Klaus Hartl
You should be able to use the XmlHttpRequest.responseText property, it'll give you the server response as string... --Klaus On 31 Mrz., 10:43, the_woodsman elwood.ca...@gmail.com wrote: Thanks for your responses guys. James - I think I'm trying to do the opposite, my ajax call returns

[jQuery] Re: sortable serialize doesn't work

2009-03-31 Thread Richard D. Worth
Your LIs need IDs. See http://docs.jquery.com/UI/Sortable#method-serialize If you have any further questions about jQuery UI plugins, please post here: http://groups.google.com/group/jquery-ui - Richard On Tue, Mar 31, 2009 at 3:13 AM, shichuanr shichu...@gmail.com wrote: I have a strange

[jQuery] how to access the data from $.getJSON(ur,pa rams,function(data)(){}‏

2009-03-31 Thread neil
Hello, I am using struts2 and Jquery now. And who can please tell me how to access the sorttiervo from the 'data'$.getJSON('SortTiersAction',params,function(data)(){} data.sorttiervo? or other ways? public class SortTiersAction extends BaseActionS2 implements

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread tij_dev
Thanks xPheRe this exactly what I wanted. Precisely my issue was that I wanted to print a specific part of a page. To do so i load that content into a hidden iframe I, then, print it. That's why I want to work only on the dom content of this iframe and not on the whole window.document. Thanks

[jQuery] Re: Display google.com in a Div

2009-03-31 Thread emilien.hum...@gmail.com
Hello Silver, I think you should read up on what an img tag ishttp://www.w3.org/TR/REC-html40/struct/objects.html#h-13.2 Thank you ... Just for info img src=http://www.google.com/s2/ favicons?domain=www.google.fr / allows me to display the favicon... I am not trying to link anything. And

[jQuery] Mobile Ajax

2009-03-31 Thread Alaa
Hello, I have a question which could be a very beginner question, This is because I am a beginner, Can we use jQuery framework to build Mobile Applications, or I have to use a Mobile specific frameworks like Mojax or Frost. Thanks alot,

[jQuery] Re: Stop on mouseover, restart on mouseout

2009-03-31 Thread flcarneiro
Anyone? Bueller? =)

[jQuery] Re: Catching document.forms['formid'].submit() with jquery validator

2009-03-31 Thread Yeuker
Thanks so much for the reply Jorn (and the great plugin). My problem is a little more complicated as the jsf controls put more javascript statements than the document.forms['asdf'].submit() in the onclick handler. More troubling yet, sometimes the form submit (again with other js) is in the

[jQuery] Re: $(document).ready and Firefox 3

2009-03-31 Thread chrsan
Hi! If someone has an answer to this problem I would be very glad to get some input. I'm out of clues on how to solve this my self. Thanks in advance, Christer On 24 Mar, 13:55, chrsan chr...@gmail.com wrote: Hi! We've just started to use jQuery in a project where we use it to load an

[jQuery] Increase / Decrease Font Size

2009-03-31 Thread Dan Vega
I am using the following code to allow the user to increase / decrease the font size of the document. I have tested it in many browsers and in all of the following it comes back with a starting font size of 16px. Firefox 3.0.8 Google Chrome 1.0.1 Safari Win 4 Public Beta In IE 6/7 the font

[jQuery] Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread MorningZ
Friend of mine shot me this link this morning http://www.smashingmagazine.com/2009/03/31/breaking-internet-explorer-81-eagle-eyes-leaked/ -- Eagle Eyes’s most exciting (and highly anticipated by developers) feature is its wide

[jQuery] Re: draggable/droppable pick some

2009-03-31 Thread CTek
I'm starting to believe that there are no solution to my problem. This seems to be the place where all the answers are, and no solution (or even suggestion) for almost two weeks? Too bad. The suggestion Richard made (and I had already implemented) will have to be enough then. /Stefan On 19

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread Martijn Houtman
You nearly fooled me there! :-) On Mar 31, 2009, at 3:24 PM, MorningZ wrote: Friend of mine shot me this link this morning http://www.smashingmagazine.com/2009/03/31/breaking-internet- explorer-81-eagle-eyes-leaked/ --

[jQuery] Re: JQuery Cycle

2009-03-31 Thread gmca...@gmail.com
After rebooting everything works. Thanks :) On Mar 30, 9:23 pm, Mike Alsup mal...@gmail.com wrote: Well even this doesnt work in IE...http://www.malsup.com/jquery/cycle/ Which isn't my code obviously... only the first pic loads, it says in the status bar the other images are loading in

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread brian
Isn't that tomorrow? On Tue, Mar 31, 2009 at 9:33 AM, Martijn Houtman martijn.hout...@gmail.com wrote: You nearly fooled me there! :-) On Mar 31, 2009, at 3:24 PM, MorningZ wrote: Friend of mine shot me this link this morning

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread MorningZ
You can chalk it up as: wishful f-ing thinking, heh heh it's weird looking back how getting in jQuery has changed absolutely everything I code IE8's dev panel is pretty close to Firebug though

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread Martijn Houtman
On Mar 31, 2009, at 3:47 PM, brian wrote: Isn't that tomorrow? Early preparements, I'd assume :-)

[jQuery] Re: Problem getting selected value from drop-down

2009-03-31 Thread Rob
One thing I see wrong there: You are referencing dllViewSelector as an id in your jQuery, but you only have that as a name in your html. either add the id attribute to the select tag, or reference it as $(select[name='dllViewSelector'] option:selected) in your jQuery. On Mar 31, 6:51 am,

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread Liam Byrne
Eagle Eyes (the name is fitting in this context) will let you view the server-side source code of a web page =-O Considering that that source code would potentially include database passwords, etc, it had better be an April 1st spoof! brian wrote: Isn't that tomorrow? On Tue, Mar 31,

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread Martijn Houtman
On Mar 31, 2009, at 4:00 PM, Liam Byrne wrote: Eagle Eyes (the name is fitting in this context) will let you view the server-side source code of a web page =-O Heh yeah, especially that gave the joke away ... Considering that that source code would potentially include database passwords,

[jQuery] Re: captions and jcarousel

2009-03-31 Thread MorningZ
You can put anything you want inside the li items and to get larger than 75x75, go into the CSS and change it :-) On Mar 31, 1:08 am, Jason jas...@satx.rr.com wrote: Forgive my ignorance first of all, but i have a horizontal carousel (not sure of the technical term) with images. Is it

[jQuery] Re: Are pigs flying? because IE8.1 + Firebug is coming

2009-03-31 Thread Chucho
I just don't buy it. I have to seen with my eyes. Well, i'm not a windows user :P so i don't know how long will it take to se it working well. i'm amazed actually how microsoft is now giving more and more field to use other software, mainly open source, for their projects. On Mar 31, 8:05 am,

[jQuery] Re: Problem getting selected value from drop-down

2009-03-31 Thread LinkGuru
Thanks, but that does not seem to make any difference. Also, the name must be enough because I've got HTML such as input type=hidden name=txtProjectHomeLink_0 size=30 value=a dummy value class=ProjectHomeLink_0 / with JQuery x=$ (input.ProjectHomeLink_0).val(); and it gets the value successfully.

[jQuery] Re: text not right with fade

2009-03-31 Thread simon
Thanks James, I pressed submit before I could then write Only in IE :-) Si On Mar 27, 8:52 pm, James james.gp@gmail.com wrote: I believe this only happens in Internet Explorer. Most of the time setting a CSS background-color to the element your text sits on will solve the issue. On Mar

[jQuery] Re: fastest way to create a million div's?

2009-03-31 Thread Ricardo
I don't know much about AS, but creating pixels as objects is likely not the fastest approach. You should take advantage of vector drawing tools and bitmaps. Take a look at this stuff: http://www.flashvault.net/tutorial.asp?ID=52 http://www.bytearray.org/?p=67 Optimized DHTML drawing:

[jQuery] jcarousel not working with latest jQuery

2009-03-31 Thread Tal
Hi All, I've found a very odd thing. I tried to upgrade my jQuery to the latest (v. 1.3.2) but then jcarousel is not working. The left and right arrows don't show. Anyone has any idea as to why would that be? Regards, Tal.

[jQuery] Re: Problem getting selected value from drop-down

2009-03-31 Thread Ricardo
The val() method returns the selected option for the element: $('[name=dllViewSelector]').val() 'selectedIndex' is a property of the select node. When you call $ ('#dllViewSelector') (ignoring the fact that this selector is wrong) you get a jQuery object with a reference to the element, not the

[jQuery] Re: Display google.com in a Div

2009-03-31 Thread Ricardo
It's not possible to 'steal' some other page's content without an iframe, only, as you discovered, using a local copy or proxy. This is one of the uses iframes were made for, why do you want to avoid it? On Mar 31, 9:23 am, emilien.hum...@gmail.com emilien.hum...@gmail.com wrote: Hello Silver,

[jQuery] Re: $(document).ready and Firefox 3

2009-03-31 Thread Ricardo
Do you have a public page we can look at? It's hard to guess without seeing a line of code. cheers, - ricardo On Mar 31, 10:16 am, chrsan chr...@gmail.com wrote: Hi! If someone has an answer to this problem I would be very glad to get some input. I'm out of clues on how to solve this my

[jQuery] Re: fastest way to create a million div's?

2009-03-31 Thread Michael Geary
Sorry to be the bearer of bad news, but you're really not going to be able to get acceptable performance with a million pixel divs manipulated in JavaScript. -Mike From: Shedokan thanks for all of your comments, I will try them all. As for canvas, I can't really use it because I want to

[jQuery] superfish

2009-03-31 Thread mijen...@googlemail.com
Is my dropdown menus do not work correctly... any ideas

[jQuery] Cool Flash-like Menu Effect

2009-03-31 Thread DesignerNotCoder
http://www.alexbuga.com/v8/ Notice the menu to the upper right and how it slides as it follows the mouse across the icons. I have been searching for an open source for this, but I'm not sure how to define it. Any ideas? Thx

[jQuery] jQuery Validation plugin and ASP.NET postbacks

2009-03-31 Thread johanders...@gmail.com
Hi, Have anyone been able to use the jQuery validation script and been able to make the buttonclick cause a post back? The form validates fine but the post is never made. If I add the option submitHandler on the plugin it goes in there, but that does not really help as i dont want to do a ajax

[jQuery] Menu hides with IE7

2009-03-31 Thread JuanDBB
Hello! I have a problem as the drop menu works great on Firefox but on IE7 it hides under the content below. I would appreciate your help on this, thanks a lot on advance

[jQuery] Bug in IE8 seting an attribute in a tag

2009-03-31 Thread Abzenga
When I set an attribute or a Data in the option tag and try get it back, it dosent work in IE8 but works in IE6, IE7 and Firefox 3. Something like this: select id=ID1 option value=sample 1 selectedSample 1/option /select javascript //set $(#ID1 option[selected]).attr(dados, new attr); //or

[jQuery] Re: Display google.com in a Div

2009-03-31 Thread sliver
Missed that bit on what it serves... but this simple code works: http://jsbin.com/uguki does your html validate? On Mar 31, 8:23 am, emilien.hum...@gmail.com emilien.hum...@gmail.com wrote: Hello Silver, I think you should read up on what an img tag

[jQuery] Re: passing variables to a Jquery function

2009-03-31 Thread Abdullah Rubiyath
Hi, I believe you can use the following approach: Since you are requesting to another page, you can use the server-side script (PHP) to return the id, type, and success message in JSON format and then use them from jQuery, and instead of $.get, you can use $.getJSON or $.ajax, Using this

[jQuery] Re: Cool Flash-like Menu Effect

2009-03-31 Thread Sam Sherlock
*not exaclty that but this could be a lead for you **www.cssjuice.com/lavalamp-jquery-sliding-menu/ and Nathan Borror's playgroundblues.com has a menu vertical but simular to the Aex Buga site * look at the animate functions - S 2009/3/31 DesignerNotCoder thecoopersm...@gmail.com

[jQuery] Timeout

2009-03-31 Thread Elledinho
Hi guys. Can you tell me how to make a ajax-script witch is running in the background? I want a script witch reloads a .php-file every 10th second. How can I do this? :-)

[jQuery] Re: Problem getting selected value from drop-down

2009-03-31 Thread LinkGuru
Apologies to Rob (I had only tried his 'add the id attribute to the select tag' suggestion), I now find that if I write p_viewSelector= $(select[name='dllViewSelector'] option:selected).text(); it works fine. Thanks Rob (and also Ricardo). On Mar 31, 3:53 pm, Ricardo ricardob...@gmail.com wrote:

[jQuery] Re: ajax problem in IE

2009-03-31 Thread Ricardo
$('#myspan').text( $('#partnum').val() ); http://docs.jquery.com/Attributes On Mar 29, 6:07 pm, webguy262 webguy...@yahoo.com wrote: I have two forms on a page (www.eastexhaust.com/inventory.php). One uses ajax to generate a part number by selecting values from a series of selection boxes.

[jQuery] Re: Jquery - Weird Issue with Node cannot be inserted at the specified point...

2009-03-31 Thread Ricardo
You are trying to parse the response as JSON, but it looks like XML. JSON is JavaScript Object Notation (http://www.json.org/js.html). cheers, - ricardo On Mar 30, 4:08 pm, ckoeber ckoe...@gmail.com wrote: Hello, I am trying to create a JSON service and everything seems to work well until I

[jQuery] Re: Cool Flash-like Menu Effect

2009-03-31 Thread Andy Matthews
The Lava Lamp plugin is the one you want: http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/ -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of DesignerNotCoder Sent: Tuesday, March 31, 2009 8:36 AM To: jQuery (English)

[jQuery] Wrap all center tags

2009-03-31 Thread tij_dev
Hello everybody, I have a doc xml (which is not my window.document) which contains some center tags and I would like to wrap all of them with a specific div element. I tried doing : $(center,pDocument).wrapAll(div class='wrap'/div); pDocment is my xml dom. but it says Non valid argument... :(

[jQuery] Re: IE error with Jquery

2009-03-31 Thread om
i found that this happens when modifyin the dom of th HEAD tag. this post might help http://blog.dotsmart.net/2008/04/21/ie-6-bug-causes-jquery-globaleval-error/ ondra On Mar 23, 2:16 pm, mjstenbe mikan.dsp...@gmail.com wrote: Im getting the following error with IE 6 and IE 8 beta and Jquery.

[jQuery] Re: can someone take a look please...

2009-03-31 Thread webguy262
Jack I think I've got that, don't I? From my post... input type=text name=partnum id=partnum readonly Am I missing something? Jack Killpatrick wrote: try adding id=partnum to the form field that has name=partnum. - Jack webguy262 wrote: webguy262 wrote: I have two forms

[jQuery] Re: Problem getting selected value from drop-down

2009-03-31 Thread Rob
I should have expounded more on the rest of it, but I had to run to a meeting. My apologies. :( On Mar 31, 11:21 am, LinkGuru i...@legalanalytics.co.uk wrote: Apologies to Rob (I had only tried his 'add the id attribute to the select tag' suggestion), I now find that if I write p_viewSelector=

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread riotbrrd
By way of explanation, this works because the jQuery selector function has an optional context parameter: $(expression, [context]) . See the docs here: http://docs.jquery.com/Core/jQuery#expressioncontext. -Kim On Mar 30, 11:18 pm, xPheRe xpher...@gmail.com wrote: To locate a node with id myId

[jQuery] A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread riotbrrd
I realize this is not jQuery specific, but I figured you guys might have some good advice... I often find myself wanting to assign the same ID to multiple elements in a document -- typically when there are several versions of an element which display at different times. Is there a good reason

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Andy Matthews
It's against the W3c spec for the DOM. The whole point of an ID is that it's unique on the page. Duplicate IDs lead to potential errors. If you need to have more than one of a thing on a page, then use a class. -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread brian
An ID should be unique. That's why it's callled an ID (IDentifier). Repeating an ID in a page will cause problems for any DOM work. For your purposes, you might do something like: div class=Foo id=foo_1/div div class=Bar id=bar_1/div div class=Foo id=foo_2/div div class=Bar id=bar_2/div On

[jQuery] Re: Timeout

2009-03-31 Thread MorningZ
setTimeout(Run, 1); function Run() { $.ajax(..) } On Mar 31, 11:18 am, Elledinho elledi...@gmail.com wrote: Hi guys. Can you tell me how to make a ajax-script witch is running in the background? I want a script witch reloads a .php-file every 10th second. How can I do this?

[jQuery] Re: Timeout

2009-03-31 Thread MorningZ
Oops.. pressed enter too early $(document).ready(function() { setTimeout(Run, 1); }); function Run() { $.ajax( . success: function() { setTimeout(Run, 1); } ); } On Mar 31, 12:39 pm, MorningZ morni...@gmail.com wrote:

[jQuery] cycle plugin - background color in IE?

2009-03-31 Thread option8
the page in question: http://www.tiftmerritt.com/index.php?page_id=393 it seems that the cycle plugin (i'm using v2.63) is adding a white background to my slideshow DIVs in IE 6 and 7. i'm putting my slideshow on top of an image background, so i'd like to keep my DIVs transparent. the only

[jQuery] Re: Modifying CSS classes with jQuery (or '.live()' for '.css')

2009-03-31 Thread Lars Schöning
What I have is a number of divs, belonging to several categories. These divs come and go. The color of a div should be determined by the color defined for the category they belong to; category colors change as well. Say we're dealing with just a single category, colored red. One div might be

[jQuery] Re: cycle plugin - background color in IE?

2009-03-31 Thread option8
yeah. it's the cleartype fix. i added cleartype: 0, // disable cleartype corrections to my cycle function, and the background went away. meh. --charles.

[jQuery] $.fadeTo() vs. MSIE6 through 8

2009-03-31 Thread Nekura Neko
So, despite how perfectly .fadeTo works with FF and how easy opacity: 0.40; is to write, it seems like MSIE is lost and confused. In MSIE 8, with compatibility mode off, then .fadeTo process appears to be roundly ignored (at least for jquery 1.3.1). If you turn compatibility mode on, it behaves

[jQuery] table filtering

2009-03-31 Thread Bob O
I have a YUI datatable that im live filtering from a text field. The problem im having is when i get a lot of records, its really slow..Ive only been using jQuery for a few months now, so im a bit of a noob. Any help refactoring this to make it run smoother would be great. **HTML** **search

[jQuery] JQuery variable usage with single/double quote problem

2009-03-31 Thread LinkGuru
Can anyone help on this one? . The following statement is proven to work: p_viewSelector=$(select[name='dllViewSelector_Search_0'] option:selected).text(); But now I need to adapt it so the Search_0 component is replaced by a variable (because it isn't always going to be Search_0 at

[jQuery] Re: [validate] Using remote w/ data and ASMX doesn't seem to process the response

2009-03-31 Thread pbindagorge
Thank you very much for your response! I've gotten it working with your help. I added the following and it works just fine: dataFilter: function(dataXML) { return $(dataXML, 'boolean').text(); } On Mar 31, 12:55 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: The plugin expects a

[jQuery] Re: JQuery Cycle

2009-03-31 Thread gmca...@gmail.com
Actually i tried to run it in IE again a few minutes ago and its doing the same thing. on the code i wrote and the original site. IT just sits there and tries to load the pictures. I can see the animation happening but its just empty pics... ? any other ideas ??? On Mar 31, 8:37 am,

[jQuery] Re: JQuery Cycle

2009-03-31 Thread gmca...@gmail.com
After looking at it the viewer in IE7 only seems to work with jpg. When i try to use gif or png it just clocks trying to load the images. In firefox it works fine tho... On Mar 31, 8:37 am, gmca...@gmail.com gmca...@gmail.com wrote: After rebooting everything works. Thanks :) On Mar 30,

[jQuery] Re: JQuery variable usage with single/double quote problem

2009-03-31 Thread James
Is it your missing underscore in: curSelector=ddlViewSelector+idCurrent; ? But essentially what you're doing looks right. var idCurrent = 'Search_0'; var p_viewSelector = $(select[name='dllViewSelector_+idCurrent+'] option:selected).text(); On Mar 31, 7:47 am, LinkGuru

[jQuery] Re: Timeout

2009-03-31 Thread James
Just a little fix. Use setInterval() instead of setTimeout(). setTimeout() only executes once. I get that mixed up sometimes too. :p On Mar 31, 6:41 am, MorningZ morni...@gmail.com wrote: Oops.. pressed enter too early $(document).ready(function() {     setTimeout(Run, 1); });

[jQuery] Re: JQuery Cycle

2009-03-31 Thread gmca...@gmail.com
I did notice that in IE7 it doesnt like png type images any reason for that ? On Mar 31, 8:37 am, gmca...@gmail.com gmca...@gmail.com wrote: After rebooting everything works. Thanks :) On Mar 30, 9:23 pm, Mike Alsup mal...@gmail.com wrote: Well even this doesnt work in

[jQuery] Re: Using remote w/ data and ASMX doesn't seem to process the response

2009-03-31 Thread pbindagorge
Turns out there's an issue with the IE7 returning an empty string when text() is invoked. So I decided to convert to JSON using jqXMLUtils_beta3.js at http://www.terracoder.com/download.html, and now it works cross-browser. The final code is: dataFilter: function(dataXML) { return

[jQuery] Jquery Media Plugs (Malsup): How to tell when video is completed

2009-03-31 Thread Blaine
Hey I'm trying to use the Malsup plugin and determine when the video is completed playing so that I can hide it or use the space for something else. Anyone know how to determine if the video is complete?

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Eric Garside
A best practice I've adopted is to utilize classes and ref/rel attributes on dom elements for situations like you're describing. div class=event-phase rel=1/div div class=event-phase rel=2/div div class=event-phase rel=3/div div class=event-phase rel=4/div div class=event-phase rel=5/div

[jQuery] Re: $.fadeTo() vs. MSIE6 through 8

2009-03-31 Thread Nekura Neko
MSIE8 ignoring the .fadeTo directive is apparently tied to using ! DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd which puts MSIE into standards mode, whereby it doesn't have the actual standard of opacity but doesn't admit to

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Andy Matthews
One problem with that approach is that you're polluting the DOM with invalid markup. Rel is not a valid attribute of the div tag. andy -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Eric Garside Sent: Tuesday, March 31, 2009 1:57

[jQuery] Re: JQuery variable usage with single/double quote problem

2009-03-31 Thread Michael Geary
jquery variables, quotes, string contenation etc. jQuery doesn't *have* variables, quotes, or string concatenation. Those are part of JavaScript, not jQuery. I'm not being nitpicky. If you keep this fact in mind it will make it much easier to troubleshoot. You could spend days throwing thing

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Eric Garside
It is indeed an invalid tag, but given the list of valid div tags is, iirc, class,id,title, there isn't a lot of wiggle-room there. Non- functional attribute declarations on a div usually provide an easier and faster method of dynamic event access than traversing full- declaration classes or

[jQuery] Re: table filtering

2009-03-31 Thread Matt Kruse
On Mar 31, 12:36 pm, Bob O sngndn...@gmail.com wrote: I have a YUI datatable that im live filtering from a text field. The problem im having is when i get a lot of records, its really slow.. When you are trying to enhance performance, the best way to accomplish it is to start moving away from

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-31 Thread dbonneville
Ha! I got that to work! BUT...it does not work correctly for IE6. It loads snappy in all modern browsers and works, but it take up to 15 seconds for IE to unfreeze. Why? We have a strange corporate version of IE6 that is slower than mud and all caching is turned off. The HTML i'm loading is 50

[jQuery] Re: Timeout

2009-03-31 Thread Ricardo
In his code the timeout is called again in the callback. For this application it really doesn't matter which one you use. setInterval(function(){ $.ajax({...}); }, 1); On Mar 31, 3:44 pm, James james.gp@gmail.com wrote: Just a little fix. Use setInterval() instead of setTimeout().

[jQuery] Re: Jquery - Weird Issue with Node cannot be inserted at the specified point...

2009-03-31 Thread Ricardo
(taking a deeper look) Your response is HTML. You can drop the whole JSON stuff and use $ (#portfolio_quotes_div_block).html(data) in the callback directly, no need to parse anything. This is simple AJAX (or AHAH as some would call it), I think you mixed up ajax/json/jsonp. On Mar 31, 12:45 

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Mauricio (Maujor) Samy Silva
Is there any major problems you're aware of with this kind of dom pollution that have a negative impact on ease or performance? My thoughts: Firstly: Validate! But I think that negative impact on whatever isn't the point. Suppose: Option 1 - font size=7bHeading level 1/font/b Option 2 -

[jQuery] Re: Wrap all center tags

2009-03-31 Thread Ricardo
You can't treat XML as HTML, and jQuery's methods are meant for HTML only. I think you'll have to create your own wrapping function. cheers, - ricardo On Mar 31, 12:53 pm, tij_dev tijmas...@googlemail.com wrote: Hello everybody, I have a doc xml (which is not my window.document) which

  1   2   >