jaynesh — 2013-03-22T15:15:45-04:00 — #1
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.
felgall — 2013-03-22T16:59:06-04:00 — #2
alert() is for debugging purposes only - you should replace it before your page goes live.
jaynesh — 2013-03-22T17:17:00-04:00 — #3
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?
felgall — 2013-03-22T17:50:52-04:00 — #4
jaynesh — 2013-03-22T19:10:09-04:00 — #5
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.
felgall — 2013-03-22T20:20:43-04:00 — #6
image = " "+variablename+" "
simply exit out of the quotes to specify the variable name and concatenate using +