[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Browser handling in ruby

Karthi kn

3/1/2008 1:52:00 PM

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
--
Posted via http://www.ruby-....

1 Answer

7stud --

3/1/2008 2:31:00 PM

0

Karthi kn wrote:
> 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.
--
Posted via http://www.ruby-....