Re: [jQuery] highlight/fade the current table row - solution -thanks

2007-03-30 Thread Bruce MacKay
Thanks both, Bruce At 01:28 a.m. 31/03/2007, you wrote: >On Mar 30, 2007, at 8:40 AM, Brunner Adam wrote: > > Hi! > >> $(this).parent('td').parent('tr').highlightFade(... > >> > >> Is there shorthand syntax for ".parent('td&#x

Re: [jQuery] highlight/fade the current table row - solution

2007-03-30 Thread Bruce MacKay
I found a solution $(this).parent('td').parent('tr').highlightFade(... Is there shorthand syntax for ".parent('td').parent('tr')"? Thanks/Bruce At 12:09 a.m. 31/03/2007, you wrote: Thanks Adam, That's certainly closer, but it'

Re: [jQuery] highlight/fade the current table row

2007-03-30 Thread Bruce MacKay
, but I'm unsure how to go one step further back to finger the parent tr of the current td. Cheers/Bruce At 11:54 p.m. 30/03/2007, you wrote: Hi! > I'm after some assistance (syntax I guess) on how one selects the > current row of a table. > > The context of this query is

[jQuery] highlight/fade the current table row

2007-03-30 Thread Bruce MacKay
2000,iterator:'sinusoidal'});}); What should go in the "select-the-current_tr" section? Thanks/Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] google groups

2007-03-26 Thread bruce
hey... quick question... is the list now officially on google groups now? thanks ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Sorting items in jQuery pseudo-array

2007-03-26 Thread Bruce McKenzie
gt; Looks like I'm still about the only person that actually uses this. > I'll probably use it quite a lot. My current app is where I've got a bunch of forms that I want to rearrange themselves when a person submits one with a changed date field. Doesn't seem that e

[jQuery] Sorting items in jQuery pseudo-array

2007-03-26 Thread Bruce McKenzie
y 1.1.1 (and how would a person do that :-) ? -- Bruce http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread bruce
so john. after you 'open' the group/list, there will be a way to specify to get the group postings as email, is this correct? -bruce -Original Message- From: John Resig [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 9:42 AM To: [EMAIL PROTECTED]; jQuery Discussio

Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread bruce
our email address. This instruction from Google should explain how to post messages via email: http://groups.google.com/support/bin/answer.py?answer=46242 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bruce Sent: Wednesday, March 21, 2007 9:06 AM T

Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread bruce
hi... in looking over the googl groups page, i couldn't find how to still be able to get the emails from the topics.. can someone point me to where the information is that illustrates how to add/view postings to the group, if you're using outlook (msoft). thanks -bruce -Origin

Re: [jQuery] Javascript "MVC"

2007-03-18 Thread Bruce Wang
On 3/18/07, Chris Domigan <[EMAIL PROTECTED]> wrote: Hi guys, just saw this posted on cakebaker. Wondered what people thought... http://cakebaker.42dh.com/2007/03/17/mvc-with-javascript/ Cheers, Chris If you really want to write an application totally in javascript, you may want to go http

Re: [jQuery] json deserialization

2007-03-17 Thread Bruce McKenzie
x27;, success : function(ret){ alert (ret.a) } } ); I believe the order in which you pass the params to $.ajax matters. Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ashutosh bijoor said the following on 3/17/2007 2:45 AM: > Well deserializing JSON is

Re: [jQuery] php - web service (ajax/jscript)

2007-03-16 Thread bruce
ctions, where your app is using the apis of multiple systems/servers... you're using separate apis, which are being served from separate servers. so. now that i've clarified it a little, how about you telling me how good you are with jscript! i have a jscript issue that i'm trying to solv

Re: [jQuery] php - web service (ajax/jscript)

2007-03-16 Thread bruce
Hi Jake. Thanks for the reply. I'll try to clarify. (Keep in mind, I'm not an experienced web developer!) As I understand Ajax, it's used to allow asynch interaction between client, and hosted site that the client js file is fetched from. In other words, if the client html/php has something to th

[jQuery] php - web service (ajax/jscript)

2007-03-15 Thread bruce
he jscript file(s) for the jscript that's to be run on the 3rd party server, then any communication that's initiated from the jscript is going back to the master server. There shouldn't be a cross domain issue? Yes/No??? So, anyone who's actually implemented a real live web service, that's willing to talk to me would be helpful, or if you can point me to sample docs/code... Thanks -bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] web services/api - jscript invocation

