How to call javascript function in A site?

Hello, rubiers.

now, I wanna call some functions in A site that was already
implemented by another company. ( I don't know internal... just
nothing..)

anyway, there are several javascript functions in there what I want
call frequently in my ruby scripts.

HOW DO I Connect it and calling it?

Could you give me some examples?

for example)

<head>
hello, this is template!!
</head>
<body>
<a href='javascript:func_a(arg1, arg2, arg3)'>click</a>
</body>

func_a().... that is my goal to call in my scripts.

thanks you.
</body>

Hello, rubiers.

But this seems a RubyOnRails question, so please ask in RoR maillist/forum.

<head>
hello, this is template!!
</head>
<body>
<a href='javascript:func_a(arg1, arg2, arg3)'>click</a>
</body>

func_a().... that is my goal to call in my scripts.

Copy/get the Javascript functions into your site (if the license allows it).

···

El Sábado, 6 de Febrero de 2010, Jun Young escribió:

--
Iñaki Baz Castillo <ibc@aliax.net>

Iñaki Baz Castillo wrote:

El S�bado, 6 de Febrero de 2010, Jun Young
escribi�:> Hello, rubiers.

But this seems a RubyOnRails question, so please ask in RoR
maillist/forum.

No, actually, it seems like a JavaScript question, not a Ruby question
at all.

<head>
hello, this is template!!
</head>
<body>
<a href='javascript:func_a(arg1, arg2, arg3)'>click</a>
</body>

func_a().... that is my goal to call in my scripts.

Copy/get the Javascript functions into your site (if the license allows
it).

Best,

···

--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/\.