Not too sure if we post to the right forum as our code this time involve PHP as well.
?
Could anyone help???
What we are going to do is we have a text box, once the user change the stuf in the text box, after the submit button is clicked, a prompt will appear to ask if the user want to save changes or not.
We already did the coding which when the user type something in or delete something from the text box making the text box value different from it’s default value, a warning message will appear on the title. Then when the user click submit, the whole page will refresh with the edited message in the text box. We did the refresh stuf using PHP.
Now we want to add a prompt to ask if the user want to save changes when the text box is edited. We don’t know how can we pass the valuables from the PHP to the javascript. Or is there another way to do it???
Hope the description doesn’t confused you !!!
:p Bo&Vic