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/[email protected][email protected]/[email protected][email protected]','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/[email protected][email protected]/[email protected][email protected]"
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 [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
-~----------~----~----~----~------~----~------~--~---