2007-03-15 Thread bruce
that I wnat to allow other sites to use/install, I can't simply tell them to create a proxy server on their site!!! Has to be a way to do this given the proliferation of widgets that communicate back to their origin servers... thanks -bruce -Original Message- From: [EMAIL PROTECTED]

[jQuery] web services/api - jscript invocation

2007-03-15 Thread bruce
user though how to create this process from the beginning to the end... If you have any pointers, let m eknow. Thanks -Bruce [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Swapping css of non-adjacent link tags

2007-03-14 Thread Bruce MacKay
Excellent - thank you all and to you particularly "frame25", I really appreciate the code and its explanation. Terrific! Cheers, Bruce At 03:49 a.m. 15/03/2007, you wrote: >I agree with Choan that you should use addClass and removeClass instead, to >separate style from code

[jQuery] Swapping css of non-adjacent link tags

2007-03-14 Thread Bruce MacKay
wary of doing a global "set-to-default-colour" sweep of all links on the page before changing the colour of the most recently clicked link. I'd appreciate directions to a better way. Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery newbies?

2007-03-13 Thread Bruce
True, this means this email, self is referring to me. Bruce P bkdesign - Original Message - From: Chris Domigan To: jQuery Discussion. Sent: Tuesday, March 13, 2007 5:55 PM Subject: Re: [jQuery] jQuery newbies? Maybe he's saying that n00bs don't know there IS a

Re: [jQuery] ajax- demo

2007-03-13 Thread bruce
tral server that's not part of the site that the user is watching... -bruce -Original Message- From: Renato Formato [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:31 AM To: [EMAIL PROTECTED]; jQuery Discussion. Subject: Re: [jQuery] ajax- demo bruce ha scritto: >

[jQuery] ajax- demo

2007-03-13 Thread bruce
. i stress.. a 'simple' example/tutorial!!!, or is there someone i can contact who might be able to walk me through this. thanks -bruce [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Hide All Except One (tabs)

2007-03-12 Thread Bruce
Works perfect now :) You know, in my daily work I see a lot of sites code. So many times I see 30...40 ... to a hundred lines of code in the document head. Then I see something like this done in jquery with a file and a couple lines of code and am amazed all over again. Bruce Prochnau

[jQuery] Show/hide

2007-03-12 Thread Bruce
right direction for the image swap? Thanks a lot, Bruce Prochnau bkdesign solutions ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Hide All Except One (tabs)

2007-03-12 Thread Bruce
Charles, it works great in firefox, but in ie6 on a pc I get a blank page when clicking on the other two links... Bruce P bkdesign - Original Message - From: "Charles Stuart" <[EMAIL PROTECTED]> To: Sent: Monday, March 12, 2007 3:36 PM Subject: [jQuery] Hide All

Re: [jQuery] Show hide return

2007-03-10 Thread Bruce
Thank you Yansky! The toggle works perfectly. Have no idea why the show/hide function wouldn't go to anchor, but using toggle works great so thats great. Much appreciated! This list is the best. Lookin at scrolltoanchors, looks awesome! Thanks very much! Bruce P bkdesign - Ori

Re: [jQuery] Show hide return

2007-03-10 Thread Bruce
Umm, thanks for answering! Appreciated. I tried yours: http://www.bkdesign.ca/ee2/index.php/blog/test-show/ Yours works because thats all there is on the page. On the above (I copied yours) ;), it leaves one at the bottom of the page having to scroll back up... Bruce P bkdesign >Yansky wr

[jQuery] Show hide return

2007-03-10 Thread Bruce
be done where close goes back up? Thanks Bruce Prochnau BKDesign Solutions ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Good datepicker

2007-03-09 Thread Bruce McKenzie
> the one in the plugins folder but it doesn't allow for going backwards > on the calendar. I need to be able to select any date. > > Suggestions? > > Rey Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using datePicker as a calendar

2007-03-08 Thread Bruce McKenzie
function(d) // get some data for the month containing // date(object) d }; HTH Bruce Christopher Jordan said the following on 3/8/2007 3:51 PM: > I've resorted to writing my own calendar functions (a mix of JS and > ColdFusion) because I needed more than just a date picke

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Bruce
I was wondering something here... Being a javascript menu I guess the search engines need a real menu they can see somewhere on the page? Just a thought... Bruce Prochnau bkdesign solutions - Original Message - From: Jonathan Sharp To: jQuery Discussion. Sent: Tuesday, March

[jQuery] Using datePicker as a calendar

2007-03-05 Thread Bruce McKenzie
w to do either -- or whether there's a better way. Thanks, Bruce http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] jQuery - Timed Tabs

2007-03-01 Thread Bruce
ction much appreciated. Bruce Prochnau BKDesign Solutions ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Treeview - collapsing sub-branches

2007-02-24 Thread Bruce MacKay
nks work fine - the whole tree collapses and expands as expected. It is just the collapsing/expanding of sub-branches where my problem exists. What mistake have I made ? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Hide/show question with dl/dt/dd - fixed!

2007-02-20 Thread Bruce MacKay
does the bleeding obvious always appear immediately after the send button on an email client is clicked! Bruce At 10:50 p.m. 20/02/2007, you wrote: Hi folks, I have a simple faq application with the question within a dt tag and the corresponding answer within a dd tag. I had hoped that my

[jQuery] Hide/show question with dl/dt/dd

2007-02-20 Thread Bruce MacKay
n false;}); but this also proved wrong. Clearly, I don't understand something here - would someone mind enlightening me please? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] creating and inserting a form on-the-fly

