e a Google Apps account.
Hope this helps,
Joe Moore
On Thu, Jan 21, 2010 at 7:28 PM, Shawn wrote:
> My apologies to the list managers. I did not mean to belittle their
> efforts in any way. I only meant to state that for me, personally, forums
> are not the preferred tool.
>
> I a
There's no way for us to determine whether updating the jQuery library will
affect your site. Too many variables.
- Review the Release notes for the version to see if there are any known
issues.
- Review any plugins that you have to determine if they will work.
- Update the library and test your si
Instead of find, use children?
On Nov 17, 2009 2:56 PM, "Joe" wrote:
I have been banging my head against the wall and searching for answers
for the past week, so any help or direction would be appreciated. I
am sure that I am missing something obvious. I have some XML that
looks like this:
Certainly more concise!
On Thu, Nov 12, 2009 at 10:00 AM, saxan rappai wrote:
> iam not sure with this .. but its working... a lil modification..
>
>
>
>
> Test Page
>
>
> $(function() {
> $('#but').toggle(
> function
David,
You are correct, that wont work for the input element. Sorry about that. I
guess I got focused on the first part of your email and the a element.
I'm wondering if you thought about why the code I provided didn't work? You
might want to review the jQuery documentation and the tutorials:
-
in.
> I did a modified version of what you suggested and rewrote the plugin
> to just be basic functions with parameters. Seems to work now, I'm
> just bummed I couldn't keep the jQuery plugin because IE7 decided it
> wasn't going to let it work with onclick.
>
> Th
ls
Joe
On Wed, Nov 11, 2009 at 2:06 PM, Matthew wrote:
> I'm passing about 5 parameters to the function that are coming from
> php running in a loop. So I was thinking I needed to use the onclick
> on the tag so that I could just pass the php variables as
> parameters
Is there some reason you don't want to put this onclick event in a script
tag in the head section? Like,
Test Page
$(function() {
$('a.detailLink').click(
function(event) {
//stop the events def
David,
Here's one way, using the toggle event (really a click event, check out:
http://docs.jquery.com/Events/toggle#fnfn2fn3.2Cfn4.2C...)
Test Page
$(function() {
$('a.detailLink').toggle(
function(event) {
rstand why it is slow...
- first jQuery walks across the whole entire DOM tree grabbing every
single , and that's whether it's one you are after or not
- then id needs to get every single class name, and do a (relatively
to other methods anyways) slow "end with" operator
Yuc
Oops. got the selector wrong. It should be:
$( function() {
$(div[class^=hide-BAT].hide();
});
Joe
On Wed, Nov 11, 2009 at 8:38 AM, Joe Moore wrote:
> $( function() {
>$(div[class=hide-BAT$].hide();
> });
>
> I haven't tested this, but it should work. If not,
$( function() {
$(div[class=hide-BAT$].hide();
});
I haven't tested this, but it should work. If not, verify the selector.
Not sure why you are giving a unique classname to all these elements. If you
need it, why not use the I'd attribute?
Regards,
Joe
On Nov 11, 2009 8:17 AM, "David pr" w
Then something like this:
Test Page
$(function() {
$('a.cartSummaryLink').each(function(i) {
$(this).text( $(this).text().replace('Cart','My Shopping
Bag'));
});
});
View Cart
HTH,
Joe
On Wed, Nov 11, 2009 at 5:32 AM, Joe Moore wrote:
> So the jquery code executes when they click on the link?
> If so, do you have a click event attached to the links and this code is on
> it?
>
> On Nov 10, 2009 10:46 PM, "Daybreak
ew Cart is
'.cartSummaryLink'
The Jquery code is of course
$('.cartSummaryLink').val( $(this).val().replace('Cart','My Shopping Bag')
$(this) is meant to be equal to 'View Cart'
Thanks
On Nov 11, 2:05 pm, Joe Moore wrote: > Well, what
are you
Well, what are you expecting $(this) to be? What code (HTML & JavaScript )
do you have to show us?
On Nov 10, 2009 8:42 PM, "Daybreak0" wrote:
Joe and Marcel - I see.
Thank you
$('.cartSummaryLink').val( $(this).val().replace('Cart','My Shopping Bag')
);
No errors occur but it does not work.
$this should be $(this).
Hth,
Joe
On Nov 10, 2009 2:12 PM, "Daybreak0" wrote:
Hi all,
I have the following html, of which I want to replace the text "Cart"
with "My Shopping Bag" (The Veiw Cart text is near the end)
Code:
1 item(s),
Total: £0.00 View Cart
Now I need the ability to actually
17 matches
Mail list logo