473,498 Members | 891 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running scripts based on user form input - help required.

Hi - a bit of a Javascript newbie here

Can anybody point me to a tutorial whereby I might be able to work out
this requirement.

1. User enters text in an input box on a html page.
2. They select via a radio button whether to search "My Site" or the
"Internet".
3. If they choose "My Site" it's action = an internal cgi script to
search my site.
4. If they choose "Internet" it displays results from google and
overture on the same page.

I've tried lots of different methods but can't seem to get anywhere

Any help would be appreciated
Nov 28 '05 #1
1 1044
VK

skinnybloke wrote:
Hi - a bit of a Javascript newbie here

Can anybody point me to a tutorial whereby I might be able to work out
this requirement.

1. User enters text in an input box on a html page.
2. They select via a radio button whether to search "My Site" or the
"Internet".
3. If they choose "My Site" it's action = an internal cgi script to
search my site.
4. If they choose "Internet" it displays results from google and
overture on the same page.

I've tried lots of different methods but can't seem to get anywhere

Any help would be appreciated


It is very easy:
1) go to <http://www.google.com/searchcode.html>
2) read and agree on "Terms of Service". In the particular you agree to
display Google credentials atop of search results. If you don't like
the terms - do not agree on them and do not use Google whatsoever.
Otherwise go to 3)
3) On the next page copy the 3rd variant (search Web / search my site).
4) Paste the code into frame/iframe on your page.
You are done!

Nov 28 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
9668
by: Marek Kotowski | last post by:
I am looking for a tool to execute PHP scripts entered in a HTML form. For example: user is given a problem to solve. He writes a PHP script, sends it to a server, where it is executed and...
7
4762
by: Alex Hunsley | last post by:
I'm making a web site that does login authentication. It all works fine, but I have a question about 'correctness'... Certain php scripts on the site should only run in the user has logged on....
1
2006
by: chris.levis | last post by:
All: I have written a Python webapp under MS IIS 5.0 that does the following: -Does a CVS checkout of a particular bit of xml -Gets a list of valid cvs tags for that xml file -Based on user...
1
1713
by: Daniel Goldman | last post by:
I have a C program that analyzes data. It makes tables, graphs, other output in response to user selections. It normally takes keyboard input into a curses-based user interface. However, it can...
7
7712
by: moondaddy | last post by:
I have a user control being used instead of a frame page. when the user clicks on a menu item I need to send the ID (integer value) of that menu as a parameter in the postback of the user control...
1
5398
by: Jorge Ponte | last post by:
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for...
3
1476
by: elyob | last post by:
Hi, can anyone recommend a free autoassist script for populating form boxes from my database whilst typing? The capxous went to paid software, and I'm looking for an alternative. I have googled but...
1
1424
by: rjdougan | last post by:
I am not a developer but need some help with scripts for a client. I have a script to handle form validation and one that handle mouseover on menu. The form validation script works fine by it...
0
1576
by: eddiefisher41 | last post by:
Hey guys. Im having problems running a python cgi. Im using the example code from: http://www.python.org/doc/essays/ppt/sd99east/sld041.htm as writen by Van Rossum himself I can get the script...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.