2007-02-17 Thread Bruce McKenzie
unless, of course, that's considered good form :-) Am I overlooking something obvious? I saw a discussion here last month about problems creating the form element itself in jquery v 1.1.1 http://www.nabble.com/cant-append%28%29-form-objects-tf3095501.html#a8593734 but I can'

Re: [jQuery] Cascading data into text input boxes - thanks

2007-02-17 Thread Bruce MacKay
Thanks Sam and Kristinn - really excellent help and solutions - I learnt a lot as well! Regards, Bruce At 03:48 a.m. 17/02/2007, you wrote: >I did something similar once, so I just made some changes this should work: > >$( function () { > $("[EMAIL PROTECTED]&q

Re: [jQuery] Google's Summer of Code

2007-02-16 Thread Bruce
The below works in firefox but not ie6, says runtime error Bruce Prochnau bkdesign - Original Message - From: Kenneth To: jQuery Discussion. Sent: Friday, February 16, 2007 4:49 PM Subject: Re: [jQuery] Google's Summer of Code And while we are at dreaming: A decent

Re: [jQuery] jquery tabs

2007-02-16 Thread Bruce
I lied, the sample doesn't move left. Just checked again, mayby was looking at wrong one... Apologies Bruce - Original Message - From: "Bruce" <[EMAIL PROTECTED]> To: "jQuery Discussion." Sent: Friday, February 16, 2007 12:13 PM Subject: [jQuery] j

[jQuery] jquery tabs

2007-02-16 Thread Bruce
css. Tried looking through the js but ditto thereAny ideas what I'm missing? Have extensive css background...but lost on this one...I notice the left movement even on the demo but cant see where to fix Thanks Bruce Prochnau bkdesign solu

[jQuery] Cascading data into text input boxes

2007-02-16 Thread Bruce MacKay
ction() {if (this.value.length>0)$('#dateon1').attr("value",addTheDate(this.value,1));}); And, of course, I can't do step 3 because I'm hard coding the dateon / dateoff ids - there must be a way to do a loop but I can't work that out either. For complet

Re: [jQuery] Binding a submit function after ajax

2007-02-14 Thread Bruce MacKay
Thanks Mike, I thought the basic code was correct. What wasn't correct was my call to "after_SS" - I'd made a typo on this function's name. Cheers, Bruce At 02:29 a.m. 15/02/2007, you wrote: >Bruce, > >That code looks ok to me. Do you have a sample

[jQuery] Binding a submit function after ajax

2007-02-14 Thread Bruce MacKay
e form - when I subsequently submit the form, the page "moves" to the file specified in the form's action tag. What is my mistake? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] The jQuery Litebox

2007-02-10 Thread Bruce
I'd suggest smaller image size for demo tho, it took a bit to start, some are 1.3MB Bruce P - Original Message - From: "Bruce" <[EMAIL PROTECTED]> To: "jQuery Discussion." Sent: Saturday, February 10, 2007 6:30 PM Subject: Re: [jQuery] The jQuery Lit

Re: [jQuery] The jQuery Litebox

2007-02-10 Thread Bruce
I think it is fantastic! Especially like the prev 2 of six next Awesome and good work!! Bruce Prochnau BKDesign Solutions - Original Message - From: "ProjectAtomic" <[EMAIL PROTECTED]> To: Sent: Saturday, February 10, 2007 6:12 PM Subject: [jQuery] The jQuery Lite

Re: [jQuery] StyleSwitcher (or HTML) puzzle - fixed

2007-02-10 Thread Bruce MacKay
I found my mistake - I was loading the link tags before the js. Sorry for the unnecessary post. Bruce At 12:53 a.m. 11/02/2007, you wrote: Hi folks, I'm trying to introduce Kelvin Luck's stylesheet switcher ( http://www.kelvinluck.com/article/switch-stylesheets-with-jquery) into

[jQuery] StyleSwitcher (or HTML) puzzle

2007-02-10 Thread Bruce MacKay
I add a title to my link tag, my styles are not triggered - as soon as the title is removed (or set to nothing ("")), the styles become operational. This happens on both IE7 and FF2. What can I not see here? Thanks, Bruce ___ jQuery mailin

[jQuery] Uncooperative divs

2007-02-08 Thread Bruce MacKay
et "pushed down" the page when loading the email form into the preceding div? I thought about adding something like .css("height","300") to the callback function, but this didn't appear to make any difference. Any ideas for me to explore? Thanks, Bruce _

Re: [jQuery] make a div disappear after 2seconds?

2007-01-31 Thread Bruce
I love the below, me is the n00b and am looking there...help and docs is appreciated. lol Thanks Bruce Prochnau bkdesign solutions - Original Message - From: Alex Cook To: jQuery Discussion. Sent: Wednesday, January 31, 2007 1:12 PM Subject: Re: [jQuery] make a div

[jQuery] dimensions.js console.log error message

2007-01-28 Thread Bruce McKenzie
The version of dimensions.js available on the jquery plugins pages contains this on line 233 console.log(' ' + parent.id + ' ' + x + ' ' + y); which triggers an 'error-on-page' message in IE6. BTW, is there a packed version of this excellent

Re: [jQuery] Dom Updates?

2007-01-20 Thread Bruce MacKay
Hi Yehuda, Can this approach be extended to JSON data? I return html content of multiple divs using the pattern... $("#nlinks2").html(sLinks); where sLinks is a JSON field. I cannot work out how to "hook" the call to docReady to this code. Any help here? Thanks, Bru

Re: [jQuery] Deserialize plugin with jQuery 1.1

2007-01-19 Thread Bruce McKenzie
Mike Alsup said the following on 1/19/2007 8:25 AM: >> I have been using the deserialize plugin to fill forms with JSON. But it >> doesn't work properly with jQuery 1.1 Here are two test pages: > > > Bruce, the problem is a result of this bug: > > ht

[jQuery] Deserialize plugin with jQuery 1.1

2007-01-19 Thread Bruce McKenzie
two forms have a "name" field, both will be updated. Deserializing also seems to remove the data from fields it doesn't have data for, no matter which form the field belongs to. Hints welcome :-) Bruce [I hope this isn't a duplicate post -- I posted this via Nabble yest

[jQuery] ID of parent

2007-01-19 Thread Bruce MacKay
bject Object]. I'd appreciate a pointer to the solution. Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] ID (or name) of current tab

2007-01-16 Thread Bruce MacKay
Thanks for the illumination Klaus - I'm out of the hole. Cheers, Bruce At 01:55 a.m. 17/01/2007, you wrote: >Bruce MacKay schrieb: > > Hello folks, > > > > I'm trying to retrieve the ID of the current tab (a la Klaus) to pass to > > a function

[jQuery] ID (or name) of current tab

2007-01-15 Thread Bruce MacKay
efined" to tFocus - which I'm sure won't surprise many of you, but has stumped me. A hand up out of this hole would be appreciated. Cheers, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] .css, jQuery1.1

2007-01-15 Thread Bruce MacKay
em", text-align: "left"}); Yet, the structure I'm using is as per the 1.1 API (as far as I can see), so obviously there is something else I'm missing here. Can anyone help please? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] radio buttons, label and double fired functions - thanks

2007-01-12 Thread Bruce MacKay
Thanks Aaron for the solution and explanation - my problem is now fixed and I understand how/why. Cheers, Bruce At 08:10 p.m. 12/01/2007, you wrote: On 1/12/07, Aaron Heimlich <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: And anyway, when you click on a , the element it&

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
x27;s an invalid approach. Cheers, Bruce At 07:36 p.m. 12/01/2007, you wrote: Hi Aaron, Your suggested rearrangement of the a tag does not alter the twin firing of the function. The only way to get a single fire is to remove the label tags - and I don't want to do that. Cheers, Br

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
Hi Aaron, Your suggested rearrangement of the a tag does not alter the twin firing of the function. The only way to get a single fire is to remove the label tags - and I don't want to do that. Cheers, Bruce At 07:12 p.m. 12/01/2007, you wrote: On 1/11/07, Bruce MacKay <<ma

[jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
lick on any radio button in the set, the function is (as I wanted) fired once. However, if I click on the text (i.e. between the label tags), the function is fired twice. As well as seeking a fix, I'd also like to understand why this happens. Cheers, Bruce _

[jQuery] Double fire

2007-01-07 Thread Bruce MacKay
break; case "3": $("#newlinks,#data1,#data3").show(); break; default: alert("An unexpected error has occurred!"); } return false; }; From the evidence of the console log, this function fires twice each time a list it

Re: [jQuery] Dynamically removing an inline script block

2007-01-06 Thread Bruce MacKay
Thanks folks for your responses. As usual, I couldn't see the wood for the trees and you were correct Christof, what I really needed to do was to alter the values of a variable. Problem now solved. Thanks again, Bruce At 11:46 a.m. 5/01/2007, you wrote: >Hi, > > > I&

[jQuery] Dynamically removing an inline script block

2007-01-04 Thread Bruce MacKay
used frames and the problem didn't exist - I just refreshed the frame page in which the tree resided - but I'm now using a frameless approach and that option isn't available now) Is this at all possible? If so, a direction to a solution would be appreciated. Thanks, Bruce __

[jQuery] re. Wildcards

2007-01-04 Thread Bruce MacKay
convey the information I need to send to the deleteAppAsset function - if you can point me in the right direction I'd appreciate it. Thanks again both, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Wildcards

2007-01-03 Thread Bruce MacKay
e changed because it cannot be found. Is there a way that I can use some type of wildcard to find an element (and in this case there will only ever be a single element) whose id begins with "del"... eg. $("#del??).id("del*"+p

Re: [jQuery] Group

2007-01-02 Thread Bruce
Happy New Year to all, I am learning/ rather, trying to learn all this. If I keep reading these posts eventually it will start to make sense.maybe? osmosis? lol, Anyways, as a lurker who is very interested and learning, all this is very helpful. Now back to my corner Bruce Prochnau

Re: [jQuery] Localization tool mashup for jQuery

2006-12-27 Thread Bruce
ummm, ok Anyone know how to remove the script error in ie? Otherwise great :) Bruce Prochnau bkdesign Previous: This translate is awesome. I get permission denied line 1894 but it still works (tried using the demo) This is good Bruce Prochnau bkdesign solutions - Original Message

Re: [jQuery] Localization tool mashup for jQuery

2006-12-27 Thread Bruce
This translate is awesome. I get permission denied line 1894 but it still works (tried using the demo) This is good Bruce Prochnau bkdesign solutions - Original Message - From: "Rey Bango" <[EMAIL PROTECTED]> To: "jQuery Discussion." Sent: Wednesday, Decembe

Re: [jQuery] New JQUERY site for testing...

2006-12-23 Thread Bruce
. Well done Bruce - Original Message - From: "Micky" <[EMAIL PROTECTED]> To: Sent: Saturday, December 23, 2006 1:58 PM Subject: Re: [jQuery] New JQUERY site for testing... > > Hi Bruce, > > Thanks for your kind comments. > > The Top/Growing Clouds s

Re: [jQuery] New JQUERY site for testing...

2006-12-23 Thread Bruce
At first glance it looks pretty awesome. Second one too! Ditto on loading as jyl... Any tips on how you did the top/growing clouds? Thanks Bruce Prochnau bkdesign solutions - Original Message - From: "Micky" <[EMAIL PROTECTED]> To: Sent: Thursday, December 21, 2006

Re: [jQuery] Resetting a form/general floundering

2006-12-20 Thread Bruce MacKay
Thanks again Blair, the [0] was the missing piece of my puzzle - I'd never have picked it up. Cheers, Bruce At 12:12 p.m. 20/12/2006, you wrote: $("#sQuestion").resetInput(). Most plugins create new methods that you can run on a jQuery selection. I haven't actually ha

Re: [jQuery] Resetting a form/general floundering

2006-12-19 Thread Bruce MacKay
he syntax for using resetInput for, say, a text element (#sQuestion). Cheers, Bruce At 11:23 p.m. 18/12/2006, you wrote: jQ shouldn't have any problems finding the added elements. Some things to look at: * First, use $("#sQuestion").val('abc') to change form i

Re: [jQuery] Resetting a form/general floundering

2006-12-17 Thread Bruce MacKay
Sorry, a typo on my part - I am using #nLinkForm in the code Bruce At 07:58 p.m. 18/12/2006, you wrote: $("nLinkForm") is looking for nLinkForm tags. You need to use css syntax: $("#nLinkForm") for id, $(".nLinkForm") for class. Blair On 12/18/06, Bruce Mac

[jQuery] Resetting a form/general floundering

2006-12-17 Thread Bruce MacKay
ts of one of the text input elements, I'm now thinking that jquery cannot "see" the form elements within #aqs. Is this the correct interpretation of what's happening/not happening? If so, how do I ensure that jquery does recognise elements introduced into a page via an AJAX call? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Refreshing form contents from json

2006-12-16 Thread Bruce MacKay
break; case "N": $("#cqs").highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).find("#links_msg").html(sMsg); } } catch(e) {$("#cqs").highlightFade({color:'blue',speed:2000,iterator:'sinusoidal'}).find("#links_msg").html("Error in JSON response: "+e).show(); } }); } Thanks for your help, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] find cause of uncaught exception

