Is there a way to transmit a session variable into the sAjaxSource file?
Is there a way to transmit a session variable into the sAjaxSource file?
danielsen82
Posts: 2Questions: 0Answers: 0
Hi there,
Is there a way to transmit a session variable into the sAjaxSource file in order to maipulate the SQL query?
Another parameter like dataTable({ "language": "de" }) ... or somehow make it available and get the value of $_GET['lang'] inside the sAjaxSource file.
I looked up on forum but couldn't find an answer for my newbie level of jQuery knowledge. PHP is more likely to help.
Is there a way to transmit a session variable into the sAjaxSource file in order to maipulate the SQL query?
Another parameter like dataTable({ "language": "de" }) ... or somehow make it available and get the value of $_GET['lang'] inside the sAjaxSource file.
I looked up on forum but couldn't find an answer for my newbie level of jQuery knowledge. PHP is more likely to help.
This discussion has been closed.
Replies
[code]
"sAjaxSource": "whatever.php?id=123"
[/code]
and that will be available in your target script.
Allan