• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Updating Google Page search text box

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

The requirement i have currently goes something like this..
I need to have multiple HTMLs in frames..
one of the frame contains a simple HTML page having a text box
another frame contains google page.
the requirement now is whatever i type in the simple HTMLtext box should appear in google pages text box...
when i try doing it using document.getElement... it says "Access Denied".. which is good enough from googles security perspective...

instead of having the google page if i incorpoarte only google search box in another simple HTML page i can update the textbox and perform the search also by submitting the page with action as google.com...but that is not whats required...

Is there any solution to this?
can we update the textbox of google home page from our HTML page???
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. Imagine the security implications if you could do this.
 
lubna kausar
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot for the reply...
I understand the complecations but not able to explain it to the person who has put this requirement...
they just want it to happen...
currently i have worked on the request that we sent..
m sending the request i.e. reloading the google page frame on each keypress for the text box which results in the search being performed on each key press...
but!!!
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Explain to the person there is a thing call Same Domain Policy which prevents hackers from playing with there bank accounts.

Use the Google Search API, do not use their web page.

Eric
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic