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
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
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
$(xml).find('CustomMessage') -- will give you this result:
181
First Message
135
Sample_img.png
image/png
>
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
a mootools plugin
or does someone have a trick or a link for me?
Thanks Gang!
Wil Everts
[EMAIL PROTECTED]
currently working on I have jQuery 1.2.6 running in no
conflict next to Prototype without any problems.
Regards,
Wil Everts
[EMAIL PROTECTED]
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]
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]
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]
Instead of:
var status = $("status", dataSet).text();
Try this:
var status = $(dataSet).find('status').text();
Hope that helps.
Wil Everts
[EMAIL PROTECTED]
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]
>= 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
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
>
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
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
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
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
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
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
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() {
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() {
$
22 matches
Mail list logo