How can I send a data from Unity player to Javascript in the browser?

How can I send data from Unity Player to javascript in the browser, i mean, I need to send a string or integer, from unity , and then I show that data in the browser with javascript, or some data from method in a GameObject

Go to google. Enter “unity send string to webpage” into search box, click on first link returned and voila you get: http://unity3d.com/support/documentation/Manual/Unity%20Web%20Player%20and%20browser%20communication.html. Which I think will solve your problem. :wink: