471,570 Members | 926 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

web browser control "form action"


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"
<tbody><tr bgcolor="#9fa5aa">
<td colspan="2" align="center" valign="top"><b><font color="#ffffff"
face="Verdana, Arial, Helvetica, sans-serif" size="-1">Search
<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"
<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 bgcolor="#eeeeee"><td colspan="2" align="center" valign="top"
<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>

Thanks in advance...

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

This line:

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


Dec 15 '05 #3
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.

Similar topics

3 posts views Thread by Zhidian Du | last post: by
5 posts views Thread by Werner Partner | last post: by
2 posts views Thread by mattgarvin | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by

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.