i use a webview inside my application. i'm loading a php page. Is it possible to include some javascript inside the php code ?
i'm trying this ... but no alert message displayed on screen :
print ("
<script language='JavaScript'>
alert(\"This carriage return is placed\rin the middle of this line!\");
</script>
");
In fact i need to confirm if the user delete an item from my Mysql Database. So my code :
<a href='$gCheminFormulaireArticle?Pk_article=45&Action=Delete' onclick='return(confirm(\'Are you sure to delete this?\'));'>Delete it.</a>
Thanks.
i'm trying this ... but no alert message displayed on screen :
print ("
<script language='JavaScript'>
alert(\"This carriage return is placed\rin the middle of this line!\");
</script>
");
In fact i need to confirm if the user delete an item from my Mysql Database. So my code :
<a href='$gCheminFormulaireArticle?Pk_article=45&Action=Delete' onclick='return(confirm(\'Are you sure to delete this?\'));'>Delete it.</a>
Thanks.