Go Ma wrote:
> I am newbie to Ruby so pl pardon my ignorance.
> 
> I have an image in a web page which has the following code:
> 
> <img style = "cursor: hand",
> onclick="javascript:fnC20WebCtrlOpenCtrlChangeProjectWindow(this,event,3,0,'1022','');
> 
> Can someone please suggest how to click this image (basically, invoke
> the javascript) using Ruby?? Tried searching the net but hadn't had much
> luck.

If you want to control a browser programatically using Ruby, have a look 
at Watir: http://watir.com/

Another option is Selenium.
-- 
Posted via http://www.ruby-forum.com/.