i have this script on JsFiddle .
when i click on the links i get another view.
What i am trying to do is replace
<a id="mine_click" href="#">test</a>
with:
$test = 'here we go'
<a id="mine_click" href="?var=$test">test</a>
and pass the $test var to the tab3view when i click on the test link,
so that the result will be 2222 here we go
any ideas on how to pass a php var through a link going through jquery?
thanks
I’m not sure that it is exactly what you need.
You have a php variable from the server side. In your javascript code you can do
and then you can use
fooas a javascript variable