[jQuery] Re: Get the below and above

2009-11-18 Thread Jan
Thank you both, it works :)

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

2009-11-18 Thread Nicu Marcu
Very good solution, working OK. I try to do something like this on tabs, but tabs are hidden permanently. On page loading, tabs are display for a few sec, without being organize in tabs. How can I resolve this bug with tabs? 2009/11/18 Richard D. Worth > Hide the dialog in the html by putting it

[jQuery] Re: Nested Accordion

2009-11-18 Thread Adriana
You are welcome Akbar and I’ll be glad to see the live version of your accordion. Regards, Adriana On Nov 18, 10:43 pm, Akbar wrote: > Never mind. I was missing something obvious. I added another style: > > .accordion a{text-decoration:none;} > > and it is all good. > > Once I have my simple ne

[jQuery] Re: non well-formed

2009-11-18 Thread Dave Methvin
> My Servlet return json string generated with json-lib... for example: > {"descrizione":"Questa è la descrizione del > computer","disponibile":false,"id":1,"nome":"Computer","prezzo": > 123.456} Is this just a formatting issue, or is there really a newline in the string "Questa è la descrizione d

Re: [jQuery] Re: non well-formed

2009-11-18 Thread Michael Geary
false (and true) and numbers are valid JSON values. You *can* put them in quotes, but that changes their meaning: they become strings instead of boolean or numeric values. It's true that you would want to use the properties of the msg object such as msg.descrizione, but it's also fine to call aler

[jQuery] Re: (validate) error in IE7

2009-11-18 Thread dmikester1
Hey Jörn, Do you have a fix for this? Thanks Mike On Nov 17, 9:59 am, dmikester1 wrote: > I couldn't figure out how to include stuff like css and images at that > link. > > http://www.michaelandregina.com/chris/form.html > > Thanks > Mike > > On Nov 17, 9:43 am, Jörn Zaefferer > wrote: > > > Cou

[jQuery] Re: Get the below and above

