On your page, create a code placeholder object. This may be a rectangle of any size and color. Just make sure it is placed within the page boundaries. Don't worry about it's outlook, you will not see it on the exported page. With this object selected, go to the Placeholder tab of the Web properties dialog and insert following code in the body code field:
Code:
<form Method="POST" id="my_form1" Action="http://data.jewishgen.org/wconnect/wc.dll?jg~jgsys~allcountry2">
<input type="hidden" name="allcountry" value="ALLLITHJG">
<input type="hidden" name="srch1" value="Anyksciai">
<input type="hidden" name="srch1v" value="T">
<input type="hidden" name="srch1t" value="E">
<input type="submit" value="Search the JewishGen Lithuania Database for Anyksciai">
</form>
Do not do this to your button as you did before. Now, that you have your placeholder set and exporting this code, you can add a link to any button or menu item that will execute this code. To do so, place following in the url field on the Link tab of the Web properties dialog, for your button object:
Code:
javascript:document.getElementById("my_form1").submit();
Bookmarks