473,544 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web browser control "form action"

Hi,

In my application, I have a web browser control and load up a local
html page. Within the html page, the following code exists. However,
when I click on the button that invokes the 'form action', nothing
happens. I'd like the event to spawn a new browser window. Is there
an event I should be catching?

<!-- search box -->

<form action="http://dogbert.abebook s.com/servlet/SearchResults"
method="get"></form>
<tbody><tr bgcolor="#9fa5a a">
<td colspan="2" align="center" valign="top"><b ><font color="#ffffff"
face="Verdana, Arial, Helvetica, sans-serif" size="-1">Search
Abebooks</font></b></td>
</tr>
<tr><td align="right" bgcolor="#eeeee e" valign="middle" ><font
face="Verdana, Helvetica, Arial" size="1"><b>Aut hor:</b></font></td>
<td align="left" bgcolor="#eeeee e"><input name="an" size="12"
type="text"></td></tr>
<tr bgcolor="#eeeee e"><td align="right" valign="middle" ><font
face="Verdana, Helvetica, Arial" size="1"><b>Tit le:</b></font></td>
<td align="left"><i nput name="tn" size="12" type="text"></td></tr>
<tr bgcolor="#eeeee e"><td align="right" valign="middle" ><font
face="Verdana, Helvetica, Arial" size="1"><b>Key word:</b></font></td>
<td align="left"><i nput name="sn" size="12" type="text"></td></tr>
<tr bgcolor="#eeeee e">
<td align="right" valign="middle" ><b><font face="Verdana, Arial,
Helvetica, sans-serif" size="-2">ISBN:</font></b></td>
<td align="left"><i nput name="isbn" size="12" type="text"></td>
</tr>
<tr bgcolor="#eeeee e"><td colspan="2" align="center" valign="top"
width="100%">
<input name="imageFiel d" src="getting-started.shtml_f iles/findBook.gif"
border="0" height="19" type="image" width="82"></td></tr>
<tr bgcolor="#eeeee e"><td colspan="2" align="center" valign="top"><f ont
face="Verdana, Helvetica, Arial" size="1">Search box not working?<br>
<a
href="http://www.abebooks.co m/servlet/SearchEntry/?cm_ven=nl&amp; cm_cat=com-2005-11&amp;cm_pla=p romo&amp;cm_ite =advse">Try
<b>Advanced
Search</b></a></font></td>
</tr>

Thanks in advance...

Dec 15 '05 #1
3 3052
No one else has answered yet so I will give it a go, despite not having
2005 yet.

This line:
<form
action="http://dogbert.abebook s.com/servlet/SearchResults"m ethod="get">

There's no space between the ACTION and the METHOD.

Normally I'd throw in some javascript to show a new window, but not
sure how that's gonna affect your web browser control/app.

This probably didn't help, but you didn't get any other answers yet so
I thought I'd try.

Steven Nagy

Dec 15 '05 #2
Thanks for the response =)

I was able to get it work a little while ago ... what was interesting
is the first time I saved this page locally (save complete webpage), I
used FireFox to do so (then loaded the file up in the web browser in my
application). Then, I tried saving the page through IE and that seems
to have fixed the problem! Any idea why this might yield different
results?

Thanks

Dec 15 '05 #3
MS doesn't play well with others?
No idea sorry!

Dec 15 '05 #4

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

Similar topics

2
11427
by: Sylvie Stone | last post by:
Hi group - I have an html form for that uses username and password to login to a specific area of the website. The "area" the user wants to go to is based on a pull down menu. Becasue the user/password info is in differnet databases, how can I call different validation scripts based on this input ? THANK YOU! See below please....
3
4218
by: Hodad | last post by:
I would like to adapt, as much as possible, the appearance and color red of the font in this button: <P><CENTER><BUTTON VALUE="SUBMIT"><A HREF="http://www.familytreedna.com/surname_join.asp?code=Q17978" STYLE="TEXT-DECORATION: NONE;"> <FONT COLOR="RED" FACE="COPPERPLATE GOTHIC BOLD">Right Here</FONT></A></BUTTON></CENTER></P>
3
4350
by: Zhidian Du | last post by:
I am using java to write to url, http://fatigo.bioinfo.cnio.es/ , but I found the form is : <form method="post" action="/" enctype="multipart/form-data" name="fatigo"> I have no idea why the action is not a URL, can you explain it why. Thanks.
3
2683
by: Pavils Jurjans | last post by:
Hello, I have bumped upon this problem: I do some client-side form processing with JavaScript, and for this I loop over all the forms in the document. In order to identify them, I read their "name" property (which sources from "name" HTML attribue). The problem is, that if the form contains form control named "name", it overwrites the form...
1
1972
by: tnhoe | last post by:
Hi, <Form method='post' action="next.htm?btn="+"this.myform.myobj.value"> What is the correct syntax for above ? Regards Hoe
5
2279
by: Werner Partner | last post by:
On my testpage http://www.sonoptikon.de/test.php I have this <table><tr> <td valign="top" align="center" style="width:150px;"> <form action=test.php method="get">
0
2549
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below) now renders "Page not Found" when launched on the new Windows 2003 server (ws-server1). The form is designed to use the write.asp program to write...
1
5205
by: kbarrios | last post by:
Hi, I am working with VBScript and I put a "window.open" inside a "form action post" due that I am handing a "checkbox" on it, but the "window.open" doesn't work: <FORM ACTION="baz_add_action.asp" METHOD="post"> ...here go the Window.open script <INPUT NAME="add<%=p_prod_id%>" TYPE="checkbox" value="ON">
2
11740
by: mattgarvin | last post by:
Hello, I need a piece of javascript that will allow a form to be submitted when Enter is pressed for IE6 and 7, Firefox 2, and recent versions of Safari. It is for a login page that has two textboxes: a "Login" and a "Password". The "Login Button" is actually a standard image with an onClick event handler to submit the form, because we use...
0
7434
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7716
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5925
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5305
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4925
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3420
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1848
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 we have to send another system
1
993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
676
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.