473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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.abebooks.com/servlet/SearchResults"
method="get"></form>
<tbody><tr bgcolor="#9fa5aa">
<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="#eeeeee" valign="middle"><font
face="Verdana, Helvetica, Arial" size="1"><b>Author:</b></font></td>
<td align="left" bgcolor="#eeeeee"><input name="an" size="12"
type="text"></td></tr>
<tr bgcolor="#eeeeee"><td align="right" valign="middle"><font
face="Verdana, Helvetica, Arial" size="1"><b>Title:</b></font></td>
<td align="left"><input name="tn" size="12" type="text"></td></tr>
<tr bgcolor="#eeeeee"><td align="right" valign="middle"><font
face="Verdana, Helvetica, Arial" size="1"><b>Keyword:</b></font></td>
<td align="left"><input name="sn" size="12" type="text"></td></tr>
<tr bgcolor="#eeeeee">
<td align="right" valign="middle"><b><font face="Verdana, Arial,
Helvetica, sans-serif" size="-2">ISBN:</font></b></td>
<td align="left"><input name="isbn" size="12" type="text"></td>
</tr>
<tr bgcolor="#eeeeee"><td colspan="2" align="center" valign="top"
width="100%">
<input name="imageField" src="getting-started.shtml_files/findBook.gif"
border="0" height="19" type="image" width="82"></td></tr>
<tr bgcolor="#eeeeee"><td colspan="2" align="center" valign="top"><font
face="Verdana, Helvetica, Arial" size="1">Search box not working?<br>
<a
href="http://www.abebooks.com/servlet/SearchEntry/?cm_ven=nl&amp;cm_cat=com-2005-11&amp;cm_pla=promo&amp;cm_ite=advse">Try
<b>Advanced
Search</b></a></font></td>
</tr>

Thanks in advance...

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

This line:
<form
action="http://dogbert.abebooks.com/servlet/SearchResults"method="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
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...
3
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...
3
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...
3
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...
1
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
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
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)...
1
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.