onclick="alert(form.textarea.value)"Code:<input name="Save" type="submit" class="style11" id="Save" value="Save announcement" onclick="alert(form.textarea.value)" />
that just msgboxes with the announcement (textarea text) on the msgbox.
what im trying to do is make the msgbox appear with a yes/no option so the user can decide to save it or not..
if they want to save it (clicking yes button) i want to perform the function _save which is a php function like this
any ideas guys?PHP Code:<?
function _save(blah) { }
?>




Reply With Quote