In my case i want..
To make a box where user enter the data and Clicks the search button..

my code(script) takes that exact query(for e.g. user enters 10 in search-box) and replace that (10) in a my given fix URL in code (for e.g. www.xyz.com/q?=10&xyz) that 10 is just the place where data should to be replaced...

And the image/video/data must displayed below...
It's my First Attempt on Yahoo Answers....
Hope it explains well

THANKS FOR ANY RESPONSE IN ADVANCE