By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,866 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,866 IT Pros & Developers. It's quick & easy.

web browser control "form action"

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
MS doesn't play well with others?
No idea sorry!

Dec 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.