2006-12-14 Thread Bruce McKenzie
, > dataType:'html', > complete: function(){alert('done')} > }); > }); > > This is with FF 2.0. All my other Ajax scripts are working -- and this one > used to ... maybe it's something to do with FF ver

Re: [jQuery] Disabling tags -- thanks

2006-12-12 Thread Bruce MacKay
Thank you all for the solutions and the additional lesson about div#myID - much appreciated. -- Bruce >___ >jQuery mailing list >discuss@jquery.com >http://jquery.com/discuss/ ___ jQuery

[jQuery] Disabling tags

2006-12-12 Thread Bruce MacKay
tor:'sinusoidal'}); $('#links_fback').html(field.message).addClass("error").show(); } } } } My attempt ($("div#preview a").href('#');) does not work - I don't understand why it doesn't. Any suggestions/insights? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Multiple Unknown Invisible Calls

2006-12-09 Thread Bruce MacKay
quent cycle and then arrange the js code appropriately through an if/else sequence, but does jquery have a more efficient way of doing this? Thanks, -- Bruce At 03:26 p.m. 10/12/2006, you wrote: >It is being called each time you click an editme element, creating yet >another binding f

Re: [jQuery] Replicating tag text - Thanks!

2006-12-05 Thread Bruce MacKay
Thanks very much Karl and Jörn. Exactly what I needed. Cheers, Bruce At 12:19 p.m. 6/12/2006, you wrote: >Try this: > > $('#iNodeID').change( function() { > if ( this.selectedIndex > -1 ) > $('#sLinkText').va

Re: [jQuery] Replicating tag text

2006-12-05 Thread Bruce MacKay
ions - I don't want to add unnecessary weight to the page. What am I still missing here? What is my next option? Thanks, Bruce At 09:16 a.m. 6/12/2006, you wrote: Hi folks, I'd appreciate some help with a form element task I wish to achieve. I have a form containing three elements (

[jQuery] Replicating tag text

2006-12-05 Thread Bruce MacKay
lue.length>0) $('#sLinkText').val(this.value);}); but I don't know how to get the required info from the select element. I don't want the value of the selected select element (it will be an integer) - I need the text. Can someone please p

