rexal Posted January 24, 2006 Share Posted January 24, 2006 how to view alert for new posted data??rexal Link to comment Share on other sites More sharing options...
bd1e0d0 Posted January 24, 2006 Share Posted January 24, 2006 If you mean JavaScript alert, try this: <html> <body onLoad="alert(document.getElementById("text").value);"> <input type="hidden" id="text" value="<?php echo($_POST['your_var_here']); ?>" /> </body></html> Link to comment Share on other sites More sharing options...
rexal Posted January 26, 2006 Author Share Posted January 26, 2006 If you mean JavaScript alert, try this:<html> <body onLoad="alert(document.getElementById("text").value);"> <input type="hidden" id="text" value="<?php echo($_POST['your_var_here']); ?>" /> </body></html> <{POST_SNAPBACK}> how to generate the code in my web page??just put that code in the body tag?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now