To make things simple, here is an example.
alert("<?php echo $post_id ?>");
<? } ?>
The reason is because im using a .load function and this stops the script from executing.
alert() is for debugging purposes only - you should replace it before your page goes live.
3.) Once again, the code I posted above is an EXAMPLE to make things simple. Would you rather have me post 100 lines of code?
Thank you for your response.
Now I have another simple problem. How can I put variables inside the jquery settings?
image = " "
How do I put a variable in those quotes. Obviously, I can't simply put the variable straight in there because it wouldn't read the data inside the quotes.
image = " "+variablename+" "
simply exit out of the quotes to specify the variable name and concatenate using +
This topic is now closed. New replies are no longer allowed.