Javascript Problem

G

Go Live

Hi,

I have one problem in javascript embedded in ASP.
I have one search text box and one image file button. So that when
user enter some text in the text box and click button it displays the
result in other page. i have coded javascript in "On Click " event in
the button.


Now the search result is displayed only when i click the button
through the mouse. But when i enter text in the textbox and press
enter it shows the content of parent webpage in child page.


Do i need to do anything in the form tag so that it works in both
ways.


Thank you very much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top