Forum Moderators: open

Message Too Old, No Replies

Search Functionality not working in Netscape 4.7

         

csachin

2:27 pm on May 15, 2003 (gmt 0)

10+ Year Member



I wrote two ASP pages to pull out the values from MS SQL 2000 database. They work fine in Nestcape 7.0 but not in Netscape 4.7. Is there any way to fix this for older versions?

BlobFisk

2:34 pm on May 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, csachin!

This sounds suspiciously like a front end code error, rather than a back end code error. What do you see/not see with Netscape 4?

csachin

2:43 pm on May 15, 2003 (gmt 0)

10+ Year Member



I do not have a Nestcape 4, but in 4.7 when you hit the submit button it takes you to the index page.

BlobFisk

3:34 pm on May 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My apologies, I meant v4.7.

What tags are you using in the Submit button?

csachin

5:13 pm on May 15, 2003 (gmt 0)

10+ Year Member



I have used

<form action="<%= strURL %>" name="sitesearch" method="get" onSubmit="return CheckForm();">

BlobFisk

5:23 pm on May 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



strURL is being pulled from the database, right? Presumably this is just of the format somePage.asp? Have you viewed the source from the 2 browsers to see that the action="<%= strURL %>" is the same?

csachin

5:52 pm on May 15, 2003 (gmt 0)

10+ Year Member



I was able to fix the problem. I replaced the action attribute with file name in place of the ASP tag.
The attribute action="<%= strURL %>" is not being pulled from database, it is the URL of the search page so the form will work no matter what the file is named.

Thanks