Re: [jQuery] Klaus's (disappearing) tabs - fixed, but why?

2006-11-29 Thread Bruce MacKay
seText){$("div#editorbox").html(responseText);$('div#editor').tabs({fxFade: true, fxSpeed: 'fast', fxAutoHeight: true})}); } ... but I don't understand why this format works and my original attempt (below) didn't. Cheers, Bruce At 05:32 p.m. 30/11/200

[jQuery] Klaus's (disappearing) tabs

2006-11-29 Thread Bruce MacKay
odeorder=" + nodeorder + "&pblID=" + pblID + "&bFullView=" + bFullView + "&bNodeDetail=" + bNodeDetail + "&origin=" + origin + "&sorder=" + sorder + "&pagetypeID=" +

Re: [jQuery] Hiding a row in a table

2006-11-27 Thread Bruce MacKay
Yes, of course you are correct. I did think to check the table's tags for completeness, but my checking was not sufficiently thorough. Sorry for the added imposition and thanks again for the help, -- Bruce At 11:14 a.m. 28/11/2006, you wrote: I just tried it and it worked fine. My gue

Re: [jQuery] Hiding a row in a table

2006-11-27 Thread Bruce MacKay
Thanks Erik, Unfortunately your line of code hid all the rows in the table, including the one that was clicked. If I just wanted to hide the row that was clicked, how would your line be altered? Bruce At 10:38 a.m. 28/11/2006, you wrote: $("tr").hide() matches all tr tags and

