happyclicking
Technical User
I am wondering if this is even possible:
When someone clicks on a link that looks like this:
I am trying to use javascript to grab the value for "a" (which in this case is 123), and then request information from a PHP page on another site that corresponds to the value of "123" for the variable "a".
The reason I am trying to do this is as follows:
I have a data driven website programmed in php. I have a PHP page that display specific text that corresponds to whatever the value of "a" is from a database.
I am trying to use javascript to get the text from the PHP page and display it. Am I talking smack? Is this even possible using javascript?
Thanks in advance for your responses!
When someone clicks on a link that looks like this:
I am trying to use javascript to grab the value for "a" (which in this case is 123), and then request information from a PHP page on another site that corresponds to the value of "123" for the variable "a".
The reason I am trying to do this is as follows:
I have a data driven website programmed in php. I have a PHP page that display specific text that corresponds to whatever the value of "a" is from a database.
I am trying to use javascript to get the text from the PHP page and display it. Am I talking smack? Is this even possible using javascript?
Thanks in advance for your responses!