Browser Issue

G

Go Live

HI I am not being able to figure out why my code runs in IE and not in
firefox.

the code goes like this:

***********ASP****************
Response.Write "<form name=""form1"" method=""get""
target=""_blank"">"
Response.Write " <tr>"
Response.Write " <td >"
Response.Write " <table width=""100%"" border=""0""
cellpadding=""0"" cellspacing=""0"">"
Response.Write " <tr>"
Response.Write " <td valign=""top"" width=""200"">"
Response.Write " <input type=""text"" id=""text"" name=""text""
value=""text"">"
Response.Write " </td>"
Response.Write " <td>"
<input type=""image"" id=""search"" onclick=""
Get_Search_keyword();"">"
Response.Write " </td>"
Response.Write " </td>"
Response.Write " </tr>"
Response.Write " </table>"
Response.Write " </td>"
Response.Write " </tr>"
Response.Write " </form>"

********************************Java script Code ****************
function Get_Search_keyword()

{

var TEXT1 = document.getElementById('text').value;
var TEXT2 = http://testsite.com/searchwords/
var comb =TEXT2 + TEXT1;
document.form1.action = comb;

}
 
E

Evertjan.

Go Live wrote on 28 dec 2007 in microsoft.public.inetserver.asp.general:
HI I am not being able to figure out why my code runs in IE and not in
firefox.

That is not an ASP issue,
see the view-source and test clientside.

Please ask in a clientside NG.
 

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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top