Developer forum

Forum » Templates » Search

Reply
Hi,

I have a search field which is rendered with:

<form action="Default.aspx" method="get" name="searchform" id="searchform" style="display:inline; margin:0px; padding:0px;">
<input type="hidden" name="ID" value="20" >
<input type="hidden" name="PID" value="19">
<input type="text" class="textbox" id="q" name="q" value="" />                       
<input type="submit" value="" name="sokBtn" id="searchButton">
</form>     


When I am on a page where the url is not rewritten it works but when I am on a page where the url has been rewritten it does not work. Like this one:

http://www.stallportalen.se/Hem-1.aspx


Is there any way to solve this?

Mvh / Aki


Replies

 
Nicolai Høeg Pedersen
Reply
On http://www.stallportalen.se/Hem-1.aspx doing a search gives me this:
http://www.stallportalen.se/Default.aspx?ID=20&PID=19&q=under&sokBtn=

And that works... Could you please clarify?
 
Reply
Tested with Firefox and indeed it does work. But not in IE.

/Aki

 
Nicolai Høeg Pedersen
Reply
Well - my IE 8 works...
 
Reply
Ghaa...   :)

In my IE I get an URL like this:

http://www.stallportalen.se/Hem-1.aspx?ID=20&PID=19&q=test&sokBtn=

It sets the ID of the page but it's still "Hem".


/Aki

 

You must be logged in to post in the forum