Dear All:
I am using ruby for automation test scripts. Now I want to integrate
Ruby
code with HTML. How can I achieve this?
Thanks in advance.
–
Thanks and Regards,
Amit
Dear All:
I am using ruby for automation test scripts. Now I want to integrate
Ruby
code with HTML. How can I achieve this?
Thanks in advance.
–
Thanks and Regards,
Amit
What do you mean integrate ruby code with html?
just print the html markup if you want to output html.
like this ,
puts ‘
it will outputs as a string when you in terminal, except you work on
browser that renders the string to html automatically.
2011/7/6 Amit B. [email protected]
Hi,
I meant can I call the Ruby script from the HTML code just like
Javascript?
I want to call ruby script by clicking the button. Is it possible?
Thanks
On Wed, Jul 6, 2011 at 2:40 PM, coolesting [email protected] wrote:
–
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
–
Thanks and Regards,
Amit
On Wed, Jul 6, 2011 at 8:46 PM, Amit B. [email protected]
wrote:
Hi,
I meant can I call the Ruby script from the HTML code just like Javascript?
I want to call ruby script by clicking the button. Is it possible?
You can’t run a ruby script on the client side. You need to use ajax to
contact the
server and then run the script and then return a response to the client
side.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
–
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs