PDA

View Full Version : AJAX/JQUERY/POST data ARGH!!!


the moose
11-16-2009, 12:59 PM
I'm really struggling to get to grips with AJAX/JQUERY at the moment.

What I have is am HTML form which has several text inputs and 2 textareas.

What I need is all the data out of the first textarea sent to a PHP script which will process the data (strtoupper() php function) and output it into the second textarea.

The PHP script really isn't an issue at all - done (all it does is echos out the result of the function).

What I am struggling to go is to post the data to the PHP script.

I have found countless tutorials on jquery etc, but none of them seem to help.

Can anyone PLEASE help me :)

Cheers

The Moose

seco
11-16-2009, 01:06 PM
so is this 1st textarea sent via button or onblur?

the moose
11-16-2009, 01:18 PM
so is this 1st textarea sent via button or onblur?

Quite honestly, I'm not too fussed...but I was initially thinking a text link. The reason for this is that occasionally, it will be a requirement to have slightly different content in the first textarea as to the second (besides the result of the function!!)

Cheers

The Moose

the moose
11-17-2009, 12:47 PM
Ok this isn't possible as it conflicts with other scripts on the page :(