[jQuery] Hiding a row in a table

2006-11-27 Thread Bruce MacKay
#x27;,speed:2000,iterator:'sinusoidal'}); $("#theIndicator3").hide(); }); } My attempt at hiding the deleted item's row (line 3) is successful in hiding the entire table for reasons that are not obvious to me, but I suspect are clearly obvious to you. I&#

[jQuery] .val() confusion

2006-11-25 Thread Bruce MacKay
eval("data="+responseText); $("#asset_form").highlightFade({color:'yellow',speed:2000,iterator:'sinusoidal'}); $("#sAction").val("add"); $("#asset_label").html('Add asset'); $("#asset_editor").deserialize(data); } catch(e) { $("#asset_error").html("Error in JSON response: "+e); $("#theIndicator3").hide(); } }); } Where am I going wrong? What don't I understand? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Reading json strings

2006-11-24 Thread Bruce MacKay
this).ajaxSubmit(AFoptions); return false; }); }); function fnAF_Before(q){ $("#theIndicator"+q).show(); } I don't understand why the length of "fields" is being given as 1, and when I try to view the components of fields, I get an [object O

Re: [jQuery] CPAN Modul for jQuery ?

2006-11-23 Thread Bruce McKenzie
I use the CGI::Application framework -- it works very nicely with jQuery. -- Bruce Christof Donat wrote: > Hi, > >> Why isn't there a CPAN modul for jQuery? > > I guess, because jQuery is not written in Perl. > > Christof > >

