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

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

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

Re: [jQuery] Simple XML Parsing Question

2009-11-17 Thread Wil Everts
$(xml).find('CustomMessage') -- will give you this result: 181 First Message 135 Sample_img.png image/png >

[jQuery] Re: $.getJSON

2009-03-01 Thread Wil Everts
all the returned matches for data.items. In your example (without seeing your json) item.id should work fine without an index. Kindest, Wil Everts w...@zivity.com

[jQuery] Animate Clip CSS Properties

2008-07-12 Thread Wil Everts
a mootools plugin or does someone have a trick or a link for me? Thanks Gang! Wil Everts [EMAIL PROTECTED]

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread Wil Everts
currently working on I have jQuery 1.2.6 running in no conflict next to Prototype without any problems. Regards, Wil Everts [EMAIL PROTECTED]

[jQuery] Re: $("#mycarousel").jcarousel is not a function

2008-05-24 Thread Wil Everts
Hey, I'm required by law to ask if you forgot your After that... got a link for us to crunch? Wil Everts [EMAIL PROTECTED]

[jQuery] Re: Select lists in 1.2.5

2008-05-22 Thread Wil Everts
Photic, Can you point us to a web-sample so we can Firebug it up? (The console is your friend). Best Wishes, Wil Everts [EMAIL PROTECTED]

[jQuery] Re: jQuery is not defined and fade

2008-05-22 Thread Wil Everts
Hi Marcos, In your markup you have: when you want: Your jquery include should be inserted BEFORE any other plugins/scripts. Best of Luck! Wil Everts [EMAIL PROTECTED]

[jQuery] Re: jQuery AJAX IE Error

2008-05-08 Thread Wil Everts
Instead of: var status = $("status", dataSet).text(); Try this: var status = $(dataSet).find('status').text(); Hope that helps. Wil Everts [EMAIL PROTECTED]

[jQuery] Re: didactic question: collapsing div's

2008-05-02 Thread Wil Everts
There is a nice tutorial on the learning jquery blog about this. Towards the bottom it gets into the hiding/showing of siblings: http://www.learningjquery.com/2007/02/more-showing-more-hiding Wil Everts [EMAIL PROTECTED]

[jQuery] Re: Required field via selection box

2008-04-30 Thread Wil Everts
>= 0) { $(".additionalInput").show(); var requireAdditional = 'true'; } ...and then you could append your validation with something like: if (!requireAdditional) { // do your standard validation } else { // do your extended validation } Hope that helps. Wil

[jQuery] Re: jquery ajax post issue

2008-04-28 Thread Wil Everts
Hi Ram, Could you send us a link to a live example/code so we can look at for you? Kindest, Wil Everts [EMAIL PROTECTED] On Sun, Apr 27, 2008 at 11:24 PM, Ram <[EMAIL PROTECTED]> wrote: > > Hello, > > My target page that which I would be loading via ajax has some java >

[jQuery] Re: Required field via selection box

2008-04-28 Thread Wil Everts
var containsStar = $j("#selectVar").val().indexOf('*'); /* if var mynewvar = 'bobx*' containsStar would = 4 if var mynewvar = 'bobx' containsStar would = -1 */ if (containsStar >= 0) { $(".additionalInput").show(); } }); Kindes

[jQuery] Re: ajax/jquery architectural question

2007-11-30 Thread Wil Everts
A way to do this w/o adding another plugin is as follows. I'm sure there are situations where livequery outperforms this perhaps but I haven't needed it yet... Say I'm loading script.html and I want my function, called bobFun, to be applied to the newly loaded content... //here's your function va

[jQuery] Re: Form target out of jquery plugin cluetip

2007-11-30 Thread Wil Everts
I won't get into an anti iframes flame, but in your example: You would be targeting an iFrame named "something" The target in HTML lets you tell a link, form, whatever where to load, be it in a new window, an iframe, whatever. Here is a link to some frame targeting info that should help you unde

[jQuery] Re: jQuery functions on loaded html

2007-11-24 Thread Wil Everts
Looks like livequery is what I was looking for... I'll wait a few hours more from now on before bothering you guys. Feel like the boy who cried wolf. I *really* appreciate all the help. Wil On 11/24/07, Wil Everts <[EMAIL PROTECTED]> wrote: > > Test: http://wil1.com/jtest/inde

[jQuery] jQuery functions on loaded html

2007-11-24 Thread Wil Everts
Test: http://wil1.com/jtest/index.html Source: http://wil1.com/jtest/wil.js Description: When you click on an arrow image the sub-listings are loaded via a plain html file (eventually this will load from an api call), the image is changed, the list is then slideToggle'd. Problem: It seems that n

[jQuery] Re: Simple Question: Using Variables in jQuery

2007-11-24 Thread Wil Everts
Now I have it, I just needed to make them have unique id's and it worked. EX: if bob is the id, linkid = bob and the ulid = bobul) $(document).ready(function(){ $("a.bob").click(function() { var ID = $(this).attr("id"); $("#"+ID+"ul").load("data.html"); }); }); On 11/23/07, yetanother <[EMAI

[jQuery] Re: Image replacement

2007-11-19 Thread Wil Everts
I have tried using: $(this).find('.arrow').attr("src", "images/down.jpg"); and the opposite to replace the image source using the "arrow" class to find it. It works for the down arrow replacement but I'm clearly on the w go back to the up state... New Code: $(document).ready(function() {

[jQuery] Image replacement

2007-11-19 Thread Wil Everts
I have an accordion-like setup for several divs to contract and expand when the header text is clicked on... On the line with the headers I have an arrow image which I would like to swap from up to down on show/hide. Can anyone provide some pointers? jquery: $(document).ready(function() { $