[jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
I am very (very) used to PHP but just trying to grips with JQuery/Ajax and this is a very simple problem that I cannot find an easy - understandable answer to especially one that works - strange I know. My experience is that all answers to this question - on another site - are too complex and

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 11:06 AM, parot russ...@parotkefalonia.com wrote: What I cannot do and I do not seem to get a sensible, easy to follow and understandable answer from knowledgeable JQuery people is find out how to pass the valiable trythis to the page tryit.php and then return the

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Thnks Nathan, Very near, but it is more basic than that - how do I get the variable ?trythis=changable value into var trythis=; Sounds silly and quiet simpel, but can I get a plain english answer - no Thanks for your reply Nathan Klatt-2 wrote: On Tue, Jan 19, 2010 at 11:06 AM, parot

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 11:32 AM, parot russ...@parotkefalonia.com wrote: Very near, but it is more basic than that - how do I get the variable ?trythis=changable value into var trythis=; Maybe a sequence diagram would be helpful. Here's what I hear you asking:

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Hi Nathan http://www.websequencediagrams.com - now I'm really confused I think I understand it but but let me explain I want to scroll back and forward through the months on a calendar without refreshing the page. I have the php calendar, but I don't want any page refresh which I can do with

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 1:45 PM, parot russ...@parotkefalonia.com wrote: I want to scroll back and forward through the months on a calendar without refreshing the page. I have the php calendar, but I don't want any page refresh which I can do with PHP and just send the GET to the page.  so

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Nathan, what can I say, perfect. Thanks a lot. Think I understand it, Do years automatically increment / decrease with +newYear -newYear like months so you could have something like $(button#prevMonth).click(function() { loadMonth(--currentMonth),loadYear(--currentYear); }); Nathan Klatt-2

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 2:29 PM, parot russ...@parotkefalonia.com wrote: so you could have something like $(button#prevMonth).click(function() { loadMonth(--currentMonth),loadYear(--currentYear); }); Well, to handle year and month you'll want something like: var currentMonth = 1; var

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Natahn, Very very nearly there - just ummm not sure where to put the Year code. Other than that works perfectly in the calander I want which has a show / hide function for a form with an ajax reply - I got tha bit working perfectly, it was just using JQuery to prefect a page refresh on the

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Hi Nathan Thanks a lot for everything, managed to sort the years out OK not in the java but in the PHP page - I'm just an old fashioned PHP type of guy really. Thanks alot for everything parot wrote: Natahn, Very very nearly there - just ummm not sure where to put the Year code.