Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Browser Issue

Reply
Thread Tools

Browser Issue

 
 
Go Live
Guest
Posts: n/a
 
      12-28-2007
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;

}

------------------------------------------------------------------------------------------
Solution to this issue will be highly appreciated.
 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      12-28-2007
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.


> 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;
>
>}
>
> -----------------------------------------------------------------------
> ------------------- Solution to this issue will be highly appreciated.
>




--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Try this Latest Firefox browser at http://browser.friendsrus.net subs2me@gmail.com Firefox 9 12-28-2005 09:20 AM
Re: Browser plug-in to interact with browser DKM Java 15 06-12-2005 02:11 AM
Browser information not being sent to the Domain Master Browser Russell Stamper Cisco 1 10-12-2004 08:14 PM
Avant browser and MyIE2 browser becoming increasingly popular. Issues? xyZed HTML 9 05-12-2004 09:50 AM
Browser levels, PDAs and browser sniffing Lauchlan M ASP .Net 2 08-17-2003 04:58 PM



Advertisments