Hello, if anyone can help me? i'm trying to send string parameters to javascript funcion from php but only worked with numeric values
with this code the funcion sends my string like a variable name, someone know how to work this out?
Regards,
Patty
Code:
<script type="text/javascript">
function del_carrier(idcarrier) {
aler("deleted "+idcarrier);
}
</script>
<? echo "<a href=# onClick='del_carrier('$scaccode');'>Delete"; ?>
with this code the funcion sends my string like a variable name, someone know how to work this out?
Regards,
Patty