[jQuery] 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
I have the following code that loads on $(document).ready: - $('.ajaxdropdown').change(function(){ $('#charges-gsm, #charges-gsm-faq, #charges-gsm-prices').load('/

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
its 'c_name'. I've discovered something now, if I just use 1 div as the selector to update only 1 div, $('#charges-gsm) it works fine. But when I add multiple ones: $('#charges-gsm,#charges-gsm-faq,#charges-gsm-prices') thats when I get the error...I know that the divs exist and it works in

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
); $(#charges-gsm-prices).html(html); } }); }); On Jul 9, 5:20 pm, Carl Von Stetten [EMAIL PROTECTED] wrote: You might try adding the .each() function before your .load() call. Carl Pickledegg wrote: its 'c_name'. I've

[jQuery] Re: Fadein with ajax load()

2008-07-02 Thread Pickledegg
$('#id-of-my-div').load('somescript.php?name='+escape($(this).val()), {},function(){ $('#id-of-my-div').fadeIn(slow) });http://docs.jquery.com/Ajax/load#urldatacallback On 1 июл, 14:26, Pickledegg [EMAIL PROTECTED] wrote: I'm using an ajax load() with an onChange event: $('#id-of-my-div

[jQuery] Fadein with ajax load()

2008-07-01 Thread Pickledegg
I'm using an ajax load() with an onChange event: $('#id-of-my-div').load('somescript.php?name='+escape($(this).val())); Which is lovely, but how can I add a fadeIn to it so that every time my div is updated, it fades into the div in a sultry provocative fashion? Thanks.

[jQuery] Re: Linking showing Subsection of page

2008-06-16 Thread Pickledegg
Does anyone have any ideas to offer by any chance? On Jun 13, 1:02 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres my page: http://tinyurl.com/5eov82 If you click on the 'FAQ' or 'Prices' buttons you wil see that it shows/hides certain divs on the page. If the javascript is disabled

[jQuery] Re: Linking showing Subsection of page

2008-06-16 Thread Pickledegg
Liam Pickledegg wrote: Does anyone have any ideas to offer by any chance? On Jun 13, 1:02 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres my page: http://tinyurl.com/5eov82 If you click on the 'FAQ' or 'Prices' buttons you wil see that it shows/hides certain divs on the page

[jQuery] Linking showing Subsection of page

2008-06-13 Thread Pickledegg
Heres my page: http://tinyurl.com/5eov82 If you click on the 'FAQ' or 'Prices' buttons you wil see that it shows/hides certain divs on the page. If the javascript is disabled it, autmaticaly shows all of the content in one long page. The problem is, I'll need to link directly to the 'FAQ'

[jQuery] Hiding an li causes list to shift over.

2008-05-29 Thread Pickledegg
Heres my page: http://tinyurl.com/65ffwr Click on the FAQ Prices buttons to see the functionality and the problem. I'm using jquery to hide the 'Go Back' button until the other buttons are clicked. When they are, the 'Go Back' Button fades into view. See the problem? When the the 'Go Back'

[jQuery] Strange Delay

2008-05-21 Thread Pickledegg
Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy. The weird thing is though, if you click on the 'rates' link or the 'main' link and then back to the 'faq' link,

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
HERES THE LINKhttp://tinyurl.com/3m7t4n On May 21, 1:28 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
Fixed, it was an error in my code where I'd placed an event handler function inside another event handler, and it was triggering both instead of the one. On May 21, 1:38 pm, Pickledegg [EMAIL PROTECTED] wrote: HERES THE LINKhttp://tinyurl.com/3m7t4n On May 21, 1:28 pm, Pickledegg

[jQuery] Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Heres my code: This fires on any dropdown with the class 'ajaxdropdown': However, it errors telling me that event.val() is not a function. How do I refer to the current dropdown being changed, and get its value? I know $ ('#idofdropdown').val() will work, but I need to use multiple dropdowns.

[jQuery] Re: Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Sussed it: $('this').val() does the trick! On May 12, 12:05 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres my code: This fires on any dropdown with the class 'ajaxdropdown': However, it errors telling me that event.val() is not a function. How do I refer to the current dropdown being

[jQuery] Re: Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Thanks andrea ;) On May 12, 12:27 pm, Pickledegg [EMAIL PROTECTED] wrote: Sussed it: $('this').val() does the trick! On May 12, 12:05 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres my code: This fires on any dropdown with the class 'ajaxdropdown': However, it errors telling me

[jQuery] Autocompleter using a static dropdown

2008-05-06 Thread Pickledegg
I have a dropdown of countries that has already been output to the browser. All the autocompleter examples I have seen use ajax to look up the input data and return a SQL like match. How do I make an autocompleter by just using the available option tags?

[jQuery] Re: Most basic of basic fundamental questions.

2008-02-06 Thread Pickledegg
, Pickledegg [EMAIL PROTECTED] wrote: I'm reading 'learning jQuery'. In this example, and in fact every example, why do you pass a function as an argument. $(document).ready(function() { $('.poem-stanza').addClass('emphasized'); }); why can't I do this? $(document).ready

[jQuery] Re: yet another beginner's diary (pls review!)

2008-02-06 Thread Pickledegg
I like your Blog Cherry, the structure is a bit random and I struggled to find a way of contacting you or leaving comments etc. Otherwise I can totally relate to the content as I'm pretty much in the same boat as you are. Keep it up, but in my opinion I'd try to make the site a bit easier to

[jQuery] Most basic of basic fundamental questions.

2008-02-05 Thread Pickledegg
I'm reading 'learning jQuery'. In this example, and in fact every example, why do you pass a function as an argument. $(document).ready(function() { $('.poem-stanza').addClass('emphasized'); }); why can't I do this? $(document).ready( $('.poem-stanza').addClass('emphasized'); ); Thanks. I'm

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-02-04 Thread Pickledegg
', pause: 1 }); }); On Feb 1, 4:13 am, Pickledegg [EMAIL PROTECTED] wrote: Hi Ange It looks fantastic, but I take it you're like me, and are searching for a databased or 'non-preloaded' version? On Jan 31, 6:58 pm, Ange [EMAIL

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-02-01 Thread Pickledegg
://www.circleatseven.com/test/portfolio.php On Jan 31, 12:05 pm, Pickledegg [EMAIL PROTECTED] wrote: SEAN-O The above link is what I found too, but you're missing the original post slightly. He needs something that you can plug into a database, as preloading the images is impractical with large

[jQuery] Coda Type Slideshow

2008-01-31 Thread Pickledegg
I've just started with jquery, and I'm looking at producing the following: I've just started looking at jquery, so I'm a complete jquery/ajax rookie, but I was hoping to create a slideshow for my personal photo blog that I hope to launch end of Feb. I wanted to create something similar to the

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Pickledegg
SEAN-O The above link is what I found too, but you're missing the original post slightly. He needs something that you can plug into a database, as preloading the images is impractical with large files. Does anyone know of a database ready version? On Jan 31, 4:17 pm, Sean O [EMAIL PROTECTED]

[jQuery] Re: Quick simple syntax question.

2008-01-25 Thread Pickledegg
On 24 jan, 10:44, Pickledegg [EMAIL PROTECTED] wrote: In one of the tutorials on this page: http://docs.jquery.com/Tutorials:jQuery_For_Designers in this bit of code, (on the starred line), the 'event' is passed to the function that toggles the .thebody class. I don't understand what

[jQuery] Quick simple syntax question.

2008-01-24 Thread Pickledegg
In one of the tutorials on this page: http://docs.jquery.com/Tutorials:jQuery_For_Designers in this bit of code, (on the starred line), the 'event' is passed to the function that toggles the .thebody class. I don't understand what this 'event' is and why is it passed on this line and not any