Browser handling in ruby

K

Karthi kn

Hi,

Is there anyway in ruby to handle the browser window(like in
javascript)? Or is there any way to implement the javascript in ruby?

Thanks in advance.


Karthik
 
7

7stud --

Karthi said:
Hi,

Is there anyway in ruby to handle the browser window(like in
javascript)?

js executes in a browser. ruby executes on a server that is hundreds of
miles away from the browser. When ruby finishes executing, the server
sends a page containing html and js to the browser. The browser then
executes the javascript and displays the html. Browsers only
understand html and js; they don't know what ruby is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,285
Messages
2,571,416
Members
48,108
Latest member
AmeliaAmad

Latest Threads

Top