Re: [jQuery] Form Validation (no Ajax)

2006-11-13 Thread Bruce McKenzie
bmsterling wrote: > Bruce, > I had the same question a few weeks back and I more or less got the answer > from Jörn. Let me look for the code that I made and we can see if that > helps you. > > Meanwhile, you can take a quick look a that discussion and it may point

[jQuery] Form Validation (no Ajax)

2006-11-13 Thread Bruce McKenzie
tJSON( 'some/app.cgi', pars, function(ret){ alert(ret.someVal); } ); return false }); }); Thx, Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] if/then equivalents in jQuery

2006-11-12 Thread Bruce MacKay
extarea element to be reset or the form hidden. Can someone please give me a conceptual framework/(pseudo-code) example of how to approach this situation? Thanks, Bruce The code below is how I am achieving the first scenario (when the information from the email form is all OK and the email is se

[jQuery] Overlapping divs & toggleContent function

2006-11-05 Thread Bruce MacKay
ivs beneath are "pushed" down (as I would like them to be), but in FF2, the glossary search box simply overlaps the lower divs. I cannot see the error I'm making - can someone please point me in the right direction. Cheers, Bruce _

[jQuery] Extended tabs in Thickbox iframe

2006-10-20 Thread Bruce McKenzie
this error: document.defaultView.getComputedStyle(this, "") has no properties Could this be a versioning problem? Suggestions appreciated. Thx -- Bruce http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Column totals in sortable table

2006-10-14 Thread Bruce McKenzie
What's an efficient way to keep column totals at the bottom of a table sorted with the tableSorter plugin? Thanks. -- Bruce http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] When / how did you find out about jQuery?

2006-09-27 Thread Bruce McKenzie
eWeek -- August 30 http://www.eweek.com/article2/0,1895,2010602,00.asp -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Help finding parent element

2006-09-23 Thread Bruce McKenzie
.text(); total += Number(aNum) ; }); $(myRow).find('.total').html( total.toFixed(1) ) ; } This works -- but I don't think I've seen any code written by someone who knows what they are doing (e.g., in the plugins or tutorials) that looks like this :-) What&#

  1   2   >