2009-11-18 Thread Dave Methvin
If the table is really big it might be better to use event delegation: $('table').click(function(e){ var $td = $(e.target).closest('td'), $tr = $td.parent(), pos = $tr.children().index($td), $up = $tr.prev().children().eq(pos), $dn = $tr.next().children().eq(pos); $up.c

Re: [jQuery] Re: Functions

2009-11-18 Thread Denis Caggiano
Now Im get confused... Wil, Is the code that you suggested equal that I wrote? Mine $("#tb a").click(function() { alert(this.id); }); Wil $("#tb a").click(function() { alert('Test'); }); Tks

[jQuery] cache = true in $.ajax

2009-11-18 Thread Juriy
Hi, I'm trying to use $.ajax function to poll my server for updates. Here's the brief code that I use: $.ajax({ url: "endpoint", type: "POST", data: {action : "poll"}, dataType: "json", cache: false, beforeSend: function() { }, success: fun

[jQuery] FadeIn Text

2009-11-18 Thread Peter Crymble
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: $(document).ready(function() { $(".menuBlue").hover(function() { $(this).fadeTo("fast",0.4);

[jQuery] Re: non well-formed

2009-11-18 Thread Carlos Alberto
I think you must encapsulate "false" and numbers in quotes... and treat msg like an object (msg.descrizione, msg. disponibile... etc.) On 18 nov, 17:43, sportfantasy wrote: > Hi, > > I'm italian developer. I have a problem. I develope my simple web > application using jquery for ajax call. > >

Re: [jQuery] UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread stworthy
Using the data method is a good idea. $.data($('#new')[0],'id',value) discern wrote: > > Use a global. Makes more sense than my solution. Thanks. I always > forget about globals. > > -- View this message in context: http://old.nabble.com/UI-Dialog%3A-Need-the-ID-of-the-clicked-button...-tp

Re: Re[jQuery] move a tab that contains some element

2009-11-18 Thread stworthy
Show you another tabs plugin http://www.etmvc.cn/project/show/63 http://www.etmvc.cn/project/show/63 To remove a tab you can invoke $('#tab').tabs('close',title). Note: close a tab only pass the tab's title, not remember the index of the tab. cPetru wrote: > > Hello > > I created some tabs

[jQuery] Re: Remove a tab that contains some element

2009-11-18 Thread cPetru
Sorry for the delay. 1: More details: I created a page with tabs, and in some tabs I might have some elements that can produce events by them selfs. As a reaction to some events in some cases, I needed to close a tab. I could not now the index of the tab that was containing the obect that produced

RE: [jQuery] Re: Konami Code >:]

2009-11-18 Thread Rick Faircloth
Thanks! -Original Message- From: MorningZ [mailto:morni...@gmail.com] Sent: Wednesday, November 18, 2009 6:05 PM To: jQuery (English) Subject: [jQuery] Re: Konami Code >:] "Got an example site? " www.facebook.com http://www.google.com/search?q=facebook+konami+code On Nov 18, 5:56 pm,

[jQuery] jQuery plugin not working in Firefox?!

2009-11-18 Thread pookeyblow
Hi! I'm using a jQuery plugin called DragScroll (http://plugins.jquery.com/ files/jquery.dragscroll.js.txt) so I can drag and scroll just like in google maps. This works fine in Safari and Opera, but it's not working in Firefox You can find the site I'm working on here: http://bit.ly/297LCa

[jQuery] Re: Konami Code >:]

2009-11-18 Thread MorningZ
"Got an example site? " www.facebook.com http://www.google.com/search?q=facebook+konami+code On Nov 18, 5:56 pm, "Rick Faircloth" wrote: > What is this? > > Something unexpected happens when someone presses designated keys? > Easter Eggs? > > Got an example site? > > Rick > > -Original Mes

RE: [jQuery] Konami Code >:]

2009-11-18 Thread Rick Faircloth
What is this? Something unexpected happens when someone presses designated keys? Easter Eggs? Got an example site? Rick -Original Message- From: Marc Henson [mailto:m...@marchenson.co.uk] Sent: Wednesday, November 18, 2009 5:35 AM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Ko

[jQuery] HTML Template and including jquery

2009-11-18 Thread Westside
Hi, I have a question more about how to structure my code when using JQuery. I have this master HTML template that contains my site header and footer and in between is the dynamic area or page layout area. This area contains my main user interface. Currently in this master template I have someth

[jQuery] non well-formed

2009-11-18 Thread sportfantasy
Hi, I'm italian developer. I have a problem. I develope my simple web application using jquery for ajax call. My Servlet return json string generated with json-lib... for example: {"descrizione":"Questa è la descrizione del computer","disponibile":false,"id":1,"nome":"Computer","prezzo": 123.456}

[jQuery] Re: Nested Accordion

2009-11-18 Thread Akbar
Never mind. I was missing something obvious. I added another style: .accordion a{text-decoration:none;} and it is all good. Once I have my simple nested accordion online in production, I will let you know. Thanks, Akbar On Nov 18, 4:34 pm, Akbar wrote: > Hi Adriana, > > I am almost done with

[jQuery] Re: Nested Accordion

2009-11-18 Thread Akbar
Hi Adriana, I am almost done with it. I do have one question. I am trying to remove "Underline" from all text in the accordion. I am using text- decoration:none. It does remove it from the first and the second level but the third level of nesting still contains underline. If I do an inline style o

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

2009-11-18 Thread StephenJacob
Hmm, i'm not really sure how to pull that off. I would look into the showErrors option or possibly the Valid function. http://docs.jquery.com/Plugins/Validation/validate http://docs.jquery.com/Plugins/Validation/valid Good luck and let us know how things turn out for ya! On Nov 18, 3:47 pm, "

[jQuery] Re: Simple XML Parsing Question

2009-11-18 Thread Joe
thx, i tried that. whether i do a find or a children, it still returns both id's. you can try it with a simple app that loads that XML. it's really odd. i still haven't got a solution. On Nov 18, 2:12 pm, Wil Everts wrote: > Here's an old, but good, tutorial on xml and > jQuery:http://www.b

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

2009-11-18 Thread Atkinson, Sarah
I want the function to trigger when there are errors it's to alter the position of both the errors and other elements on the page. So I got the function to fire but I can't seem to changes the css on the error boxes. $('label .error').css({'left' : basePossitionOffset.left}); Does not w

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

2009-11-18 Thread StephenJacob
It depends on your method of validation. Here is the form/validation system I use for my contact form. Hope this helps! $(document).ready(function() { $("#contactForm").validate({ rules: { fullname: { required: t

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

2009-11-18 Thread Atkinson, Sarah
Do I have to create a custom method and stick a function in there?

[jQuery] Re: show/hide div on select change

2009-11-18 Thread mtuller
Thanks. On Nov 18, 1:50 pm, Charlie Griefer wrote: > You're missing a $ on this line: > > ('#id_status').change(function() { > > Change to: > > $('#id_status').change(function() { > > unsolicited word of advice... run firebug :) > > > > > > On Wed, Nov 18, 2009 at 11:44 AM, mtuller wrote: > > I

[jQuery] custom error message

2009-11-18 Thread Ryan Elfman
How do I return a custom message based on an if statement in the addMethod function? $.validator.addMethod("validateBaseDepth", function(value, element, params) { var blnImperialUnits = ($ ("#RequireBaseDepthUnitImperial:checked").val() == "imperial" ? true : false);

Re: [jQuery] show/hide div on select change

2009-11-18 Thread Charlie Griefer
You're missing a $ on this line: ('#id_status').change(function() { Change to: $('#id_status').change(function() { unsolicited word of advice... run firebug :) On Wed, Nov 18, 2009 at 11:44 AM, mtuller wrote: > I am trying to have a div show and hide based on the value of a select > list. I

[jQuery] show/hide div on select change

2009-11-18 Thread mtuller
I am trying to have a div show and hide based on the value of a select list. I have looked at a number of examples, but can't seem to get it to work. Would appreciate someone taking a look at what I have and giving me any advice. $(document).ready(function() { $('div.textfield1').hide();

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
Ok so I switched to errorLabelContainer: ".insidePage_error", But that div still isn't getting any errors into it. On 11/18/09 1:55 PM, "Jörn Zaefferer" wrote: Do you have only a single element? Then use the errorLabelContainer option. Or one for each input? Then you need to make that sel

Re: [jQuery] Re: Functions

2009-11-18 Thread Wil Everts
Have you tried simply doing: $("#tb a").click(function() { alert('Test'); }); Depending on the table's code ">" will break your heart... Wil On Wed, Nov 18, 2009 at 4:25 AM, Denis Caggiano wrote: > Hi Greg, > I'm defined an ID to my table (ID = "tb") that have my report, and > trying t

[jQuery] Re: Get the below and above

2009-11-18 Thread Paul Mills
Hi, Assuming your table has the same number of s in each . You can try this approach: First find the position of the selected in its . Then find the prev() or next() . Then select the with the same position in that . Try this: $('td').click(function(){ var trparent = $(this).parent('tr')

[jQuery] Adding some buttons and callbacks

2009-11-18 Thread VANJ
This is probably a very basic question and I know how to do it using plain DOM but would like to learn the JQuery way of doing it. After identifying the set of nodes using the appropriate JQuery selector, I would like to append a textarea, Save and Cancel button to each node with appropriate callb

Re: [jQuery] Problems with writing into input fields

2009-11-18 Thread Wil Everts
Without seeing more code it's hard to know where you're falling down... Here are a couple stabs for you: 1. Add a console.log('id: ' + c_chosen_id); and console.log('cat: ' + cat_name); into the mix and see if that's working, maybe the variables aren't always set properly... (Remember to remove th

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread discern
Use a global. Makes more sense than my solution. Thanks. I always forget about globals.

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread discern
Solved my own problem (again). For anyone else with a similar question, just add a hidden field to your dialog form: ... Then, in the click event, add: $("#id").val(id); after the dialog('open') line. The final result is: var opt = { autoOpen: false, modal: true, b

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread MorningZ
Example i whipped up quick: http://jsbin.com/acucu/edit On Nov 18, 2:05 pm, discern wrote: > Because I am using the CLASS of the button to open UI Dialog (as > opposed to the ID), how can I pass it the ID (or any data, for that > matter)? I need to pass the ID of the button to dialog so I know

Re: [jQuery] Simple XML Parsing Question

2009-11-18 Thread Wil Everts
Here's an old, but good, tutorial on xml and jQuery: http://www.bennadel.com/blog/1054-jQuery-Demo-Working-With-XML-Documents.htm ...or if you want to make the code you have work you can "cheat" and just change the name of one of the two 'id's in your xml... ;) Wil On Wed, Nov 18, 2009 at 1:18 A

[jQuery] UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread discern
Because I am using the CLASS of the button to open UI Dialog (as opposed to the ID), how can I pass it the ID (or any data, for that matter)? I need to pass the ID of the button to dialog so I know which row to apply the actions of the dialog to. var opt = { autoOpen: false, modal:

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
Yes I have only one container Ok so I will use the errorLabelContainer Now after I do that can I use the offset to alter the css on each of the error labels to be equal to the offset of the offending element? Or should a create custom method that runs after validation runs repositions everythin

Re: [jQuery] Validation error placement

2009-11-18 Thread Jörn Zaefferer
Do you have only a single element? Then use the errorLabelContainer option. Or one for each input? Then you need to make that selector relative to the current input; currently you select the same div for each input. Jörn On Wed, Nov 18, 2009 at 7:29 PM, Atkinson, Sarah < sarah.atkin...@cookmedica

[jQuery] Re: jquery json error "non well-formed"

2009-11-18 Thread MorningZ
There's nothing wrong with the json itself, as you can see here http://jsbin.com/uwebe/edit i'd take a guess that the content type of the result is all wrong, it should be: application/json text/plain works as well make sure it's not "text/html" or something else that the browser could interpre

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
That's actualy what I was looking at... But I'm not using a table layout. So instead I want them to go into a special error div with class "insidePage_error" And so I got these 2 lines errordiv=$('.insidePage_error div'); error.appendTo(errordiv); I also tried Errordiv.appendChild(err

[jQuery] Copy and manipulate html.

2009-11-18 Thread m.ugues
Hallo all. With this line of code i get the html content of a page living in an iframe: var html = $('#indexIframe').contents().find('html'); then I need to append a line in the header and I do it in this way $(html).find('head').prepend(printCss); The problem is that I need to modify the html

[jQuery] Re: jQuery and Cycle plugin

2009-11-18 Thread Daan
Hi, I also have a question about this jquery, I hope anyone can help out. I use the script to slide an entire div container, with various elements inside. However, I would like a logo image in the top left corner and another image in the bottom left to keep its position. Does anyone know how to ex

[jQuery] jQuery and Cycle plugin

2009-11-18 Thread Daan
Hi, I'm using the almighty jQuery and Cycle plugin to slide an entire div container with various elements inside. However, I would like to exclude an image inside the container from moving. Is there a way of putting this image in a div and exclude it from moving in this container? current code:

[jQuery] jquery json error "non well-formed"

2009-11-18 Thread sportfantasy
Hi, I using ajax method with json dataType. My application run but mozilla js console print error message: Errore: non well-formed ... My json string is: {"XMax":16.04849609375,"XMin":10.55533203125,"YMax":45.16953125,"YMin": 39.6763671875} I generate it using json-lib for java language. Hel

[jQuery] Site using jQuery

2009-11-18 Thread paul
Hi, We've been using jQuery a lot on our site (mydeco.com) especially for creating our design tools. We're in the process of a complete migration from prototype. Firstly: thanks :-) Secondly: I was going to add us to the list of sites using jQuery (I think we're a pretty good showcase - more tool

[jQuery] Re: Image Thumbnail Rollover

2009-11-18 Thread coopster
Don't know where a tutorial might be, perhaps on the jQuery Docs pages. However, if that is the effect you like, why not review the code on the lbc site? < script type="text/javascript" src="/lbclon/js/master.js? v=27082008" >< /script >

[jQuery] Superfish strange css order on submenu

2009-11-18 Thread bitstomper
Hi, Creating following site: http://d2795315.u105.bluefishwebdesign.com/ As you can see, submenus apear but right border loads after everything else which looks weird. I don't know what is causing this. here is the css: /*** ESSENTIAL STYLES ***/ .sf-menu, .sf-menu * { padding:

[jQuery] Re: OK newb question... what is jQuery

2009-11-18 Thread Phil
I don't believe anyone else has answered this so perhaps this will help you. BTW, it's a great site also! http://blog.themeforest.net/tutorials/7-things-i-wish-i-had-known-about-jquery/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+themeforest+%28In+the+Woods+-+The+ThemeForest+Blog%2

[jQuery] hover gets lost when i hover into submenue

2009-11-18 Thread zacky_v89
hay... my problem is, that the hover gets lost when i hover into submenue... for an example look at this: www.endless-chapter.de -when you hover "praxis" then, a submenue will be shown, when you hover into the submenu, the text color from " praxis" turn back into black. i don´t understand

[jQuery] Loading external page which contains jquery into current page.

2009-11-18 Thread Artie
Apologies for the previous partial post. I have a page which contains a search form which loads an external page into a content div, the incoming page contains a table where I am trying to use the jquery Datatables plugin. Here is my code: $('#btnSearch').click(function(){ $.post("ss_handlers/s

Re: [jQuery] Re: Functions

2009-11-18 Thread Denis Caggiano
The hint of the day: *The other thing to make sure you're doing is to call your code once* *the DOM is loaded* *---By Scott* ** Im using AJAX and defyning the $("#tb a").click before the DOM is loaded and that was the problem. Here is my $.post now: $.post( 'adm_cobranca_ajax.asp', { mes:

[jQuery] Re: :gt and :lt don't accept variable as a parameter?

2009-11-18 Thread Magnificent
Ah, terminate the string! I'll give that a shot, thanks much for the extra set of eyes. I came up with an alternate solution that works but I like the :gt and :lt way better. Here's what I came up with: var condition_count = $('#filterlist_wrapper ul#col1 li').size(), left_col =

[jQuery] Round tripping XML data

2009-11-18 Thread NeilM
I'm hoping some can help me with the following... This is what I want to do... 1) Retrieve an XML data structure from the web server (easy enough using jQuery.ajax()). 2) Interrogate and update the data (again easy enough using standard jQuery methods against the XML DOM). 3) Post the modified

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

2009-11-18 Thread Bryan Garaventa
What happens when you replace alert ("element content is: " + $(this).text()); with alert(this.nodeName); ? - Original Message - From: "sjames" To: "jQuery (English)" Sent: Wednesday, November 18, 2009 3:49 AM Subject: [jQuery] Simple XML parsing - getting the element tag Hi

Re: [jQuery] Validation error placement

2009-11-18 Thread Jörn Zaefferer
Take a look at the milk-demo here: http://jquery.bassistance.de/validate/demo/milk The messages are placed in the column next to the input element, that should be close to what you are looking for. Jörn 2009/11/18 Atkinson, Sarah > I am trying to put all my errors in a that is the 3rd column.

[jQuery] Re: Functions

2009-11-18 Thread Scott Sauyet
On Nov 18, 7:25 am, Denis Caggiano wrote: > I'm defined an ID to my table (ID = "tb") that have my report, and > trying to code like this: > >     $("#tb > a").click(function() { >         alert('Test'); >     }); "#tb > a" points to link elements that are the direct children of the element with

[jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
I am trying to put all my errors in a that is the 3rd column. I then want to set there position so it is level with the element. But when I run it I get no error messages Here is my code: errorPlacement: function(error, element) { errordiv=$('.insidePage_error div'); error.ap

Re: [jQuery] Problems with writing into input fields

2009-11-18 Thread Dhruva Sagar
Hi, There could be a lot of reasons behind the inconsistent behaviour. 1.) Are these inputs being added to the DOM dynamically, i.e. at runtime ? If so have you ensured that your updating the values at the right times ? 2.) Are the fields part of the form that you submit ? At all times ? 3.) Are

[jQuery] Disable shortcuts from IEshit

2009-11-18 Thread renearaujo
People, how can i disable all Shortcuts from Internet Explorer? I use this plugin, named HotKeys ( http://code.google.com/p/js-hotkeys/ ), for change de shortcuts from browser Menu Bar, to my web application. Example, for access a tab in my app, the user click on ctrl + f On Firefox, is perfe

[jQuery] Problems with writing into input fields

2009-11-18 Thread heohni
Hi, I have a small script which should write me into input hidden fields some values: $('input[name="category_id"]').val(c_chosen_id); $('input[name="category_name"]').val(cat_name); My problem now is, that it seams, the value get's written, because I can alert it, bit it's not getting written i

Re: [jQuery] How to apply blur function to two classes?

2009-11-18 Thread Dhruva Sagar
The classes should be separated by a ',' (Comma). Please check out the documentation on Selectors, having spaces it looks for the second class within the first class sub-children. That's not what you desire. Try the following code : $(".numAdultsField, .numChildrenField").blur(function() {

[jQuery] crossSlide with preloaded images

2009-11-18 Thread Vivek
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] How to apply blur function to two classes?

2009-11-18 Thread laredotorn...@zipmail.com
Hi, I have to apply an onblur function to elements of type "numAdultsField" or "numChildrenField". How do I do that? This isn't working ... $(".numAdultsField .numChildrenField").blur(function() { var id = $(this).attr("id"); var eltPrefix = id.substring(

[jQuery] Re: how to parse xml with namespace ?????

2009-11-18 Thread Richard.Williams.20
You may wish to consider using biterscripting for parsing XML. It will parse the exact the same way regardless of the browser installed. If you goole biterscripting and XML, you should see several scripts to parse XML posted all over the net. On Nov 17, 9:15 am, "g...@iec" wrote: > Hi all, > >

[jQuery] slider question

2009-11-18 Thread David .Wu
http://www.switchonthecode.com/tutorials/using-jquery-slider-to-scroll-a-div If use jQuery slider directly, the handle box will not fit the slider track but in that website, it's totally fit the slider, and I didn't see anything particular in his code how to do that?

[jQuery] Re: Trigger button click event when lost focus in textbox

2009-11-18 Thread Ian Escarro
Nevermind. I put the function click to another function and trigger the function in textbox's blur event. Thanks. On Tue, Nov 17, 2009 at 5:06 PM, ian wrote: > I have a textbox and button to check items in the database. The thing > is I want to trigger the button click event when textbox is lost

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread StephenJacob
No, thank you for posting the solution! Good job and good luck. On Nov 18, 10:14 am, Subtle wrote: > Hi, actually I currently don't.  Basically I have an iframe on a page > that loads a very large file.  On the page there is a button that when > clicked, will remove the iframe's container (the d

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread Subtle
Hi, actually I currently don't. Basically I have an iframe on a page that loads a very large file. On the page there is a button that when clicked, will remove the iframe's container (the div): $ ('#iframeContainer').remove(); What I expected to happen was that after the iframeContainer was remo

[jQuery] Disable cursor "wait" during animation

2009-11-18 Thread Dorians
I have this annoying wait cursor that shows during animations (for instance changing the opacity of next/prev buttons or sliding images). I have noticed this problem only on IE6 (I have tested on a couple of PCs and the wait cursor shows on all of them). Setting the cursor using CSS doesn't help

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread StephenJacob
Hi Subtle, I'm a little confused to exactly what's going on. Do you have a link/example I can check out? On Nov 18, 10:01 am, Subtle wrote: > Actually that still didn't work... > > On Nov 18, 7:54 am, Subtle wrote: > > > Figured it out.  I was removing the iframes container (div), and not > > t

[jQuery] Re: Cascade plugin and multiple selected values

2009-11-18 Thread Mike Nichols
sorry what I meant was jQuery("#chained_child").trigger("cascade") Please read up on events in jquery and check out the source On Nov 11, 3:33 pm, rmachado wrote: > Hello and thanks for the reply > > I'm trying to use the solution you propose, but I'm new to jquery and > I can't make it work. > >

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread Subtle
Actually that still didn't work... On Nov 18, 7:54 am, Subtle wrote: > Figured it out.  I was removing the iframes container (div), and not > the iframe specifically.  To fix the problem I had to target the > iframe specifically and remove it, and then it's container. > > On Nov 18, 7:45 am, Subt

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-18 Thread Yvan
Thanks so much! Here is my final version of the script: $(document).ready(function() { $.tablesorter.addParser({ id: 'distance', is: function(s) { return false; }, format: function(s) {

[jQuery] Re: Unordered List question!

2009-11-18 Thread Scott Sauyet
On Nov 17, 6:02 pm, szuwei wrote: > Thanks a lot! And no, this is not a homework. I'm just new to JQuery, and > it's a work problem. Well, if you're just learning, the suggestion above was more clever than pedagogical. I would really suggest that you use something more like http://jsbin.com

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread Subtle
Figured it out. I was removing the iframes container (div), and not the iframe specifically. To fix the problem I had to target the iframe specifically and remove it, and then it's container. On Nov 18, 7:45 am, Subtle wrote: > Anyone? > > On Nov 4, 4:52 pm, Subtle wrote: > > > When trying to

[jQuery] Re: Removed iframe still loads

2009-11-18 Thread Subtle
Anyone? On Nov 4, 4:52 pm, Subtle wrote: > When trying to remove aniframefrom the dom (i.e. $('iframe').remove > ()) while theiframeis still loading, theiframeisremoved, however > the main browsers progress bar indicates that theiframeis still > loading.  Is there a way to stop it from loading an

[jQuery] Re: JQuery - how to fade and loop background style

2009-11-18 Thread nitesh
u can use something like below: $(function() { setInterval("color_rotator()", 2000); }); color_rotator() --> Code Html such tht it has 4 divs (with diff color), and with Jquery try looping with it. On Nov 17, 11:39 pm, Dan wrote: > That works when I click the box

[jQuery] Re: getjson request an unavailable page

2009-11-18 Thread Humpty Dumpty
Thanks, I though that there was a "JSON" solution; ok, I will try by the use of ajax but nobody that used getjson had this problem?

[jQuery] Re: Rounding numbers

2009-11-18 Thread cfred
Thanks a lot. that worked. I think you meant "Math.ceil" which did the trick. On Nov 16, 7:34 pm, PiotrJaniak wrote: > OK; here u  go: > > $("#insulBlocks").html(Match.ceil(parseInt($("#totalArea").html()) / . > 889 * 2)); > > $("#8Blocks").html(Match.ceil(parseInt($("#insulBlocks").html()) * .2

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-18 Thread gfranklin
This is a new site with video tutorials that I recently found via boagworld.com podcast. They have a video tutorial that is similar to what you want. http://jqueryfordesigners.com/fixed-floating-elements/ -G On Nov 18, 10:56 am, Rizky wrote: > thx for the reply :) > > doesn't work like i wanted

[jQuery] Re: how to parse xml with namespace ?????

2009-11-18 Thread g...@iec
Here is the code : var data = {xml content}; $(data).find('{namespace}\\:nodename').each(function() { { Code to perform something.} }); On Nov 18, 2:42 pm, Peter wrote: > Can you show the code you are using. > > On Nov 18, 1:18 pm, "g...@iec" wrote:> Can anybody > provide me with some su

Re: [jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread Michel Belleville
$.post() won't work on a local file either. Local or distant you have to talk to a web server, tapping the local file system won't work, and that's a feature. Michel Belleville 2009/11/18 Denis Caggiano > When I need to use ajax in my applications I implement the $.post and > never had problem

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

2009-11-18 Thread Richard D. Worth
Hide the dialog in the html by putting it in a hidden container, or putting style="display:none;" on the element itself. When you call .dialog('open') that attribute will be removed. - Richard On Wed, Nov 18, 2009 at 4:20 AM, NMarcu wrote: > Hello all, > >I have a question, I'm not sure if

Re: [jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread Denis Caggiano
When I need to use ajax in my applications I implement the $.post and never had problems. Try to use this.

[jQuery] Auto-select one value

2009-11-18 Thread davi vidal
Hi all. I'm still trying to fill a form "automagically". So, after filling the country text box, I want to be able to auto-select the same value. How can I achieve this? I was thinking about something like: field = $('#country'); field.val('United States'); field.autocomplete({sele

Re: [jQuery] i need help on jquery ^^

2009-11-18 Thread Michel Belleville
Well, it's not usual to see a job offer on jQuery's mailing list. What do you offer mate (beside your undying friendship) ? Michel Belleville 2009/11/18 kramnavi > > > im trying to hide and show the images with a plus sign separating the > images to each other. onclick on the checkbox the imag

Re: [jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread Michel Belleville
AJAX calls does not work with local documents, I'll let you guess why (hint : what if I decided to read what's in your local files using my webpage, then send it to a database of mine so I can log into your favorite forum, online game, internet order site, webmail, etc. just for the fun of it... or

Re: [jQuery] Re: Functions

2009-11-18 Thread Denis Caggiano
Hi Greg, I'm defined an ID to my table (ID = "tb") that have my report, and trying to code like this: $("#tb > a").click(function() { alert('Test'); }); But it doesnt working. In other words, how can I define that all in my table triggers an event when clicked? Tks

[jQuery] iHwy jQuery ListMenu Plugin Demos, slowing it down a little

2009-11-18 Thread Gerrit Kuilder
HI All, I'm hoping somebody can give me some pointers. I am using the above mentioned plug in (http://www.ihwy.com/Labs/demos/current/jquery-listmenu-plugin.aspx). As such it is working fine but I would like to slow some actions down a little I have modified the css so that the list of so

[jQuery] Simple XML parsing - getting the element tag

2009-11-18 Thread sjames
Hi list, I've run up against a small problem processing my ajax response using jQuery. Suppose I have this xml returned from a post or ajax call: some text more text The key thing here is that I don't know what elements will be in ; it could be as shown, or there could be a hundred differen

[jQuery] Get the below and above

2009-11-18 Thread Jan
Hi there, I'm new to jQuery and was looking for a way to get a table cell above or below the current one. What I mean is a function like .prev() or .next() but those only help me getting the cell to the left or to the right.

[jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread santosh chavan
HI All I am trying to load XML file using following code. $(document).ready(function() { $.ajax({ type: "GET", url: "D:\Documents and Settings\santosh.chavan\Desktop\ajaxJqueryXML \data.xml", dataType: "xml", success: functi

[jQuery] i need help on jquery ^^

2009-11-18 Thread kramnavi
im trying to hide and show the images with a plus sign separating the images to each other. onclick on the checkbox the image and the plus sign will hide/show. image1 + image2 + image3 checkbox1 checkbox2 checkbox3 onclick at the checkbox1 the image1 and "+" will hide/show same action goe

[jQuery] Image Thumbnail Rollover

2009-11-18 Thread Bernardom
I am trying to create an image thumbnail/rollover in JQuery for a client so the main image rotates every 5 seconds just like the LBC website. Does anybody know where I can find the tutorial for this link in JQuery http://www.lbc.co.uk/ Would really appreaciate any help you can give. Bernardom -

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-18 Thread Rizky
thx for the reply :) doesn't work like i wanted to tho. but i'm gonna tweak it some more. thx for the tips, i'll post the code and example later once i got it working. On Nov 16, 12:15 am, Ariel Flesler wrote: > This should do. > > $.scrollTo('#elem', 1000, { >  over:{ top:0.5 }, >  offset:{ to

  1   2   >