| Code: |
| How do you call a varible into text in javascript i can do it in php but java script wont work her's what i got
<html> <body> <script type="text/javascript"> name = "Jacob" rank = "white rabit" work = "Matrix" document.write ("Myname is name I am rank rank I am part of the work" ) </script> </body> </html> |
ok it just shows as
Myname is name i am rank i am part of the work
When i want it to show the varibles instead of just name, rank, work
so why wont it work(that s the entire code first java script)
