Hi every1,

  i m quite new to jQuery and i not sure how to solve this simple
problem...though it is quite simple ...plz bear with my long mail....

well the working code looks like this:

function letsJQuery() {
     $.post("http://xxx.xxx.com/test.php";, { title: "Jonny" } );
  }

This code sends my data i.e. Jonny and stores into the table column
called title...with the help of my php script.

but thats what i am not interest to save:)

i want something like this........
----------------------------------------------------------------------------------------------
var page_title = document.title;// page title saved in a userscript
variable...

function letsJQuery() {
      $.pagetitle;  //jquery variable
      pagetitle = page_title; //passing the userscript variable value
to jQuery variale
      $.post("http://xxx.xxx.com/test.php";, { title: pagetitle } ); //
here is the problem ..nothing is send ...it should be page title
  }
-------------------------------------------------------------------------------
i am running this code in a userscript so that i can collect any page
title. so i collect the page title in a variable called page_title
directly from web browser ....now i want to send this value to my php
script which in tern saves it into my table column......though i am
able to pass the page_title to a jQuery variable (in this case
pagetitle)...
When i post it to php ...nothing really is posted ...


it will be really great if somebody can help me to say how to send a
variables value to a sever ....or a php file....

Reply via email to