Hello all ,
I have two forms. one in which i will fill value & after submitting
this $_Post['value'] , this value will go in to the next page.
But i need this value on next page in my javascript code also .
when i use this value in javascript by storing it in a variable "abc"
like :-
then it shows in alert the script "<?php echo $_POST['adult']; ?>";Code:var abc="<?php echo $_POST['adult']; ?>"; alert(abc);
rather than the value of php variable stored .
please suggest me some solution regarding these so that the JS alert shows
the value of php variable stored , rather than the php script used .
Thanks & Regards.
Bookmarks