User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 392,094 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,867 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1116 | Replies: 2
Reply
Join Date: Oct 2007
Posts: 8
Reputation: Dennis_Phils is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Dennis_Phils Dennis_Phils is offline Offline
Newbie Poster

Solution javascript functions using oob of MOSS does not work on firefox

  #1  
Oct 26th, 2007
Hi all,

I'm having problem with the javascript functions.
I'm using OOB webpage that uses MOSS features for search.

It seems that when I click the search button, it doesn't work using firefox browser.

Here is the code from the XML page:

<td bgcolor="#666666" width="70px"><img src="../images/Search-buttonA.gif" onclick='gosearch()' id="searchImage" style="cursor:pointer"></td>

<script language="javascript">
function gosearch()
{
var scope = "&s=Discussions"
var resultsurl="../Pages/Discussions.aspx";
var Search = document.getElementById("txtSearch0").getAttribute("value");
var resultsurl = resultsurl + "?k=" + Search + scope;
window.navigate(resultsurl)
}
</script>

Can anyone help me on this?
Am I missing something???
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Posts: 9
Reputation: Xavier2k is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
Xavier2k's Avatar
Xavier2k Xavier2k is offline Offline
Newbie Poster

Re: javascript functions using oob of MOSS does not work on firefox

  #2  
Oct 26th, 2007
window.nagivate()
is IE specific. If you want it to work in both browsers then use
window.location.href = "pagename"
Hope it helps!
Last edited by Xavier2k : Oct 26th, 2007 at 6:28 am.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: javascript functions using oob of MOSS does not work on firefox

  #3  
Oct 28th, 2007
If OOB means Out Of the Box, and that is really supposed to be xml, you got rooked. I see deprecated code, which is part of html, but which is NOT part of either xhtml or xml:

bgcolor is deprecated.

width as a property is deprecated, but is allowed as a CSS style.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 12:45 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC