Hello...

when i use below code to open a google page it works.

<INPUT type="button" value="New Window!"
onClick="window.open('http://www.google.com','mywindow','width=400,height=200')">

But i have html file in my application folder.to open that file i tried
this Code.

<INPUT type="button" value="New Window!"
onClick="window.open('http://192.168.0.82:3000/ACMServer_exe/ChatHistory/2009-01-11/parthi...@angleritech.com~vs~joy@angleritech.com/jayabhara...@angleritech.com~vs~kannan@angleritech.com.html','mywindow','width=400,height=200')">

When i click this, new window opens but i get routing Error like
No route matches
"/ACMServer_exe/ChatHistory/2009-01-11/parthi...@angleritech.com~vs~joy@angleritech.com/jayabhara...@angleritech.com~vs~kannan@angleritech.com.html"
with {:method=get}

Pls Help me .i m troubling with this for the past two days .
nothing works .pls help.how can i open local html file
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to