How can i call a javascript function from a php file? -


this question has answer here:

in php-code have got variable $password, want edit in javascript function located in .js file. means passing $password parameter function , saving return value variable.

how can this?

i know can try add php code:

echo '<script type="text/javascript"> drawchart(); </script>'; 

and access script, should try ajax.

hope works you


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -