H
Hoss
Hi guys,
The framework of my page is an aspx page with a header and a footer.
The header is a menu system and depending on what you select there
different ascx pages are loaded into the middle part. So the entire
page is encased in <form> tags. For this reason I cannot create <form>
tags on a given ascx page. It screws things up. So, on one of my
controls, I have the following
-- set of 6 <input type=text id="myId">
-- <input type=button value="Search" onclick="SearchDocuments()">
Wehn you click the button it fires the script and does its thing. I
also want that if you hit enter
while you are in one of the text fields, it will fire the same script.
Remember you cant encase
the 7 elements into a <form>
Thanks-
The framework of my page is an aspx page with a header and a footer.
The header is a menu system and depending on what you select there
different ascx pages are loaded into the middle part. So the entire
page is encased in <form> tags. For this reason I cannot create <form>
tags on a given ascx page. It screws things up. So, on one of my
controls, I have the following
-- set of 6 <input type=text id="myId">
-- <input type=button value="Search" onclick="SearchDocuments()">
Wehn you click the button it fires the script and does its thing. I
also want that if you hit enter
while you are in one of the text fields, it will fire the same script.
Remember you cant encase
the 7 elements into a <form>
Thanks-